From 72cc79531a260f50b152c6613ab9d61f8fc43b8e Mon Sep 17 00:00:00 2001 From: nleiva Date: Thu, 28 Apr 2022 03:01:16 -0400 Subject: [PATCH] first working version --- .github/CODEOWNERS | 1 + .github/CODE_OF_CONDUCT.md | 5 + .github/ISSUE_TEMPLATE.md | 43 + .github/dependabot.yml | 17 + .github/workflows/add-content-to-project.yml | 40 + .github/workflows/release.yml | 49 + .github/workflows/test.yml | 104 + .gitignore | 35 + .goreleaser.yml | 60 + .vscode/launch.json | 33 + CHANGELOG.md | 3 + GNUmakefile | 46 + LICENSE | 373 + README.md | 69 + client/go.mod | 7 + client/go.sum | 154 + client/nautobot.go | 204956 +++++++++++++++ client/swagger.yaml | 96011 +++++++ client/types.go | 51447 ++++ docs/data-sources/manufacturers.md | 44 + docs/index.md | 28 + docs/resources/manufacturer.md | 39 + examples/README.md | 9 + .../nautobot_data_source/data-source.tf | 1 + examples/provider/provider.tf | 4 + .../resources/nautobot_resource/resource.tf | 4 + go.mod | 74 + go.sum | 487 + .../provider/data_source_manufacturers.go | 129 + .../data_source_manufacturers_test.go | 49 + internal/provider/patch.go | 86 + internal/provider/provider.go | 100 + internal/provider/provider_test.go | 28 + internal/provider/resource_manufacturer.go | 258 + .../provider/resource_manufacturer_test.go | 32 + main.go | 45 + terraform-registry-manifest.json | 6 + tools/tools.go | 8 + 38 files changed, 354884 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/CODE_OF_CONDUCT.md create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/add-content-to-project.yml create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/test.yml create mode 100644 .gitignore create mode 100644 .goreleaser.yml create mode 100644 .vscode/launch.json create mode 100644 CHANGELOG.md create mode 100644 GNUmakefile create mode 100644 LICENSE create mode 100644 README.md create mode 100644 client/go.mod create mode 100644 client/go.sum create mode 100644 client/nautobot.go create mode 100644 client/swagger.yaml create mode 100644 client/types.go create mode 100644 docs/data-sources/manufacturers.md create mode 100644 docs/index.md create mode 100644 docs/resources/manufacturer.md create mode 100644 examples/README.md create mode 100644 examples/data-sources/nautobot_data_source/data-source.tf create mode 100644 examples/provider/provider.tf create mode 100644 examples/resources/nautobot_resource/resource.tf create mode 100644 go.mod create mode 100644 go.sum create mode 100644 internal/provider/data_source_manufacturers.go create mode 100644 internal/provider/data_source_manufacturers_test.go create mode 100644 internal/provider/patch.go create mode 100644 internal/provider/provider.go create mode 100644 internal/provider/provider_test.go create mode 100644 internal/provider/resource_manufacturer.go create mode 100644 internal/provider/resource_manufacturer_test.go create mode 100644 main.go create mode 100644 terraform-registry-manifest.json create mode 100644 tools/tools.go diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..922ee27 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @hashicorp/terraform-devex diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..0c8b092 --- /dev/null +++ b/.github/CODE_OF_CONDUCT.md @@ -0,0 +1,5 @@ +# Code of Conduct + +HashiCorp Community Guidelines apply to you when interacting with the community here on GitHub and contributing code. + +Please read the full text at https://www.hashicorp.com/community-guidelines diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..8066d39 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,43 @@ +Hi there, + +Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html. + +### Terraform Version +Run `terraform -v` to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed. + +### Affected Resource(s) +Please list the resources as a list, for example: +- opc_instance +- opc_storage_volume + +If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this. + +### Terraform Configuration Files +```hcl +# Copy-paste your Terraform configurations here - for large Terraform configs, +# please use a service like Dropbox and share a link to the ZIP file. For +# security, you can also encrypt the files using our GPG public key. +``` + +### Debug Output +Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist. + +### Panic Output +If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the `crash.log`. + +### Expected Behavior +What should have happened? + +### Actual Behavior +What actually happened? + +### Steps to Reproduce +Please list the steps required to reproduce the issue, for example: +1. `terraform apply` + +### Important Factoids +Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs? + +### References +Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example: +- GH-1234 diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..203cd3d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,17 @@ +# See GitHub's docs for more information on this file: +# https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates +version: 2 +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every weekday + interval: "daily" + + # Maintain dependencies for Go modules + - package-ecosystem: "gomod" + directory: "/" + schedule: + # Check for updates to Go modules every weekday + interval: "daily" diff --git a/.github/workflows/add-content-to-project.yml b/.github/workflows/add-content-to-project.yml new file mode 100644 index 0000000..f7e7513 --- /dev/null +++ b/.github/workflows/add-content-to-project.yml @@ -0,0 +1,40 @@ +# Based on https://github.com/leonsteinhaeuser/project-beta-automations + +name: "Add Issues/PRs to TF Provider DevEx team board" + +on: + issues: + types: [opened, reopened] + pull_request_target: + # NOTE: The way content is added to project board is equivalent to an "upsert". + # Calling it multiple times will be idempotent. + # + # See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ + # to see the reasoning behind using `pull_request_target` instead of `pull_request` + types: [opened, reopened, ready_for_review] + +jobs: + add-content-to-project: + name: "Add Content to project" + runs-on: ubuntu-latest + steps: + - name: "Set Issue to 'Priority = Triage Next'" + uses: leonsteinhaeuser/project-beta-automations@v1.2.1 + if: github.event_name == 'issues' + with: + gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }} + organization: "hashicorp" + project_id: 99 #< https://github.com/orgs/hashicorp/projects/99 + resource_node_id: ${{ github.event.issue.node_id }} + operation_mode: custom_field + custom_field_values: '[{\"name\":\"Priority\",\"type\":\"single_select\",\"value\":\"Triage Next\"}]' + - name: "Set Pull Request to 'Priority = Triage Next'" + uses: leonsteinhaeuser/project-beta-automations@v1.2.1 + if: github.event_name == 'pull_request' + with: + gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }} + organization: "hashicorp" + project_id: 99 #< https://github.com/orgs/hashicorp/projects/99 + resource_node_id: ${{ github.event.pull_request.node_id }} + operation_mode: custom_field + custom_field_values: '[{\"name\":\"Priority\",\"type\":\"single_select\",\"value\":\"Triage Next\"}]' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..6f2152b --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,49 @@ +# This GitHub action can publish assets for release when a tag is created. +# Currently its setup to run on any tag that matches the pattern "v*" (ie. v0.1.0). +# +# This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your +# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE` +# secret. If you would rather own your own GPG handling, please fork this action +# or use an alternative one for key handling. +# +# You will need to pass the `--batch` flag to `gpg` in your signing step +# in `goreleaser` to indicate this is being used in a non-interactive mode. +# +name: release +on: + push: + tags: + - 'v*' +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + - + name: Unshallow + run: git fetch --prune --unshallow + - + name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.17 + - + name: Import GPG key + id: import_gpg + uses: hashicorp/ghaction-import-gpg@v2.1.0 + env: + # These secrets will need to be configured for the repository: + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + PASSPHRASE: ${{ secrets.PASSPHRASE }} + - + name: Run GoReleaser + uses: goreleaser/goreleaser-action@v2.9.1 + with: + version: latest + args: release --rm-dist + env: + GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} + # GitHub sets this automatically + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..8357e47 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,104 @@ +# This GitHub action runs your tests for each commit push and/or PR. Optionally +# you can turn it on using a cron schedule for regular testing. +# +name: Tests +on: + pull_request: + paths-ignore: + - 'README.md' + push: + paths-ignore: + - 'README.md' + # For systems with an upstream API that could drift unexpectedly (like most SaaS systems, etc.), + # we recommend testing at a regular interval not necessarily tied to code changes. This will + # ensure you are alerted to something breaking due to an API change, even if the code did not + # change. + # schedule: + # - cron: '0 13 * * *' +jobs: + # ensure the code builds... + build: + name: Build + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '1.16' + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v3 + + - name: Get dependencies + run: | + go mod download + + - name: Build + run: | + go build -v . + + generate: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v3 + with: + go-version: '1.16' + - uses: actions/checkout@v3 + - run: go generate ./... + - name: git diff + run: | + git diff --compact-summary --exit-code || \ + (echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1) + + # run acceptance tests in a matrix with Terraform core versions + test: + name: Matrix Test + needs: build + runs-on: ubuntu-latest + timeout-minutes: 15 + strategy: + fail-fast: false + matrix: + # list whatever Terraform versions here you would like to support + terraform: + - '0.12.*' + - '0.13.*' + - '0.14.*' + - '0.15.*' + - '1.0.*' + - '1.1.*' + steps: + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '1.17' + id: go + + - uses: hashicorp/setup-terraform@v2 + with: + terraform_version: ${{ matrix.terraform }} + terraform_wrapper: false + + - name: Check out code into the Go module directory + uses: actions/checkout@v3 + + - name: Get dependencies + run: | + go mod download + + - name: TF acceptance tests + timeout-minutes: 10 + env: + TF_ACC: "1" + + # Set whatever additional acceptance test env vars here. You can + # optionally use data from your repository secrets using the + # following syntax: + # SOME_VAR: ${{ secrets.SOME_VAR }} + + run: | + go test -v -cover ./internal/provider/ \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fd3ad8e --- /dev/null +++ b/.gitignore @@ -0,0 +1,35 @@ +*.dll +*.exe +.DS_Store +example.tf +terraform.tfplan +terraform.tfstate +bin/ +dist/ +modules-dev/ +/pkg/ +website/.vagrant +website/.bundle +website/build +website/node_modules +.vagrant/ +*.backup +./*.tfstate +.terraform/ +*.log +*.bak +*~ +.*.swp +.idea +*.iml +*.test +*.iml + +website/vendor + +# Test exclusions +!command/test-fixtures/**/*.tfstate +!command/test-fixtures/**/.terraform/ + +# Keep windows files with windows line endings +*.winfile eol=crlf diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..9bb0aa7 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,60 @@ +# Visit https://goreleaser.com for documentation on how to customize this +# behavior. +before: + hooks: + # this is just an example and not a requirement for provider building/publishing + - go mod tidy +builds: +- env: + # goreleaser does not work with CGO, it could also complicate + # usage by users in CI/CD systems like Terraform Cloud where + # they are unable to install libraries. + - CGO_ENABLED=0 + mod_timestamp: '{{ .CommitTimestamp }}' + flags: + - -trimpath + ldflags: + - '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}' + goos: + - freebsd + - windows + - linux + - darwin + goarch: + - amd64 + - '386' + - arm + - arm64 + ignore: + - goos: darwin + goarch: '386' + binary: '{{ .ProjectName }}_v{{ .Version }}' +archives: +- format: zip + name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}' +checksum: + extra_files: + - glob: 'terraform-registry-manifest.json' + name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json' + name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS' + algorithm: sha256 +signs: + - artifacts: checksum + args: + # if you are using this in a GitHub action or some other automated pipeline, you + # need to pass the batch flag to indicate its not interactive. + - "--batch" + - "--local-user" + - "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key + - "--output" + - "${signature}" + - "--detach-sign" + - "${artifact}" +release: + extra_files: + - glob: 'terraform-registry-manifest.json' + name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json' + # If you want to manually examine the release before its live, uncomment this line: + # draft: true +changelog: + skip: true diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..da54ddb --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,33 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Acceptance Tests", + "type": "go", + "request": "launch", + "mode": "test", + // this assumes your workspace is the root of the repo + "program": "${fileDirname}", + "env": { + "TF_ACC": "1", + }, + "args": [], + }, + { + "name": "Debug - Attach External CLI", + "type": "go", + "request": "launch", + "mode": "debug", + // this assumes your workspace is the root of the repo + "program": "${workspaceFolder}", + "env": {}, + "args": [ + // pass the debug flag for reattaching + "-debug", + ], + } + ] +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..52db219 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.0 (Unreleased) + +BACKWARDS INCOMPATIBILITIES / NOTES: diff --git a/GNUmakefile b/GNUmakefile new file mode 100644 index 0000000..57b627b --- /dev/null +++ b/GNUmakefile @@ -0,0 +1,46 @@ +TEST?=$$(go list ./... | grep -v 'vendor') +HOSTNAME=github.com +NAMESPACE=nleiva +NAME=nautobot +BINARY=terraform-provider-${NAME} +VERSION=0.1.0 +OS_ARCH=$(shell go env GOOS)_$(shell go env GOARCH) + + +default: install + +build: + go build -o ${BINARY} + +release: + GOOS=darwin GOARCH=amd64 go build -o ./bin/${BINARY}_${VERSION}_darwin_amd64 + GOOS=freebsd GOARCH=386 go build -o ./bin/${BINARY}_${VERSION}_freebsd_386 + GOOS=freebsd GOARCH=amd64 go build -o ./bin/${BINARY}_${VERSION}_freebsd_amd64 + GOOS=freebsd GOARCH=arm go build -o ./bin/${BINARY}_${VERSION}_freebsd_arm + GOOS=linux GOARCH=386 go build -o ./bin/${BINARY}_${VERSION}_linux_386 + GOOS=linux GOARCH=amd64 go build -o ./bin/${BINARY}_${VERSION}_linux_amd64 + GOOS=linux GOARCH=arm go build -o ./bin/${BINARY}_${VERSION}_linux_arm + GOOS=openbsd GOARCH=386 go build -o ./bin/${BINARY}_${VERSION}_openbsd_386 + GOOS=openbsd GOARCH=amd64 go build -o ./bin/${BINARY}_${VERSION}_openbsd_amd64 + GOOS=solaris GOARCH=amd64 go build -o ./bin/${BINARY}_${VERSION}_solaris_amd64 + GOOS=windows GOARCH=386 go build -o ./bin/${BINARY}_${VERSION}_windows_386 + GOOS=windows GOARCH=amd64 go build -o ./bin/${BINARY}_${VERSION}_windows_amd64 + +install: build + mkdir -p ~/.terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${NAME}/${VERSION}/${OS_ARCH} + mv ${BINARY} ~/.terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${NAME}/${VERSION}/${OS_ARCH} + +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 && \ + go mod tidy + +test: + go test -i $(TEST) || exit 1 + echo $(TEST) | xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4 + +testacc: + TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a612ad9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/README.md b/README.md new file mode 100644 index 0000000..44fe52b --- /dev/null +++ b/README.md @@ -0,0 +1,69 @@ +# Terraform Provider Nautobot + +## Requirements + +- [Terraform](https://www.terraform.io/downloads.html) >= 0.13.x +- [Go](https://golang.org/doc/install) >= 1.17 + +## Building The Provider + +1. Clone the repository +2. Enter the repository directory +3. Build the provider using the `make` command: +```sh +$ make install +``` + +## Adding Dependencies + +This provider uses [Go modules](https://github.com/golang/go/wiki/Modules). +Please see the Go documentation for the most up to date information about using Go modules. + +To add a new dependency `github.com/author/dependency` to your Terraform provider: + +``` +go get github.com/author/dependency +go mod tidy +``` + +Then commit the changes to `go.mod` and `go.sum`. + +## Using the provider + + +The provide takes two arguments, `url` and `token`. For the data sources and resources supported, take a look at the [internal/provider](internal/provider) folder. In the next example, we capture the data of all manufacturers. + + +```hcl +terraform { + required_providers { + nautobot = { + version = "0.1" + source = "github.com/nleiva/nautobot" + } + } +} + +provider "nautobot" { + url = "https://demo.nautobot.com/api/" + token = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +} + +data "nautobot_manufacturers" "all" {} +``` + +## Developing the Provider + +If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (see [Requirements](#requirements) above). + +To compile the provider, run `go install`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory. + +To generate or update documentation, run `go generate`. + +In order to run the full suite of Acceptance tests, run `make testacc`. + +*Note:* Acceptance tests create real resources, and often cost money to run. + +```sh +$ make testacc +``` diff --git a/client/go.mod b/client/go.mod new file mode 100644 index 0000000..11326d0 --- /dev/null +++ b/client/go.mod @@ -0,0 +1,7 @@ +module github.com/nautobot/go-nautobot + +go 1.17 + +require github.com/deepmap/oapi-codegen v1.10.1 + +require github.com/google/uuid v1.3.0 // indirect diff --git a/client/go.sum b/client/go.sum new file mode 100644 index 0000000..adecc85 --- /dev/null +++ b/client/go.sum @@ -0,0 +1,154 @@ +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/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/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/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/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/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= diff --git a/client/nautobot.go b/client/nautobot.go new file mode 100644 index 0000000..e6735a2 --- /dev/null +++ b/client/nautobot.go @@ -0,0 +1,204956 @@ +// 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. +package nautobot + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + "io" + "io/ioutil" + "net/http" + "net/url" + "strings" + + "github.com/deepmap/oapi-codegen/pkg/runtime" + openapi_types "github.com/deepmap/oapi-codegen/pkg/types" +) + +// RequestEditorFn is the function signature for the RequestEditor callback function +type RequestEditorFn func(ctx context.Context, req *http.Request) error + +// Doer performs HTTP requests. +// +// The standard http.Client implements this interface. +type HttpRequestDoer interface { + Do(req *http.Request) (*http.Response, error) +} + +// Client which conforms to the OpenAPI3 specification for this service. +type Client struct { + // The endpoint of the server conforming to this interface, with scheme, + // https://api.deepmap.com for example. This can contain a path relative + // to the server, such as https://api.deepmap.com/dev-test, and all the + // paths in the swagger spec will be appended to the server. + Server string + + // Doer for performing requests, typically a *http.Client with any + // customized settings, such as certificate chains. + Client HttpRequestDoer + + // A list of callbacks for modifying requests which are generated before sending over + // the network. + RequestEditors []RequestEditorFn +} + +// ClientOption allows setting custom parameters during construction +type ClientOption func(*Client) error + +// Creates a new Client, with reasonable defaults +func NewClient(server string, opts ...ClientOption) (*Client, error) { + // create a client with sane default values + client := Client{ + Server: server, + } + // mutate client and add all optional params + for _, o := range opts { + if err := o(&client); err != nil { + return nil, err + } + } + // ensure the server URL always has a trailing slash + if !strings.HasSuffix(client.Server, "/") { + client.Server += "/" + } + // create httpClient, if not already present + if client.Client == nil { + client.Client = &http.Client{} + } + return &client, nil +} + +// WithHTTPClient allows overriding the default Doer, which is +// automatically created using http.Client. This is useful for tests. +func WithHTTPClient(doer HttpRequestDoer) ClientOption { + return func(c *Client) error { + c.Client = doer + return nil + } +} + +// WithRequestEditorFn allows setting up a callback function, which will be +// called right before sending the request. This can be used to mutate the request. +func WithRequestEditorFn(fn RequestEditorFn) ClientOption { + return func(c *Client) error { + c.RequestEditors = append(c.RequestEditors, fn) + return nil + } +} + +// The interface specification for the client above. +type ClientInterface interface { + // CircuitsCircuitTerminationsBulkDestroy request + CircuitsCircuitTerminationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsList request + CircuitsCircuitTerminationsList(ctx context.Context, params *CircuitsCircuitTerminationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsBulkPartialUpdate request with any body + CircuitsCircuitTerminationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsBulkPartialUpdate(ctx context.Context, body CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsCreate request with any body + CircuitsCircuitTerminationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsCreate(ctx context.Context, body CircuitsCircuitTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsBulkUpdate request with any body + CircuitsCircuitTerminationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsBulkUpdate(ctx context.Context, body CircuitsCircuitTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsDestroy request + CircuitsCircuitTerminationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsRetrieve request + CircuitsCircuitTerminationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsPartialUpdate request with any body + CircuitsCircuitTerminationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsUpdate request with any body + CircuitsCircuitTerminationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsUpdateJSONRequestBody, 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) + + // CircuitsCircuitTypesList request + CircuitsCircuitTypesList(ctx context.Context, params *CircuitsCircuitTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesBulkPartialUpdate request with any body + CircuitsCircuitTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTypesBulkPartialUpdate(ctx context.Context, body CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesCreate request with any body + CircuitsCircuitTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTypesCreate(ctx context.Context, body CircuitsCircuitTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesBulkUpdate request with any body + CircuitsCircuitTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTypesBulkUpdate(ctx context.Context, body CircuitsCircuitTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesDestroy request + CircuitsCircuitTypesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesRetrieve request + CircuitsCircuitTypesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesPartialUpdate request with any body + CircuitsCircuitTypesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTypesPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesUpdate request with any body + CircuitsCircuitTypesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // CircuitsCircuitsList request + CircuitsCircuitsList(ctx context.Context, params *CircuitsCircuitsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsBulkPartialUpdate request with any body + CircuitsCircuitsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitsBulkPartialUpdate(ctx context.Context, body CircuitsCircuitsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsCreate request with any body + CircuitsCircuitsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitsCreate(ctx context.Context, body CircuitsCircuitsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsBulkUpdate request with any body + CircuitsCircuitsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitsBulkUpdate(ctx context.Context, body CircuitsCircuitsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsDestroy request + CircuitsCircuitsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsRetrieve request + CircuitsCircuitsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsPartialUpdate request with any body + CircuitsCircuitsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitsPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsUpdate request with any body + CircuitsCircuitsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // CircuitsProviderNetworksList request + CircuitsProviderNetworksList(ctx context.Context, params *CircuitsProviderNetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksBulkPartialUpdate request with any body + CircuitsProviderNetworksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderNetworksBulkPartialUpdate(ctx context.Context, body CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksCreate request with any body + CircuitsProviderNetworksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderNetworksCreate(ctx context.Context, body CircuitsProviderNetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksBulkUpdate request with any body + CircuitsProviderNetworksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderNetworksBulkUpdate(ctx context.Context, body CircuitsProviderNetworksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksDestroy request + CircuitsProviderNetworksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksRetrieve request + CircuitsProviderNetworksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksPartialUpdate request with any body + CircuitsProviderNetworksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderNetworksPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksUpdate request with any body + CircuitsProviderNetworksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // CircuitsProvidersList request + CircuitsProvidersList(ctx context.Context, params *CircuitsProvidersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersBulkPartialUpdate request with any body + CircuitsProvidersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProvidersBulkPartialUpdate(ctx context.Context, body CircuitsProvidersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersCreate request with any body + CircuitsProvidersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProvidersCreate(ctx context.Context, body CircuitsProvidersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersBulkUpdate request with any body + CircuitsProvidersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProvidersBulkUpdate(ctx context.Context, body CircuitsProvidersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersDestroy request + CircuitsProvidersDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersRetrieve request + CircuitsProvidersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersPartialUpdate request with any body + CircuitsProvidersPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProvidersPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersUpdate request with any body + CircuitsProvidersUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimCablesList request + DcimCablesList(ctx context.Context, params *DcimCablesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesBulkPartialUpdate request with any body + DcimCablesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesBulkPartialUpdate(ctx context.Context, body DcimCablesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesCreate request with any body + DcimCablesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesCreate(ctx context.Context, body DcimCablesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesBulkUpdate request with any body + DcimCablesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesBulkUpdate(ctx context.Context, body DcimCablesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesDestroy request + DcimCablesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesRetrieve request + DcimCablesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesPartialUpdate request with any body + DcimCablesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimCablesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesUpdate request with any body + DcimCablesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesUpdate(ctx context.Context, id openapi_types.UUID, body DcimCablesUpdateJSONRequestBody, 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) + + // DcimConsolePortTemplatesList request + DcimConsolePortTemplatesList(ctx context.Context, params *DcimConsolePortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesBulkPartialUpdate request with any body + DcimConsolePortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortTemplatesBulkPartialUpdate(ctx context.Context, body DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesCreate request with any body + DcimConsolePortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortTemplatesCreate(ctx context.Context, body DcimConsolePortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesBulkUpdate request with any body + DcimConsolePortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortTemplatesBulkUpdate(ctx context.Context, body DcimConsolePortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesDestroy request + DcimConsolePortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesRetrieve request + DcimConsolePortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesPartialUpdate request with any body + DcimConsolePortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesUpdate request with any body + DcimConsolePortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimConsolePortsList request + DcimConsolePortsList(ctx context.Context, params *DcimConsolePortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsBulkPartialUpdate request with any body + DcimConsolePortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsBulkPartialUpdate(ctx context.Context, body DcimConsolePortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsCreate request with any body + DcimConsolePortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsCreate(ctx context.Context, body DcimConsolePortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsBulkUpdate request with any body + DcimConsolePortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsBulkUpdate(ctx context.Context, body DcimConsolePortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsDestroy request + DcimConsolePortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsRetrieve request + DcimConsolePortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsPartialUpdate request with any body + DcimConsolePortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsUpdate request with any body + DcimConsolePortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsUpdateJSONRequestBody, 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) + + // DcimConsoleServerPortTemplatesList request + DcimConsoleServerPortTemplatesList(ctx context.Context, params *DcimConsoleServerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesBulkPartialUpdate request with any body + DcimConsoleServerPortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortTemplatesBulkPartialUpdate(ctx context.Context, body DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesCreate request with any body + DcimConsoleServerPortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortTemplatesCreate(ctx context.Context, body DcimConsoleServerPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesBulkUpdate request with any body + DcimConsoleServerPortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortTemplatesBulkUpdate(ctx context.Context, body DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesDestroy request + DcimConsoleServerPortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesRetrieve request + DcimConsoleServerPortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesPartialUpdate request with any body + DcimConsoleServerPortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesUpdate request with any body + DcimConsoleServerPortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimConsoleServerPortsList request + DcimConsoleServerPortsList(ctx context.Context, params *DcimConsoleServerPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsBulkPartialUpdate request with any body + DcimConsoleServerPortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsBulkPartialUpdate(ctx context.Context, body DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsCreate request with any body + DcimConsoleServerPortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsCreate(ctx context.Context, body DcimConsoleServerPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsBulkUpdate request with any body + DcimConsoleServerPortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsBulkUpdate(ctx context.Context, body DcimConsoleServerPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsDestroy request + DcimConsoleServerPortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsRetrieve request + DcimConsoleServerPortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsPartialUpdate request with any body + DcimConsoleServerPortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsUpdate request with any body + DcimConsoleServerPortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsUpdateJSONRequestBody, 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) + + // DcimDeviceBayTemplatesList request + DcimDeviceBayTemplatesList(ctx context.Context, params *DcimDeviceBayTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesBulkPartialUpdate request with any body + DcimDeviceBayTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBayTemplatesBulkPartialUpdate(ctx context.Context, body DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesCreate request with any body + DcimDeviceBayTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBayTemplatesCreate(ctx context.Context, body DcimDeviceBayTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesBulkUpdate request with any body + DcimDeviceBayTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBayTemplatesBulkUpdate(ctx context.Context, body DcimDeviceBayTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesDestroy request + DcimDeviceBayTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesRetrieve request + DcimDeviceBayTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesPartialUpdate request with any body + DcimDeviceBayTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBayTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesUpdate request with any body + DcimDeviceBayTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimDeviceBaysList request + DcimDeviceBaysList(ctx context.Context, params *DcimDeviceBaysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysBulkPartialUpdate request with any body + DcimDeviceBaysBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBaysBulkPartialUpdate(ctx context.Context, body DcimDeviceBaysBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysCreate request with any body + DcimDeviceBaysCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBaysCreate(ctx context.Context, body DcimDeviceBaysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysBulkUpdate request with any body + DcimDeviceBaysBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBaysBulkUpdate(ctx context.Context, body DcimDeviceBaysBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysDestroy request + DcimDeviceBaysDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysRetrieve request + DcimDeviceBaysRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysPartialUpdate request with any body + DcimDeviceBaysPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBaysPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysUpdate request with any body + DcimDeviceBaysUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimDeviceRolesList request + DcimDeviceRolesList(ctx context.Context, params *DcimDeviceRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesBulkPartialUpdate request with any body + DcimDeviceRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRolesBulkPartialUpdate(ctx context.Context, body DcimDeviceRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesCreate request with any body + DcimDeviceRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRolesCreate(ctx context.Context, body DcimDeviceRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesBulkUpdate request with any body + DcimDeviceRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRolesBulkUpdate(ctx context.Context, body DcimDeviceRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesDestroy request + DcimDeviceRolesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesRetrieve request + DcimDeviceRolesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesPartialUpdate request with any body + DcimDeviceRolesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRolesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesUpdate request with any body + DcimDeviceRolesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimDeviceTypesList request + DcimDeviceTypesList(ctx context.Context, params *DcimDeviceTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesBulkPartialUpdate request with any body + DcimDeviceTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceTypesBulkPartialUpdate(ctx context.Context, body DcimDeviceTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesCreate request with any body + DcimDeviceTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceTypesCreate(ctx context.Context, body DcimDeviceTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesBulkUpdate request with any body + DcimDeviceTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceTypesBulkUpdate(ctx context.Context, body DcimDeviceTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesDestroy request + DcimDeviceTypesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesRetrieve request + DcimDeviceTypesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesPartialUpdate request with any body + DcimDeviceTypesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceTypesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesUpdate request with any body + DcimDeviceTypesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimDevicesList request + DcimDevicesList(ctx context.Context, params *DcimDevicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesBulkPartialUpdate request with any body + DcimDevicesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesBulkPartialUpdate(ctx context.Context, body DcimDevicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesCreate request with any body + DcimDevicesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesCreate(ctx context.Context, body DcimDevicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesBulkUpdate request with any body + DcimDevicesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesBulkUpdate(ctx context.Context, body DcimDevicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesDestroy request + DcimDevicesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesRetrieve request + DcimDevicesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesPartialUpdate request with any body + DcimDevicesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDevicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesUpdate request with any body + DcimDevicesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesUpdate(ctx context.Context, id openapi_types.UUID, body DcimDevicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // 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) + + // DcimFrontPortTemplatesList request + DcimFrontPortTemplatesList(ctx context.Context, params *DcimFrontPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesBulkPartialUpdate request with any body + DcimFrontPortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortTemplatesBulkPartialUpdate(ctx context.Context, body DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesCreate request with any body + DcimFrontPortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortTemplatesCreate(ctx context.Context, body DcimFrontPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesBulkUpdate request with any body + DcimFrontPortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortTemplatesBulkUpdate(ctx context.Context, body DcimFrontPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesDestroy request + DcimFrontPortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesRetrieve request + DcimFrontPortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesPartialUpdate request with any body + DcimFrontPortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesUpdate request with any body + DcimFrontPortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimFrontPortsList request + DcimFrontPortsList(ctx context.Context, params *DcimFrontPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsBulkPartialUpdate request with any body + DcimFrontPortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsBulkPartialUpdate(ctx context.Context, body DcimFrontPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsCreate request with any body + DcimFrontPortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsCreate(ctx context.Context, body DcimFrontPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsBulkUpdate request with any body + DcimFrontPortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsBulkUpdate(ctx context.Context, body DcimFrontPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsDestroy request + DcimFrontPortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsRetrieve request + DcimFrontPortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsPartialUpdate request with any body + DcimFrontPortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsUpdate request with any body + DcimFrontPortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsUpdateJSONRequestBody, 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) + + // DcimInterfaceTemplatesList request + DcimInterfaceTemplatesList(ctx context.Context, params *DcimInterfaceTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesBulkPartialUpdate request with any body + DcimInterfaceTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfaceTemplatesBulkPartialUpdate(ctx context.Context, body DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesCreate request with any body + DcimInterfaceTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfaceTemplatesCreate(ctx context.Context, body DcimInterfaceTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesBulkUpdate request with any body + DcimInterfaceTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfaceTemplatesBulkUpdate(ctx context.Context, body DcimInterfaceTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesDestroy request + DcimInterfaceTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesRetrieve request + DcimInterfaceTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesPartialUpdate request with any body + DcimInterfaceTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfaceTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesUpdate request with any body + DcimInterfaceTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimInterfacesList request + DcimInterfacesList(ctx context.Context, params *DcimInterfacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesBulkPartialUpdate request with any body + DcimInterfacesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesBulkPartialUpdate(ctx context.Context, body DcimInterfacesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesCreate request with any body + DcimInterfacesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesCreate(ctx context.Context, body DcimInterfacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesBulkUpdate request with any body + DcimInterfacesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesBulkUpdate(ctx context.Context, body DcimInterfacesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesDestroy request + DcimInterfacesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesRetrieve request + DcimInterfacesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesPartialUpdate request with any body + DcimInterfacesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesUpdate request with any body + DcimInterfacesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesUpdate(ctx context.Context, id openapi_types.UUID, body DcimInterfacesUpdateJSONRequestBody, 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) + + // DcimInventoryItemsList request + DcimInventoryItemsList(ctx context.Context, params *DcimInventoryItemsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsBulkPartialUpdate request with any body + DcimInventoryItemsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemsBulkPartialUpdate(ctx context.Context, body DcimInventoryItemsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsCreate request with any body + DcimInventoryItemsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemsCreate(ctx context.Context, body DcimInventoryItemsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsBulkUpdate request with any body + DcimInventoryItemsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemsBulkUpdate(ctx context.Context, body DcimInventoryItemsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsDestroy request + DcimInventoryItemsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsRetrieve request + DcimInventoryItemsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsPartialUpdate request with any body + DcimInventoryItemsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsUpdate request with any body + DcimInventoryItemsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimManufacturersList request + DcimManufacturersList(ctx context.Context, params *DcimManufacturersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersBulkPartialUpdate request with any body + DcimManufacturersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimManufacturersBulkPartialUpdate(ctx context.Context, body DcimManufacturersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersCreate request with any body + DcimManufacturersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimManufacturersCreate(ctx context.Context, body DcimManufacturersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersBulkUpdate request with any body + DcimManufacturersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimManufacturersBulkUpdate(ctx context.Context, body DcimManufacturersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersDestroy request + DcimManufacturersDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersRetrieve request + DcimManufacturersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersPartialUpdate request with any body + DcimManufacturersPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimManufacturersPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimManufacturersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersUpdate request with any body + DcimManufacturersUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimPlatformsList request + DcimPlatformsList(ctx context.Context, params *DcimPlatformsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsBulkPartialUpdate request with any body + DcimPlatformsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsBulkPartialUpdate(ctx context.Context, body DcimPlatformsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsCreate request with any body + DcimPlatformsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsCreate(ctx context.Context, body DcimPlatformsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsBulkUpdate request with any body + DcimPlatformsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsBulkUpdate(ctx context.Context, body DcimPlatformsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsDestroy request + DcimPlatformsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsRetrieve request + DcimPlatformsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsPartialUpdate request with any body + DcimPlatformsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPlatformsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsUpdate request with any body + DcimPlatformsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPlatformsUpdateJSONRequestBody, 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) + + // DcimPowerFeedsList request + DcimPowerFeedsList(ctx context.Context, params *DcimPowerFeedsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsBulkPartialUpdate request with any body + DcimPowerFeedsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsBulkPartialUpdate(ctx context.Context, body DcimPowerFeedsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsCreate request with any body + DcimPowerFeedsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsCreate(ctx context.Context, body DcimPowerFeedsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsBulkUpdate request with any body + DcimPowerFeedsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsBulkUpdate(ctx context.Context, body DcimPowerFeedsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsDestroy request + DcimPowerFeedsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsRetrieve request + DcimPowerFeedsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsPartialUpdate request with any body + DcimPowerFeedsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsUpdate request with any body + DcimPowerFeedsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsUpdateJSONRequestBody, 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) + + // DcimPowerOutletTemplatesList request + DcimPowerOutletTemplatesList(ctx context.Context, params *DcimPowerOutletTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesBulkPartialUpdate request with any body + DcimPowerOutletTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletTemplatesBulkPartialUpdate(ctx context.Context, body DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesCreate request with any body + DcimPowerOutletTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletTemplatesCreate(ctx context.Context, body DcimPowerOutletTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesBulkUpdate request with any body + DcimPowerOutletTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletTemplatesBulkUpdate(ctx context.Context, body DcimPowerOutletTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesDestroy request + DcimPowerOutletTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesRetrieve request + DcimPowerOutletTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesPartialUpdate request with any body + DcimPowerOutletTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesUpdate request with any body + DcimPowerOutletTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimPowerOutletsList request + DcimPowerOutletsList(ctx context.Context, params *DcimPowerOutletsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsBulkPartialUpdate request with any body + DcimPowerOutletsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsBulkPartialUpdate(ctx context.Context, body DcimPowerOutletsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsCreate request with any body + DcimPowerOutletsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsCreate(ctx context.Context, body DcimPowerOutletsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsBulkUpdate request with any body + DcimPowerOutletsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsBulkUpdate(ctx context.Context, body DcimPowerOutletsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsDestroy request + DcimPowerOutletsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsRetrieve request + DcimPowerOutletsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsPartialUpdate request with any body + DcimPowerOutletsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsUpdate request with any body + DcimPowerOutletsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsUpdateJSONRequestBody, 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) + + // DcimPowerPanelsList request + DcimPowerPanelsList(ctx context.Context, params *DcimPowerPanelsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsBulkPartialUpdate request with any body + DcimPowerPanelsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPanelsBulkPartialUpdate(ctx context.Context, body DcimPowerPanelsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsCreate request with any body + DcimPowerPanelsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPanelsCreate(ctx context.Context, body DcimPowerPanelsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsBulkUpdate request with any body + DcimPowerPanelsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPanelsBulkUpdate(ctx context.Context, body DcimPowerPanelsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsDestroy request + DcimPowerPanelsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsRetrieve request + DcimPowerPanelsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsPartialUpdate request with any body + DcimPowerPanelsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPanelsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsUpdate request with any body + DcimPowerPanelsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimPowerPortTemplatesList request + DcimPowerPortTemplatesList(ctx context.Context, params *DcimPowerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesBulkPartialUpdate request with any body + DcimPowerPortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortTemplatesBulkPartialUpdate(ctx context.Context, body DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesCreate request with any body + DcimPowerPortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortTemplatesCreate(ctx context.Context, body DcimPowerPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesBulkUpdate request with any body + DcimPowerPortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortTemplatesBulkUpdate(ctx context.Context, body DcimPowerPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesDestroy request + DcimPowerPortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesRetrieve request + DcimPowerPortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesPartialUpdate request with any body + DcimPowerPortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesUpdate request with any body + DcimPowerPortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimPowerPortsList request + DcimPowerPortsList(ctx context.Context, params *DcimPowerPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsBulkPartialUpdate request with any body + DcimPowerPortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsBulkPartialUpdate(ctx context.Context, body DcimPowerPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsCreate request with any body + DcimPowerPortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsCreate(ctx context.Context, body DcimPowerPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsBulkUpdate request with any body + DcimPowerPortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsBulkUpdate(ctx context.Context, body DcimPowerPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsDestroy request + DcimPowerPortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsRetrieve request + DcimPowerPortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsPartialUpdate request with any body + DcimPowerPortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsUpdate request with any body + DcimPowerPortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsUpdateJSONRequestBody, 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) + + // DcimRackGroupsList request + DcimRackGroupsList(ctx context.Context, params *DcimRackGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackGroupsBulkPartialUpdate request with any body + DcimRackGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackGroupsBulkPartialUpdate(ctx context.Context, body DcimRackGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackGroupsCreate request with any body + DcimRackGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackGroupsCreate(ctx context.Context, body DcimRackGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackGroupsBulkUpdate request with any body + DcimRackGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackGroupsBulkUpdate(ctx context.Context, body DcimRackGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackGroupsDestroy request + DcimRackGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackGroupsRetrieve request + DcimRackGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackGroupsPartialUpdate request with any body + DcimRackGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackGroupsUpdate request with any body + DcimRackGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimRackReservationsList request + DcimRackReservationsList(ctx context.Context, params *DcimRackReservationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsBulkPartialUpdate request with any body + DcimRackReservationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackReservationsBulkPartialUpdate(ctx context.Context, body DcimRackReservationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsCreate request with any body + DcimRackReservationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackReservationsCreate(ctx context.Context, body DcimRackReservationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsBulkUpdate request with any body + DcimRackReservationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackReservationsBulkUpdate(ctx context.Context, body DcimRackReservationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsDestroy request + DcimRackReservationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsRetrieve request + DcimRackReservationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsPartialUpdate request with any body + DcimRackReservationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackReservationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsUpdate request with any body + DcimRackReservationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimRackRolesList request + DcimRackRolesList(ctx context.Context, params *DcimRackRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesBulkPartialUpdate request with any body + DcimRackRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackRolesBulkPartialUpdate(ctx context.Context, body DcimRackRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesCreate request with any body + DcimRackRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackRolesCreate(ctx context.Context, body DcimRackRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesBulkUpdate request with any body + DcimRackRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackRolesBulkUpdate(ctx context.Context, body DcimRackRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesDestroy request + DcimRackRolesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesRetrieve request + DcimRackRolesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesPartialUpdate request with any body + DcimRackRolesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackRolesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesUpdate request with any body + DcimRackRolesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimRacksList request + DcimRacksList(ctx context.Context, params *DcimRacksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksBulkPartialUpdate request with any body + DcimRacksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksBulkPartialUpdate(ctx context.Context, body DcimRacksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksCreate request with any body + DcimRacksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksCreate(ctx context.Context, body DcimRacksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksBulkUpdate request with any body + DcimRacksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksBulkUpdate(ctx context.Context, body DcimRacksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksDestroy request + DcimRacksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksRetrieve request + DcimRacksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksPartialUpdate request with any body + DcimRacksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRacksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksUpdate request with any body + DcimRacksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksUpdate(ctx context.Context, id openapi_types.UUID, body DcimRacksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // 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) + + // DcimRearPortTemplatesList request + DcimRearPortTemplatesList(ctx context.Context, params *DcimRearPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesBulkPartialUpdate request with any body + DcimRearPortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortTemplatesBulkPartialUpdate(ctx context.Context, body DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesCreate request with any body + DcimRearPortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortTemplatesCreate(ctx context.Context, body DcimRearPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesBulkUpdate request with any body + DcimRearPortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortTemplatesBulkUpdate(ctx context.Context, body DcimRearPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesDestroy request + DcimRearPortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesRetrieve request + DcimRearPortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesPartialUpdate request with any body + DcimRearPortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesUpdate request with any body + DcimRearPortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimRearPortsList request + DcimRearPortsList(ctx context.Context, params *DcimRearPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsBulkPartialUpdate request with any body + DcimRearPortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsBulkPartialUpdate(ctx context.Context, body DcimRearPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsCreate request with any body + DcimRearPortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsCreate(ctx context.Context, body DcimRearPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsBulkUpdate request with any body + DcimRearPortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsBulkUpdate(ctx context.Context, body DcimRearPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsDestroy request + DcimRearPortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsRetrieve request + DcimRearPortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsPartialUpdate request with any body + DcimRearPortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRearPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsUpdate request with any body + DcimRearPortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimRearPortsUpdateJSONRequestBody, 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) + + // DcimRegionsList request + DcimRegionsList(ctx context.Context, params *DcimRegionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsBulkPartialUpdate request with any body + DcimRegionsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRegionsBulkPartialUpdate(ctx context.Context, body DcimRegionsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsCreate request with any body + DcimRegionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRegionsCreate(ctx context.Context, body DcimRegionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsBulkUpdate request with any body + DcimRegionsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRegionsBulkUpdate(ctx context.Context, body DcimRegionsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsDestroy request + DcimRegionsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsRetrieve request + DcimRegionsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsPartialUpdate request with any body + DcimRegionsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRegionsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRegionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsUpdate request with any body + DcimRegionsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimSitesList request + DcimSitesList(ctx context.Context, params *DcimSitesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesBulkPartialUpdate request with any body + DcimSitesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSitesBulkPartialUpdate(ctx context.Context, body DcimSitesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesCreate request with any body + DcimSitesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSitesCreate(ctx context.Context, body DcimSitesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesBulkUpdate request with any body + DcimSitesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSitesBulkUpdate(ctx context.Context, body DcimSitesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesDestroy request + DcimSitesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesRetrieve request + DcimSitesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesPartialUpdate request with any body + DcimSitesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSitesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimSitesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesUpdate request with any body + DcimSitesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // DcimVirtualChassisList request + DcimVirtualChassisList(ctx context.Context, params *DcimVirtualChassisListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisBulkPartialUpdate request with any body + DcimVirtualChassisBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualChassisBulkPartialUpdate(ctx context.Context, body DcimVirtualChassisBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisCreate request with any body + DcimVirtualChassisCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualChassisCreate(ctx context.Context, body DcimVirtualChassisCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisBulkUpdate request with any body + DcimVirtualChassisBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualChassisBulkUpdate(ctx context.Context, body DcimVirtualChassisBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisDestroy request + DcimVirtualChassisDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisRetrieve request + DcimVirtualChassisRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisPartialUpdate request with any body + DcimVirtualChassisPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualChassisPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisUpdate request with any body + DcimVirtualChassisUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasComputedFieldsList request + ExtrasComputedFieldsList(ctx context.Context, params *ExtrasComputedFieldsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasComputedFieldsBulkPartialUpdate request with any body + ExtrasComputedFieldsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasComputedFieldsBulkPartialUpdate(ctx context.Context, body ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasComputedFieldsCreate request with any body + ExtrasComputedFieldsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasComputedFieldsCreate(ctx context.Context, body ExtrasComputedFieldsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasComputedFieldsBulkUpdate request with any body + ExtrasComputedFieldsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasComputedFieldsBulkUpdate(ctx context.Context, body ExtrasComputedFieldsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasComputedFieldsDestroy request + ExtrasComputedFieldsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasComputedFieldsRetrieve request + ExtrasComputedFieldsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasComputedFieldsPartialUpdate request with any body + ExtrasComputedFieldsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasComputedFieldsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasComputedFieldsUpdate request with any body + ExtrasComputedFieldsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasConfigContextSchemasList request + ExtrasConfigContextSchemasList(ctx context.Context, params *ExtrasConfigContextSchemasListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextSchemasBulkPartialUpdate request with any body + ExtrasConfigContextSchemasBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextSchemasBulkPartialUpdate(ctx context.Context, body ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextSchemasCreate request with any body + ExtrasConfigContextSchemasCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextSchemasCreate(ctx context.Context, body ExtrasConfigContextSchemasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextSchemasBulkUpdate request with any body + ExtrasConfigContextSchemasBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextSchemasBulkUpdate(ctx context.Context, body ExtrasConfigContextSchemasBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextSchemasDestroy request + ExtrasConfigContextSchemasDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextSchemasRetrieve request + ExtrasConfigContextSchemasRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextSchemasPartialUpdate request with any body + ExtrasConfigContextSchemasPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextSchemasPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextSchemasUpdate request with any body + ExtrasConfigContextSchemasUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasConfigContextsList request + ExtrasConfigContextsList(ctx context.Context, params *ExtrasConfigContextsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsBulkPartialUpdate request with any body + ExtrasConfigContextsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsBulkPartialUpdate(ctx context.Context, body ExtrasConfigContextsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsCreate request with any body + ExtrasConfigContextsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsCreate(ctx context.Context, body ExtrasConfigContextsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsBulkUpdate request with any body + ExtrasConfigContextsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsBulkUpdate(ctx context.Context, body ExtrasConfigContextsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsDestroy request + ExtrasConfigContextsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsRetrieve request + ExtrasConfigContextsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsPartialUpdate request with any body + ExtrasConfigContextsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsUpdate request with any body + ExtrasConfigContextsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsUpdateJSONRequestBody, 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) + + // ExtrasCustomFieldChoicesList request + ExtrasCustomFieldChoicesList(ctx context.Context, params *ExtrasCustomFieldChoicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoicesBulkPartialUpdate request with any body + ExtrasCustomFieldChoicesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoicesBulkPartialUpdate(ctx context.Context, body ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoicesCreate request with any body + ExtrasCustomFieldChoicesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoicesCreate(ctx context.Context, body ExtrasCustomFieldChoicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoicesBulkUpdate request with any body + ExtrasCustomFieldChoicesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoicesBulkUpdate(ctx context.Context, body ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoicesDestroy request + ExtrasCustomFieldChoicesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoicesRetrieve request + ExtrasCustomFieldChoicesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoicesPartialUpdate request with any body + ExtrasCustomFieldChoicesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoicesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldChoicesUpdate request with any body + ExtrasCustomFieldChoicesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasCustomFieldsList request + ExtrasCustomFieldsList(ctx context.Context, params *ExtrasCustomFieldsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsBulkPartialUpdate request with any body + ExtrasCustomFieldsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldsBulkPartialUpdate(ctx context.Context, body ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsCreate request with any body + ExtrasCustomFieldsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldsCreate(ctx context.Context, body ExtrasCustomFieldsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsBulkUpdate request with any body + ExtrasCustomFieldsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldsBulkUpdate(ctx context.Context, body ExtrasCustomFieldsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsDestroy request + ExtrasCustomFieldsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsRetrieve request + ExtrasCustomFieldsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsPartialUpdate request with any body + ExtrasCustomFieldsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsUpdate request with any body + ExtrasCustomFieldsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasCustomLinksList request + ExtrasCustomLinksList(ctx context.Context, params *ExtrasCustomLinksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksBulkPartialUpdate request with any body + ExtrasCustomLinksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomLinksBulkPartialUpdate(ctx context.Context, body ExtrasCustomLinksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksCreate request with any body + ExtrasCustomLinksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomLinksCreate(ctx context.Context, body ExtrasCustomLinksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksBulkUpdate request with any body + ExtrasCustomLinksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomLinksBulkUpdate(ctx context.Context, body ExtrasCustomLinksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksDestroy request + ExtrasCustomLinksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksRetrieve request + ExtrasCustomLinksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksPartialUpdate request with any body + ExtrasCustomLinksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomLinksPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksUpdate request with any body + ExtrasCustomLinksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasDynamicGroupsList request + ExtrasDynamicGroupsList(ctx context.Context, params *ExtrasDynamicGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupsBulkPartialUpdate request with any body + ExtrasDynamicGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupsBulkPartialUpdate(ctx context.Context, body ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupsCreate request with any body + ExtrasDynamicGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupsCreate(ctx context.Context, body ExtrasDynamicGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupsBulkUpdate request with any body + ExtrasDynamicGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupsBulkUpdate(ctx context.Context, body ExtrasDynamicGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupsDestroy request + ExtrasDynamicGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupsRetrieve request + ExtrasDynamicGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupsPartialUpdate request with any body + ExtrasDynamicGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupsUpdate request with any body + ExtrasDynamicGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // 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) + + // ExtrasExportTemplatesList request + ExtrasExportTemplatesList(ctx context.Context, params *ExtrasExportTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesBulkPartialUpdate request with any body + ExtrasExportTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesBulkPartialUpdate(ctx context.Context, body ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesCreate request with any body + ExtrasExportTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesCreate(ctx context.Context, body ExtrasExportTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesBulkUpdate request with any body + ExtrasExportTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesBulkUpdate(ctx context.Context, body ExtrasExportTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesDestroy request + ExtrasExportTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesRetrieve request + ExtrasExportTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesPartialUpdate request with any body + ExtrasExportTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesUpdate request with any body + ExtrasExportTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasGitRepositoriesList request + ExtrasGitRepositoriesList(ctx context.Context, params *ExtrasGitRepositoriesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGitRepositoriesBulkPartialUpdate request with any body + ExtrasGitRepositoriesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGitRepositoriesBulkPartialUpdate(ctx context.Context, body ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGitRepositoriesCreate request with any body + ExtrasGitRepositoriesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGitRepositoriesCreate(ctx context.Context, body ExtrasGitRepositoriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGitRepositoriesBulkUpdate request with any body + ExtrasGitRepositoriesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGitRepositoriesBulkUpdate(ctx context.Context, body ExtrasGitRepositoriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGitRepositoriesDestroy request + ExtrasGitRepositoriesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGitRepositoriesRetrieve request + ExtrasGitRepositoriesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGitRepositoriesPartialUpdate request with any body + ExtrasGitRepositoriesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGitRepositoriesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGitRepositoriesUpdate request with any body + ExtrasGitRepositoriesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGitRepositoriesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesUpdateJSONRequestBody, 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) + + // ExtrasGraphqlQueriesList request + ExtrasGraphqlQueriesList(ctx context.Context, params *ExtrasGraphqlQueriesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGraphqlQueriesBulkPartialUpdate request with any body + ExtrasGraphqlQueriesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGraphqlQueriesBulkPartialUpdate(ctx context.Context, body ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGraphqlQueriesCreate request with any body + ExtrasGraphqlQueriesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGraphqlQueriesCreate(ctx context.Context, body ExtrasGraphqlQueriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGraphqlQueriesBulkUpdate request with any body + ExtrasGraphqlQueriesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGraphqlQueriesBulkUpdate(ctx context.Context, body ExtrasGraphqlQueriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGraphqlQueriesDestroy request + ExtrasGraphqlQueriesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGraphqlQueriesRetrieve request + ExtrasGraphqlQueriesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGraphqlQueriesPartialUpdate request with any body + ExtrasGraphqlQueriesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGraphqlQueriesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGraphqlQueriesUpdate request with any body + ExtrasGraphqlQueriesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGraphqlQueriesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesUpdateJSONRequestBody, 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) + + // ExtrasImageAttachmentsList request + ExtrasImageAttachmentsList(ctx context.Context, params *ExtrasImageAttachmentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsBulkPartialUpdate request with any body + ExtrasImageAttachmentsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasImageAttachmentsBulkPartialUpdate(ctx context.Context, body ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsCreate request with any body + ExtrasImageAttachmentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasImageAttachmentsCreate(ctx context.Context, body ExtrasImageAttachmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsBulkUpdate request with any body + ExtrasImageAttachmentsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasImageAttachmentsBulkUpdate(ctx context.Context, body ExtrasImageAttachmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsDestroy request + ExtrasImageAttachmentsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsRetrieve request + ExtrasImageAttachmentsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsPartialUpdate request with any body + ExtrasImageAttachmentsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasImageAttachmentsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasImageAttachmentsUpdate request with any body + ExtrasImageAttachmentsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasImageAttachmentsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsUpdateJSONRequestBody, 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) + + // 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) + + // ExtrasJobsList request + ExtrasJobsList(ctx context.Context, params *ExtrasJobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsBulkPartialUpdate request with any body + ExtrasJobsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobsBulkPartialUpdate(ctx context.Context, body ExtrasJobsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsBulkUpdate request with any body + ExtrasJobsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobsBulkUpdate(ctx context.Context, body ExtrasJobsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsReadDeprecated request + ExtrasJobsReadDeprecated(ctx context.Context, classPath string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsRunDeprecated request with any body + ExtrasJobsRunDeprecatedWithBody(ctx context.Context, classPath string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobsRunDeprecated(ctx context.Context, classPath string, body ExtrasJobsRunDeprecatedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsDestroy request + ExtrasJobsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsRetrieve request + ExtrasJobsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsPartialUpdate request with any body + ExtrasJobsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsUpdate request with any body + ExtrasJobsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobsUpdateJSONRequestBody, 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) + + ExtrasJobsRunCreate(ctx context.Context, id openapi_types.UUID, body ExtrasJobsRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsVariablesList request + ExtrasJobsVariablesList(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsVariablesListParams, 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) + + // ExtrasRelationshipAssociationsList request + ExtrasRelationshipAssociationsList(ctx context.Context, params *ExtrasRelationshipAssociationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipAssociationsBulkPartialUpdate request with any body + ExtrasRelationshipAssociationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipAssociationsBulkPartialUpdate(ctx context.Context, body ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipAssociationsCreate request with any body + ExtrasRelationshipAssociationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipAssociationsCreate(ctx context.Context, body ExtrasRelationshipAssociationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipAssociationsBulkUpdate request with any body + ExtrasRelationshipAssociationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipAssociationsBulkUpdate(ctx context.Context, body ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipAssociationsDestroy request + ExtrasRelationshipAssociationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipAssociationsRetrieve request + ExtrasRelationshipAssociationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipAssociationsPartialUpdate request with any body + ExtrasRelationshipAssociationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipAssociationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipAssociationsUpdate request with any body + ExtrasRelationshipAssociationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasRelationshipsList request + ExtrasRelationshipsList(ctx context.Context, params *ExtrasRelationshipsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipsBulkPartialUpdate request with any body + ExtrasRelationshipsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipsBulkPartialUpdate(ctx context.Context, body ExtrasRelationshipsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipsCreate request with any body + ExtrasRelationshipsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipsCreate(ctx context.Context, body ExtrasRelationshipsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipsBulkUpdate request with any body + ExtrasRelationshipsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipsBulkUpdate(ctx context.Context, body ExtrasRelationshipsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipsDestroy request + ExtrasRelationshipsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipsRetrieve request + ExtrasRelationshipsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipsPartialUpdate request with any body + ExtrasRelationshipsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipsUpdate request with any body + ExtrasRelationshipsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasScheduledJobsList request + ExtrasScheduledJobsList(ctx context.Context, params *ExtrasScheduledJobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasScheduledJobsRetrieve request + ExtrasScheduledJobsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasScheduledJobsApproveCreate request + ExtrasScheduledJobsApproveCreate(ctx context.Context, id openapi_types.UUID, params *ExtrasScheduledJobsApproveCreateParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasScheduledJobsDenyCreate request + ExtrasScheduledJobsDenyCreate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // 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) + + // ExtrasSecretsGroupsAssociationsList request + ExtrasSecretsGroupsAssociationsList(ctx context.Context, params *ExtrasSecretsGroupsAssociationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsAssociationsBulkPartialUpdate request with any body + ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsAssociationsBulkPartialUpdate(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsAssociationsCreate request with any body + ExtrasSecretsGroupsAssociationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsAssociationsCreate(ctx context.Context, body ExtrasSecretsGroupsAssociationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsAssociationsBulkUpdate request with any body + ExtrasSecretsGroupsAssociationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsAssociationsBulkUpdate(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsAssociationsDestroy request + ExtrasSecretsGroupsAssociationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsAssociationsRetrieve request + ExtrasSecretsGroupsAssociationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsAssociationsPartialUpdate request with any body + ExtrasSecretsGroupsAssociationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsAssociationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsAssociationsUpdate request with any body + ExtrasSecretsGroupsAssociationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasSecretsGroupsList request + ExtrasSecretsGroupsList(ctx context.Context, params *ExtrasSecretsGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsBulkPartialUpdate request with any body + ExtrasSecretsGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsBulkPartialUpdate(ctx context.Context, body ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsCreate request with any body + ExtrasSecretsGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsCreate(ctx context.Context, body ExtrasSecretsGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsBulkUpdate request with any body + ExtrasSecretsGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsBulkUpdate(ctx context.Context, body ExtrasSecretsGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsDestroy request + ExtrasSecretsGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsRetrieve request + ExtrasSecretsGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsPartialUpdate request with any body + ExtrasSecretsGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsUpdate request with any body + ExtrasSecretsGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasSecretsList request + ExtrasSecretsList(ctx context.Context, params *ExtrasSecretsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsBulkPartialUpdate request with any body + ExtrasSecretsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsBulkPartialUpdate(ctx context.Context, body ExtrasSecretsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsCreate request with any body + ExtrasSecretsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsCreate(ctx context.Context, body ExtrasSecretsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsBulkUpdate request with any body + ExtrasSecretsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsBulkUpdate(ctx context.Context, body ExtrasSecretsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsDestroy request + ExtrasSecretsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsRetrieve request + ExtrasSecretsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsPartialUpdate request with any body + ExtrasSecretsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsUpdate request with any body + ExtrasSecretsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasStatusesList request + ExtrasStatusesList(ctx context.Context, params *ExtrasStatusesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasStatusesBulkPartialUpdate request with any body + ExtrasStatusesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasStatusesBulkPartialUpdate(ctx context.Context, body ExtrasStatusesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasStatusesCreate request with any body + ExtrasStatusesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasStatusesCreate(ctx context.Context, body ExtrasStatusesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasStatusesBulkUpdate request with any body + ExtrasStatusesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasStatusesBulkUpdate(ctx context.Context, body ExtrasStatusesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasStatusesDestroy request + ExtrasStatusesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasStatusesRetrieve request + ExtrasStatusesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasStatusesPartialUpdate request with any body + ExtrasStatusesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasStatusesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasStatusesUpdate request with any body + ExtrasStatusesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasTagsList request + ExtrasTagsList(ctx context.Context, params *ExtrasTagsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsBulkPartialUpdate request with any body + ExtrasTagsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasTagsBulkPartialUpdate(ctx context.Context, body ExtrasTagsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsCreate request with any body + ExtrasTagsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasTagsCreate(ctx context.Context, body ExtrasTagsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsBulkUpdate request with any body + ExtrasTagsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasTagsBulkUpdate(ctx context.Context, body ExtrasTagsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsDestroy request + ExtrasTagsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsRetrieve request + ExtrasTagsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsPartialUpdate request with any body + ExtrasTagsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasTagsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasTagsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsUpdate request with any body + ExtrasTagsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // ExtrasWebhooksList request + ExtrasWebhooksList(ctx context.Context, params *ExtrasWebhooksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksBulkPartialUpdate request with any body + ExtrasWebhooksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksBulkPartialUpdate(ctx context.Context, body ExtrasWebhooksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksCreate request with any body + ExtrasWebhooksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksCreate(ctx context.Context, body ExtrasWebhooksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksBulkUpdate request with any body + ExtrasWebhooksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksBulkUpdate(ctx context.Context, body ExtrasWebhooksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksDestroy request + ExtrasWebhooksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksRetrieve request + ExtrasWebhooksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksPartialUpdate request with any body + ExtrasWebhooksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksUpdate request with any body + ExtrasWebhooksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksUpdateJSONRequestBody, 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) + + // IpamAggregatesList request + IpamAggregatesList(ctx context.Context, params *IpamAggregatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesBulkPartialUpdate request with any body + IpamAggregatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAggregatesBulkPartialUpdate(ctx context.Context, body IpamAggregatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesCreate request with any body + IpamAggregatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAggregatesCreate(ctx context.Context, body IpamAggregatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesBulkUpdate request with any body + IpamAggregatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAggregatesBulkUpdate(ctx context.Context, body IpamAggregatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesDestroy request + IpamAggregatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesRetrieve request + IpamAggregatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesPartialUpdate request with any body + IpamAggregatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAggregatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamAggregatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesUpdate request with any body + IpamAggregatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // IpamIpAddressesList request + IpamIpAddressesList(ctx context.Context, params *IpamIpAddressesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesBulkPartialUpdate request with any body + IpamIpAddressesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpAddressesBulkPartialUpdate(ctx context.Context, body IpamIpAddressesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesCreate request with any body + IpamIpAddressesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpAddressesCreate(ctx context.Context, body IpamIpAddressesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesBulkUpdate request with any body + IpamIpAddressesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpAddressesBulkUpdate(ctx context.Context, body IpamIpAddressesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesDestroy request + IpamIpAddressesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesRetrieve request + IpamIpAddressesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesPartialUpdate request with any body + IpamIpAddressesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpAddressesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesUpdate request with any body + IpamIpAddressesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // IpamPrefixesList request + IpamPrefixesList(ctx context.Context, params *IpamPrefixesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesBulkPartialUpdate request with any body + IpamPrefixesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesBulkPartialUpdate(ctx context.Context, body IpamPrefixesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesCreate request with any body + IpamPrefixesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesCreate(ctx context.Context, body IpamPrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesBulkUpdate request with any body + IpamPrefixesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesBulkUpdate(ctx context.Context, body IpamPrefixesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesDestroy request + IpamPrefixesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesRetrieve request + IpamPrefixesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesPartialUpdate request with any body + IpamPrefixesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamPrefixesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesUpdate request with any body + IpamPrefixesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesUpdate(ctx context.Context, id openapi_types.UUID, body IpamPrefixesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // 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) + + // IpamPrefixesAvailablePrefixesList request + IpamPrefixesAvailablePrefixesList(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailablePrefixesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesAvailablePrefixesCreate request with any body + IpamPrefixesAvailablePrefixesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // IpamRirsList request + IpamRirsList(ctx context.Context, params *IpamRirsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsBulkPartialUpdate request with any body + IpamRirsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRirsBulkPartialUpdate(ctx context.Context, body IpamRirsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsCreate request with any body + IpamRirsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRirsCreate(ctx context.Context, body IpamRirsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsBulkUpdate request with any body + IpamRirsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRirsBulkUpdate(ctx context.Context, body IpamRirsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsDestroy request + IpamRirsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsRetrieve request + IpamRirsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsPartialUpdate request with any body + IpamRirsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRirsPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamRirsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsUpdate request with any body + IpamRirsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // IpamRolesList request + IpamRolesList(ctx context.Context, params *IpamRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesBulkPartialUpdate request with any body + IpamRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRolesBulkPartialUpdate(ctx context.Context, body IpamRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesCreate request with any body + IpamRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRolesCreate(ctx context.Context, body IpamRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesBulkUpdate request with any body + IpamRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRolesBulkUpdate(ctx context.Context, body IpamRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesDestroy request + IpamRolesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesRetrieve request + IpamRolesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesPartialUpdate request with any body + IpamRolesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRolesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesUpdate request with any body + IpamRolesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // IpamRouteTargetsList request + IpamRouteTargetsList(ctx context.Context, params *IpamRouteTargetsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsBulkPartialUpdate request with any body + IpamRouteTargetsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRouteTargetsBulkPartialUpdate(ctx context.Context, body IpamRouteTargetsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsCreate request with any body + IpamRouteTargetsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRouteTargetsCreate(ctx context.Context, body IpamRouteTargetsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsBulkUpdate request with any body + IpamRouteTargetsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRouteTargetsBulkUpdate(ctx context.Context, body IpamRouteTargetsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsDestroy request + IpamRouteTargetsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsRetrieve request + IpamRouteTargetsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsPartialUpdate request with any body + IpamRouteTargetsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRouteTargetsPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsUpdate request with any body + IpamRouteTargetsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // IpamServicesList request + IpamServicesList(ctx context.Context, params *IpamServicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesBulkPartialUpdate request with any body + IpamServicesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServicesBulkPartialUpdate(ctx context.Context, body IpamServicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesCreate request with any body + IpamServicesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServicesCreate(ctx context.Context, body IpamServicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesBulkUpdate request with any body + IpamServicesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServicesBulkUpdate(ctx context.Context, body IpamServicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesDestroy request + IpamServicesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesRetrieve request + IpamServicesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesPartialUpdate request with any body + IpamServicesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServicesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamServicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesUpdate request with any body + IpamServicesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // IpamVlanGroupsList request + IpamVlanGroupsList(ctx context.Context, params *IpamVlanGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsBulkPartialUpdate request with any body + IpamVlanGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsBulkPartialUpdate(ctx context.Context, body IpamVlanGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsCreate request with any body + IpamVlanGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsCreate(ctx context.Context, body IpamVlanGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsBulkUpdate request with any body + IpamVlanGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsBulkUpdate(ctx context.Context, body IpamVlanGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsDestroy request + IpamVlanGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsRetrieve request + IpamVlanGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsPartialUpdate request with any body + IpamVlanGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsUpdate request with any body + IpamVlanGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // IpamVlansList request + IpamVlansList(ctx context.Context, params *IpamVlansListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansBulkPartialUpdate request with any body + IpamVlansBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlansBulkPartialUpdate(ctx context.Context, body IpamVlansBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansCreate request with any body + IpamVlansCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlansCreate(ctx context.Context, body IpamVlansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansBulkUpdate request with any body + IpamVlansBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlansBulkUpdate(ctx context.Context, body IpamVlansBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansDestroy request + IpamVlansDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansRetrieve request + IpamVlansRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansPartialUpdate request with any body + IpamVlansPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlansPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamVlansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansUpdate request with any body + IpamVlansUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // IpamVrfsList request + IpamVrfsList(ctx context.Context, params *IpamVrfsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsBulkPartialUpdate request with any body + IpamVrfsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVrfsBulkPartialUpdate(ctx context.Context, body IpamVrfsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsCreate request with any body + IpamVrfsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVrfsCreate(ctx context.Context, body IpamVrfsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsBulkUpdate request with any body + IpamVrfsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVrfsBulkUpdate(ctx context.Context, body IpamVrfsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsDestroy request + IpamVrfsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsRetrieve request + IpamVrfsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsPartialUpdate request with any body + IpamVrfsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVrfsPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamVrfsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsUpdate request with any body + IpamVrfsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsChatopsAccessgrantList request + PluginsChatopsAccessgrantList(ctx context.Context, params *PluginsChatopsAccessgrantListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsAccessgrantBulkPartialUpdate request with any body + PluginsChatopsAccessgrantBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsAccessgrantBulkPartialUpdate(ctx context.Context, body PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsAccessgrantCreate request with any body + PluginsChatopsAccessgrantCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsAccessgrantCreate(ctx context.Context, body PluginsChatopsAccessgrantCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsAccessgrantBulkUpdate request with any body + PluginsChatopsAccessgrantBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsAccessgrantBulkUpdate(ctx context.Context, body PluginsChatopsAccessgrantBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsAccessgrantDestroy request + PluginsChatopsAccessgrantDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsAccessgrantRetrieve request + PluginsChatopsAccessgrantRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsAccessgrantPartialUpdate request with any body + PluginsChatopsAccessgrantPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsAccessgrantPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsChatopsAccessgrantPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsAccessgrantUpdate request with any body + PluginsChatopsAccessgrantUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsChatopsCommandtokenList request + PluginsChatopsCommandtokenList(ctx context.Context, params *PluginsChatopsCommandtokenListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsCommandtokenBulkPartialUpdate request with any body + PluginsChatopsCommandtokenBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsCommandtokenBulkPartialUpdate(ctx context.Context, body PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsCommandtokenCreate request with any body + PluginsChatopsCommandtokenCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsCommandtokenCreate(ctx context.Context, body PluginsChatopsCommandtokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsCommandtokenBulkUpdate request with any body + PluginsChatopsCommandtokenBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsCommandtokenBulkUpdate(ctx context.Context, body PluginsChatopsCommandtokenBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsCommandtokenDestroy request + PluginsChatopsCommandtokenDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsCommandtokenRetrieve request + PluginsChatopsCommandtokenRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsCommandtokenPartialUpdate request with any body + PluginsChatopsCommandtokenPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsCommandtokenPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsChatopsCommandtokenPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsCommandtokenUpdate request with any body + PluginsChatopsCommandtokenUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsCircuitMaintenanceCircuitimpactList request + PluginsCircuitMaintenanceCircuitimpactList(ctx context.Context, params *PluginsCircuitMaintenanceCircuitimpactListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate request with any body + PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceCircuitimpactCreate request with any body + PluginsCircuitMaintenanceCircuitimpactCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceCircuitimpactCreate(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceCircuitimpactBulkUpdate request with any body + PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceCircuitimpactBulkUpdate(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceCircuitimpactDestroy request + PluginsCircuitMaintenanceCircuitimpactDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceCircuitimpactRetrieve request + PluginsCircuitMaintenanceCircuitimpactRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceCircuitimpactPartialUpdate request with any body + PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceCircuitimpactPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceCircuitimpactUpdate request with any body + PluginsCircuitMaintenanceCircuitimpactUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsCircuitMaintenanceMaintenanceList request + PluginsCircuitMaintenanceMaintenanceList(ctx context.Context, params *PluginsCircuitMaintenanceMaintenanceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate request with any body + PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceMaintenanceCreate request with any body + PluginsCircuitMaintenanceMaintenanceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceMaintenanceCreate(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceMaintenanceBulkUpdate request with any body + PluginsCircuitMaintenanceMaintenanceBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceMaintenanceBulkUpdate(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceMaintenanceDestroy request + PluginsCircuitMaintenanceMaintenanceDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceMaintenanceRetrieve request + PluginsCircuitMaintenanceMaintenanceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceMaintenancePartialUpdate request with any body + PluginsCircuitMaintenanceMaintenancePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceMaintenancePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceMaintenanceUpdate request with any body + PluginsCircuitMaintenanceMaintenanceUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsCircuitMaintenanceNoteList request + PluginsCircuitMaintenanceNoteList(ctx context.Context, params *PluginsCircuitMaintenanceNoteListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceNoteBulkPartialUpdate request with any body + PluginsCircuitMaintenanceNoteBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceNoteBulkPartialUpdate(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceNoteCreate request with any body + PluginsCircuitMaintenanceNoteCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceNoteCreate(ctx context.Context, body PluginsCircuitMaintenanceNoteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceNoteBulkUpdate request with any body + PluginsCircuitMaintenanceNoteBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceNoteBulkUpdate(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceNoteDestroy request + PluginsCircuitMaintenanceNoteDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceNoteRetrieve request + PluginsCircuitMaintenanceNoteRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceNotePartialUpdate request with any body + PluginsCircuitMaintenanceNotePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceNotePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceNoteUpdate request with any body + PluginsCircuitMaintenanceNoteUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceNoteUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceNoteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsCircuitMaintenanceNotificationsourceList request + PluginsCircuitMaintenanceNotificationsourceList(ctx context.Context, params *PluginsCircuitMaintenanceNotificationsourceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // 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) + + // PluginsDataValidationEngineRulesMinMaxList request + PluginsDataValidationEngineRulesMinMaxList(ctx context.Context, params *PluginsDataValidationEngineRulesMinMaxListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate request with any body + PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesMinMaxCreate request with any body + PluginsDataValidationEngineRulesMinMaxCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesMinMaxCreate(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesMinMaxBulkUpdate request with any body + PluginsDataValidationEngineRulesMinMaxBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesMinMaxBulkUpdate(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesMinMaxDestroy request + PluginsDataValidationEngineRulesMinMaxDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesMinMaxRetrieve request + PluginsDataValidationEngineRulesMinMaxRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesMinMaxPartialUpdate request with any body + PluginsDataValidationEngineRulesMinMaxPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesMinMaxPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesMinMaxUpdate request with any body + PluginsDataValidationEngineRulesMinMaxUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsDataValidationEngineRulesRegexList request + PluginsDataValidationEngineRulesRegexList(ctx context.Context, params *PluginsDataValidationEngineRulesRegexListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesRegexBulkPartialUpdate request with any body + PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesRegexBulkPartialUpdate(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesRegexCreate request with any body + PluginsDataValidationEngineRulesRegexCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesRegexCreate(ctx context.Context, body PluginsDataValidationEngineRulesRegexCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesRegexBulkUpdate request with any body + PluginsDataValidationEngineRulesRegexBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesRegexBulkUpdate(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesRegexDestroy request + PluginsDataValidationEngineRulesRegexDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesRegexRetrieve request + PluginsDataValidationEngineRulesRegexRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesRegexPartialUpdate request with any body + PluginsDataValidationEngineRulesRegexPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesRegexPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDataValidationEngineRulesRegexUpdate request with any body + PluginsDataValidationEngineRulesRegexUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesRegexUpdate(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDeviceOnboardingOnboardingList request + PluginsDeviceOnboardingOnboardingList(ctx context.Context, params *PluginsDeviceOnboardingOnboardingListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDeviceOnboardingOnboardingCreate request with any body + PluginsDeviceOnboardingOnboardingCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDeviceOnboardingOnboardingCreate(ctx context.Context, body PluginsDeviceOnboardingOnboardingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsDeviceOnboardingOnboardingDestroy request + PluginsDeviceOnboardingOnboardingDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // 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) + + // PluginsGoldenConfigComplianceFeatureList request + PluginsGoldenConfigComplianceFeatureList(ctx context.Context, params *PluginsGoldenConfigComplianceFeatureListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceFeatureBulkPartialUpdate request with any body + PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceFeatureBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceFeatureCreate request with any body + PluginsGoldenConfigComplianceFeatureCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceFeatureCreate(ctx context.Context, body PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceFeatureBulkUpdate request with any body + PluginsGoldenConfigComplianceFeatureBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceFeatureBulkUpdate(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceFeatureDestroy request + PluginsGoldenConfigComplianceFeatureDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceFeatureRetrieve request + PluginsGoldenConfigComplianceFeatureRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceFeaturePartialUpdate request with any body + PluginsGoldenConfigComplianceFeaturePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceFeaturePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceFeatureUpdate request with any body + PluginsGoldenConfigComplianceFeatureUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsGoldenConfigComplianceRuleList request + PluginsGoldenConfigComplianceRuleList(ctx context.Context, params *PluginsGoldenConfigComplianceRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceRuleBulkPartialUpdate request with any body + PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceRuleBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceRuleCreate request with any body + PluginsGoldenConfigComplianceRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceRuleCreate(ctx context.Context, body PluginsGoldenConfigComplianceRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceRuleBulkUpdate request with any body + PluginsGoldenConfigComplianceRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceRuleBulkUpdate(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceRuleDestroy request + PluginsGoldenConfigComplianceRuleDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceRuleRetrieve request + PluginsGoldenConfigComplianceRuleRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceRulePartialUpdate request with any body + PluginsGoldenConfigComplianceRulePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceRulePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceRuleUpdate request with any body + PluginsGoldenConfigComplianceRuleUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsGoldenConfigConfigComplianceList request + PluginsGoldenConfigConfigComplianceList(ctx context.Context, params *PluginsGoldenConfigConfigComplianceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigComplianceBulkPartialUpdate request with any body + PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigComplianceBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigComplianceCreate request with any body + PluginsGoldenConfigConfigComplianceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigComplianceCreate(ctx context.Context, body PluginsGoldenConfigConfigComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigComplianceBulkUpdate request with any body + PluginsGoldenConfigConfigComplianceBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigComplianceBulkUpdate(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigComplianceDestroy request + PluginsGoldenConfigConfigComplianceDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigComplianceRetrieve request + PluginsGoldenConfigConfigComplianceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigCompliancePartialUpdate request with any body + PluginsGoldenConfigConfigCompliancePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigCompliancePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigComplianceUpdate request with any body + PluginsGoldenConfigConfigComplianceUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsGoldenConfigConfigRemoveList request + PluginsGoldenConfigConfigRemoveList(ctx context.Context, params *PluginsGoldenConfigConfigRemoveListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigRemoveBulkPartialUpdate request with any body + PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigRemoveBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigRemoveCreate request with any body + PluginsGoldenConfigConfigRemoveCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigRemoveCreate(ctx context.Context, body PluginsGoldenConfigConfigRemoveCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigRemoveBulkUpdate request with any body + PluginsGoldenConfigConfigRemoveBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigRemoveBulkUpdate(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigRemoveDestroy request + PluginsGoldenConfigConfigRemoveDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigRemoveRetrieve request + PluginsGoldenConfigConfigRemoveRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigRemovePartialUpdate request with any body + PluginsGoldenConfigConfigRemovePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigRemovePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigRemoveUpdate request with any body + PluginsGoldenConfigConfigRemoveUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsGoldenConfigConfigReplaceList request + PluginsGoldenConfigConfigReplaceList(ctx context.Context, params *PluginsGoldenConfigConfigReplaceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigReplaceBulkPartialUpdate request with any body + PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigReplaceBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigReplaceCreate request with any body + PluginsGoldenConfigConfigReplaceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigReplaceCreate(ctx context.Context, body PluginsGoldenConfigConfigReplaceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigReplaceBulkUpdate request with any body + PluginsGoldenConfigConfigReplaceBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigReplaceBulkUpdate(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigReplaceDestroy request + PluginsGoldenConfigConfigReplaceDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigReplaceRetrieve request + PluginsGoldenConfigConfigReplaceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigReplacePartialUpdate request with any body + PluginsGoldenConfigConfigReplacePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigReplacePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigReplaceUpdate request with any body + PluginsGoldenConfigConfigReplaceUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsGoldenConfigGoldenConfigSettingsList request + PluginsGoldenConfigGoldenConfigSettingsList(ctx context.Context, params *PluginsGoldenConfigGoldenConfigSettingsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate request with any body + PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigSettingsCreate request with any body + PluginsGoldenConfigGoldenConfigSettingsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigSettingsCreate(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigSettingsBulkUpdate request with any body + PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigSettingsBulkUpdate(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigSettingsDestroy request + PluginsGoldenConfigGoldenConfigSettingsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigSettingsRetrieve request + PluginsGoldenConfigGoldenConfigSettingsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigSettingsPartialUpdate request with any body + PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigSettingsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigSettingsUpdate request with any body + PluginsGoldenConfigGoldenConfigSettingsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsGoldenConfigGoldenConfigList request + PluginsGoldenConfigGoldenConfigList(ctx context.Context, params *PluginsGoldenConfigGoldenConfigListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigBulkPartialUpdate request with any body + PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigCreate request with any body + PluginsGoldenConfigGoldenConfigCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigCreate(ctx context.Context, body PluginsGoldenConfigGoldenConfigCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigBulkUpdate request with any body + PluginsGoldenConfigGoldenConfigBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigBulkUpdate(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigDestroy request + PluginsGoldenConfigGoldenConfigDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigRetrieve request + PluginsGoldenConfigGoldenConfigRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigPartialUpdate request with any body + PluginsGoldenConfigGoldenConfigPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigGoldenConfigUpdate request with any body + PluginsGoldenConfigGoldenConfigUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // 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) + + // PluginsNautobotDeviceLifecycleMgmtContactList request + PluginsNautobotDeviceLifecycleMgmtContactList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContactListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContactCreate request with any body + PluginsNautobotDeviceLifecycleMgmtContactCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContactCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContactDestroy request + PluginsNautobotDeviceLifecycleMgmtContactDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContactRetrieve request + PluginsNautobotDeviceLifecycleMgmtContactRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContactUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContactUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsNautobotDeviceLifecycleMgmtContractList request + PluginsNautobotDeviceLifecycleMgmtContractList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContractListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContractCreate request with any body + PluginsNautobotDeviceLifecycleMgmtContractCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContractCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContractDestroy request + PluginsNautobotDeviceLifecycleMgmtContractDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContractRetrieve request + PluginsNautobotDeviceLifecycleMgmtContractRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtContractUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContractUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsNautobotDeviceLifecycleMgmtCveList request + PluginsNautobotDeviceLifecycleMgmtCveList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtCveListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtCveCreate request with any body + PluginsNautobotDeviceLifecycleMgmtCveCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtCveCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtCveDestroy request + PluginsNautobotDeviceLifecycleMgmtCveDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtCveRetrieve request + PluginsNautobotDeviceLifecycleMgmtCveRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtCveUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtCveUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsNautobotDeviceLifecycleMgmtHardwareList request + PluginsNautobotDeviceLifecycleMgmtHardwareList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtHardwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareCreate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtHardwareCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareDestroy request + PluginsNautobotDeviceLifecycleMgmtHardwareDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareRetrieve request + PluginsNautobotDeviceLifecycleMgmtHardwareRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsNautobotDeviceLifecycleMgmtProviderList request + PluginsNautobotDeviceLifecycleMgmtProviderList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtProviderListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderCreate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtProviderCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderDestroy request + PluginsNautobotDeviceLifecycleMgmtProviderDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderRetrieve request + PluginsNautobotDeviceLifecycleMgmtProviderRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageList request + PluginsNautobotDeviceLifecycleMgmtSoftwareImageList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroy request + PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieve request + PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareList request + PluginsNautobotDeviceLifecycleMgmtSoftwareList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareCreate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareDestroy request + PluginsNautobotDeviceLifecycleMgmtSoftwareDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieve request + PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList request + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroy request + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieve request + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityList request + PluginsNautobotDeviceLifecycleMgmtVulnerabilityList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtVulnerabilityListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroy request + PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieve request + PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // StatusRetrieve request + StatusRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // SwaggerJsonRetrieve request + SwaggerJsonRetrieve(ctx context.Context, params *SwaggerJsonRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // SwaggerYamlRetrieve request + SwaggerYamlRetrieve(ctx context.Context, params *SwaggerYamlRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // SwaggerRetrieve request + SwaggerRetrieve(ctx context.Context, params *SwaggerRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsBulkDestroy request + TenancyTenantGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsList request + TenancyTenantGroupsList(ctx context.Context, params *TenancyTenantGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsBulkPartialUpdate request with any body + TenancyTenantGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantGroupsBulkPartialUpdate(ctx context.Context, body TenancyTenantGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsCreate request with any body + TenancyTenantGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantGroupsCreate(ctx context.Context, body TenancyTenantGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsBulkUpdate request with any body + TenancyTenantGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantGroupsBulkUpdate(ctx context.Context, body TenancyTenantGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsDestroy request + TenancyTenantGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsRetrieve request + TenancyTenantGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsPartialUpdate request with any body + TenancyTenantGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsUpdate request with any body + TenancyTenantGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // TenancyTenantsList request + TenancyTenantsList(ctx context.Context, params *TenancyTenantsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsBulkPartialUpdate request with any body + TenancyTenantsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsBulkPartialUpdate(ctx context.Context, body TenancyTenantsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsCreate request with any body + TenancyTenantsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsCreate(ctx context.Context, body TenancyTenantsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsBulkUpdate request with any body + TenancyTenantsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsBulkUpdate(ctx context.Context, body TenancyTenantsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsDestroy request + TenancyTenantsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsRetrieve request + TenancyTenantsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsPartialUpdate request with any body + TenancyTenantsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsPartialUpdate(ctx context.Context, id openapi_types.UUID, body TenancyTenantsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsUpdate request with any body + TenancyTenantsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsUpdate(ctx context.Context, id openapi_types.UUID, body TenancyTenantsUpdateJSONRequestBody, 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) + + // UsersGroupsList request + UsersGroupsList(ctx context.Context, params *UsersGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsBulkPartialUpdate request with any body + UsersGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersGroupsBulkPartialUpdate(ctx context.Context, body UsersGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsCreate request with any body + UsersGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersGroupsCreate(ctx context.Context, body UsersGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsBulkUpdate request with any body + UsersGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersGroupsBulkUpdate(ctx context.Context, body UsersGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsDestroy request + UsersGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsRetrieve request + UsersGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsPartialUpdate request with any body + UsersGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersGroupsPartialUpdate(ctx context.Context, id int, body UsersGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersGroupsUpdate request with any body + UsersGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersGroupsUpdate(ctx context.Context, id int, body UsersGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsBulkDestroy request + UsersPermissionsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsList request + UsersPermissionsList(ctx context.Context, params *UsersPermissionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsBulkPartialUpdate request with any body + UsersPermissionsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersPermissionsBulkPartialUpdate(ctx context.Context, body UsersPermissionsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsCreate request with any body + UsersPermissionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersPermissionsCreate(ctx context.Context, body UsersPermissionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsBulkUpdate request with any body + UsersPermissionsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersPermissionsBulkUpdate(ctx context.Context, body UsersPermissionsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsDestroy request + UsersPermissionsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsRetrieve request + UsersPermissionsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsPartialUpdate request with any body + UsersPermissionsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersPermissionsPartialUpdate(ctx context.Context, id openapi_types.UUID, body UsersPermissionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersPermissionsUpdate request with any body + UsersPermissionsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // UsersTokensList request + UsersTokensList(ctx context.Context, params *UsersTokensListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensBulkPartialUpdate request with any body + UsersTokensBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersTokensBulkPartialUpdate(ctx context.Context, body UsersTokensBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensCreate request with any body + UsersTokensCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersTokensCreate(ctx context.Context, body UsersTokensCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensBulkUpdate request with any body + UsersTokensBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersTokensBulkUpdate(ctx context.Context, body UsersTokensBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensDestroy request + UsersTokensDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensRetrieve request + UsersTokensRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensPartialUpdate request with any body + UsersTokensPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersTokensPartialUpdate(ctx context.Context, id openapi_types.UUID, body UsersTokensPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersTokensUpdate request with any body + UsersTokensUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // UsersUsersList request + UsersUsersList(ctx context.Context, params *UsersUsersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersBulkPartialUpdate request with any body + UsersUsersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersUsersBulkPartialUpdate(ctx context.Context, body UsersUsersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersCreate request with any body + UsersUsersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersUsersCreate(ctx context.Context, body UsersUsersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersBulkUpdate request with any body + UsersUsersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersUsersBulkUpdate(ctx context.Context, body UsersUsersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersDestroy request + UsersUsersDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersRetrieve request + UsersUsersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersPartialUpdate request with any body + UsersUsersPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersUsersPartialUpdate(ctx context.Context, id openapi_types.UUID, body UsersUsersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UsersUsersUpdate request with any body + UsersUsersUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // VirtualizationClusterGroupsList request + VirtualizationClusterGroupsList(ctx context.Context, params *VirtualizationClusterGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsBulkPartialUpdate request with any body + VirtualizationClusterGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterGroupsBulkPartialUpdate(ctx context.Context, body VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsCreate request with any body + VirtualizationClusterGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterGroupsCreate(ctx context.Context, body VirtualizationClusterGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsBulkUpdate request with any body + VirtualizationClusterGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterGroupsBulkUpdate(ctx context.Context, body VirtualizationClusterGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsDestroy request + VirtualizationClusterGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsRetrieve request + VirtualizationClusterGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsPartialUpdate request with any body + VirtualizationClusterGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsUpdate request with any body + VirtualizationClusterGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // VirtualizationClusterTypesList request + VirtualizationClusterTypesList(ctx context.Context, params *VirtualizationClusterTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesBulkPartialUpdate request with any body + VirtualizationClusterTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterTypesBulkPartialUpdate(ctx context.Context, body VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesCreate request with any body + VirtualizationClusterTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterTypesCreate(ctx context.Context, body VirtualizationClusterTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesBulkUpdate request with any body + VirtualizationClusterTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterTypesBulkUpdate(ctx context.Context, body VirtualizationClusterTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesDestroy request + VirtualizationClusterTypesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesRetrieve request + VirtualizationClusterTypesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesPartialUpdate request with any body + VirtualizationClusterTypesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterTypesPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesUpdate request with any body + VirtualizationClusterTypesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // VirtualizationClustersList request + VirtualizationClustersList(ctx context.Context, params *VirtualizationClustersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersBulkPartialUpdate request with any body + VirtualizationClustersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClustersBulkPartialUpdate(ctx context.Context, body VirtualizationClustersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersCreate request with any body + VirtualizationClustersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClustersCreate(ctx context.Context, body VirtualizationClustersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersBulkUpdate request with any body + VirtualizationClustersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClustersBulkUpdate(ctx context.Context, body VirtualizationClustersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersDestroy request + VirtualizationClustersDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersRetrieve request + VirtualizationClustersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersPartialUpdate request with any body + VirtualizationClustersPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClustersPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersUpdate request with any body + VirtualizationClustersUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // VirtualizationInterfacesList request + VirtualizationInterfacesList(ctx context.Context, params *VirtualizationInterfacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesBulkPartialUpdate request with any body + VirtualizationInterfacesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationInterfacesBulkPartialUpdate(ctx context.Context, body VirtualizationInterfacesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesCreate request with any body + VirtualizationInterfacesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationInterfacesCreate(ctx context.Context, body VirtualizationInterfacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesBulkUpdate request with any body + VirtualizationInterfacesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationInterfacesBulkUpdate(ctx context.Context, body VirtualizationInterfacesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesDestroy request + VirtualizationInterfacesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesRetrieve request + VirtualizationInterfacesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesPartialUpdate request with any body + VirtualizationInterfacesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationInterfacesPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesUpdate request with any body + VirtualizationInterfacesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + 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) + + // VirtualizationVirtualMachinesList request + VirtualizationVirtualMachinesList(ctx context.Context, params *VirtualizationVirtualMachinesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesBulkPartialUpdate request with any body + VirtualizationVirtualMachinesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationVirtualMachinesBulkPartialUpdate(ctx context.Context, body VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesCreate request with any body + VirtualizationVirtualMachinesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationVirtualMachinesCreate(ctx context.Context, body VirtualizationVirtualMachinesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesBulkUpdate request with any body + VirtualizationVirtualMachinesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationVirtualMachinesBulkUpdate(ctx context.Context, body VirtualizationVirtualMachinesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesDestroy request + VirtualizationVirtualMachinesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesRetrieve request + VirtualizationVirtualMachinesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesPartialUpdate request with any body + VirtualizationVirtualMachinesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationVirtualMachinesPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesUpdate request with any body + 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) +} + +func (c *Client) CircuitsCircuitTerminationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTerminationsList(ctx context.Context, params *CircuitsCircuitTerminationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsListRequest(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) CircuitsCircuitTerminationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsBulkPartialUpdateRequestWithBody(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) CircuitsCircuitTerminationsBulkPartialUpdate(ctx context.Context, body CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsBulkPartialUpdateRequest(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) CircuitsCircuitTerminationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsCreateRequestWithBody(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) CircuitsCircuitTerminationsCreate(ctx context.Context, body CircuitsCircuitTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsCreateRequest(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) CircuitsCircuitTerminationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsBulkUpdateRequestWithBody(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) CircuitsCircuitTerminationsBulkUpdate(ctx context.Context, body CircuitsCircuitTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsBulkUpdateRequest(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) CircuitsCircuitTerminationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsDestroyRequest(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) CircuitsCircuitTerminationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsRetrieveRequest(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) CircuitsCircuitTerminationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsPartialUpdateRequestWithBody(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) CircuitsCircuitTerminationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsPartialUpdateRequest(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) CircuitsCircuitTerminationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsUpdateRequestWithBody(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) CircuitsCircuitTerminationsUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTypesList(ctx context.Context, params *CircuitsCircuitTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesListRequest(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) CircuitsCircuitTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesBulkPartialUpdateRequestWithBody(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) CircuitsCircuitTypesBulkPartialUpdate(ctx context.Context, body CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesBulkPartialUpdateRequest(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) CircuitsCircuitTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesCreateRequestWithBody(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) CircuitsCircuitTypesCreate(ctx context.Context, body CircuitsCircuitTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesCreateRequest(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) CircuitsCircuitTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesBulkUpdateRequestWithBody(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) CircuitsCircuitTypesBulkUpdate(ctx context.Context, body CircuitsCircuitTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesBulkUpdateRequest(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) CircuitsCircuitTypesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesDestroyRequest(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) CircuitsCircuitTypesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesRetrieveRequest(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) CircuitsCircuitTypesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesPartialUpdateRequestWithBody(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) CircuitsCircuitTypesPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesPartialUpdateRequest(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) CircuitsCircuitTypesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesUpdateRequestWithBody(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) CircuitsCircuitTypesUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesUpdateRequest(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) CircuitsCircuitsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitsList(ctx context.Context, params *CircuitsCircuitsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsListRequest(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) CircuitsCircuitsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsBulkPartialUpdateRequestWithBody(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) CircuitsCircuitsBulkPartialUpdate(ctx context.Context, body CircuitsCircuitsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsBulkPartialUpdateRequest(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) CircuitsCircuitsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsCreateRequestWithBody(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) CircuitsCircuitsCreate(ctx context.Context, body CircuitsCircuitsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsCreateRequest(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) CircuitsCircuitsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsBulkUpdateRequestWithBody(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) CircuitsCircuitsBulkUpdate(ctx context.Context, body CircuitsCircuitsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsBulkUpdateRequest(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) CircuitsCircuitsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsDestroyRequest(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) CircuitsCircuitsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsRetrieveRequest(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) CircuitsCircuitsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsPartialUpdateRequestWithBody(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) CircuitsCircuitsPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsPartialUpdateRequest(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) CircuitsCircuitsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsUpdateRequestWithBody(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) CircuitsCircuitsUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsUpdateRequest(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) CircuitsProviderNetworksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderNetworksList(ctx context.Context, params *CircuitsProviderNetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksListRequest(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) CircuitsProviderNetworksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksBulkPartialUpdateRequestWithBody(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) CircuitsProviderNetworksBulkPartialUpdate(ctx context.Context, body CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksBulkPartialUpdateRequest(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) CircuitsProviderNetworksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksCreateRequestWithBody(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) CircuitsProviderNetworksCreate(ctx context.Context, body CircuitsProviderNetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksCreateRequest(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) CircuitsProviderNetworksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksBulkUpdateRequestWithBody(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) CircuitsProviderNetworksBulkUpdate(ctx context.Context, body CircuitsProviderNetworksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksBulkUpdateRequest(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) CircuitsProviderNetworksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksDestroyRequest(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) CircuitsProviderNetworksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksRetrieveRequest(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) CircuitsProviderNetworksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksPartialUpdateRequestWithBody(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) CircuitsProviderNetworksPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksPartialUpdateRequest(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) CircuitsProviderNetworksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksUpdateRequestWithBody(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) CircuitsProviderNetworksUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksUpdateRequest(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) CircuitsProvidersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProvidersList(ctx context.Context, params *CircuitsProvidersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersListRequest(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) CircuitsProvidersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersBulkPartialUpdateRequestWithBody(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) CircuitsProvidersBulkPartialUpdate(ctx context.Context, body CircuitsProvidersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersBulkPartialUpdateRequest(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) CircuitsProvidersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersCreateRequestWithBody(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) CircuitsProvidersCreate(ctx context.Context, body CircuitsProvidersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersCreateRequest(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) CircuitsProvidersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersBulkUpdateRequestWithBody(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) CircuitsProvidersBulkUpdate(ctx context.Context, body CircuitsProvidersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersBulkUpdateRequest(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) CircuitsProvidersDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersDestroyRequest(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) CircuitsProvidersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersRetrieveRequest(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) CircuitsProvidersPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersPartialUpdateRequestWithBody(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) CircuitsProvidersPartialUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersPartialUpdateRequest(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) CircuitsProvidersUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersUpdateRequestWithBody(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) CircuitsProvidersUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersUpdateRequest(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) DcimCablesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCablesList(ctx context.Context, params *DcimCablesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesListRequest(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) DcimCablesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesBulkPartialUpdateRequestWithBody(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) DcimCablesBulkPartialUpdate(ctx context.Context, body DcimCablesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesBulkPartialUpdateRequest(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) DcimCablesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesCreateRequestWithBody(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) DcimCablesCreate(ctx context.Context, body DcimCablesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesCreateRequest(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) DcimCablesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesBulkUpdateRequestWithBody(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) DcimCablesBulkUpdate(ctx context.Context, body DcimCablesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesBulkUpdateRequest(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) DcimCablesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesDestroyRequest(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) DcimCablesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesRetrieveRequest(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) DcimCablesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesPartialUpdateRequestWithBody(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) DcimCablesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimCablesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesPartialUpdateRequest(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) DcimCablesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesUpdateRequestWithBody(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) DcimCablesUpdate(ctx context.Context, id openapi_types.UUID, body DcimCablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesUpdateRequest(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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleConnectionsList(ctx context.Context, params *DcimConsoleConnectionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleConnectionsListRequest(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) DcimConsolePortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortTemplatesList(ctx context.Context, params *DcimConsolePortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesListRequest(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) DcimConsolePortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesBulkPartialUpdateRequestWithBody(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) DcimConsolePortTemplatesBulkPartialUpdate(ctx context.Context, body DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesBulkPartialUpdateRequest(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) DcimConsolePortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesCreateRequestWithBody(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) DcimConsolePortTemplatesCreate(ctx context.Context, body DcimConsolePortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesCreateRequest(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) DcimConsolePortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesBulkUpdateRequestWithBody(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) DcimConsolePortTemplatesBulkUpdate(ctx context.Context, body DcimConsolePortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesBulkUpdateRequest(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) DcimConsolePortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesDestroyRequest(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) DcimConsolePortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesRetrieveRequest(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) DcimConsolePortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesPartialUpdateRequestWithBody(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) DcimConsolePortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesPartialUpdateRequest(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) DcimConsolePortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesUpdateRequestWithBody(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) DcimConsolePortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesUpdateRequest(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) DcimConsolePortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortsList(ctx context.Context, params *DcimConsolePortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsListRequest(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) DcimConsolePortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsBulkPartialUpdateRequestWithBody(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) DcimConsolePortsBulkPartialUpdate(ctx context.Context, body DcimConsolePortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsBulkPartialUpdateRequest(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) DcimConsolePortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsCreateRequestWithBody(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) DcimConsolePortsCreate(ctx context.Context, body DcimConsolePortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsCreateRequest(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) DcimConsolePortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsBulkUpdateRequestWithBody(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) DcimConsolePortsBulkUpdate(ctx context.Context, body DcimConsolePortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsBulkUpdateRequest(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) DcimConsolePortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsDestroyRequest(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) DcimConsolePortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsRetrieveRequest(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) DcimConsolePortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsPartialUpdateRequestWithBody(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) DcimConsolePortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsPartialUpdateRequest(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) DcimConsolePortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsUpdateRequestWithBody(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) DcimConsolePortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortTemplatesList(ctx context.Context, params *DcimConsoleServerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesListRequest(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) DcimConsoleServerPortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesBulkPartialUpdateRequestWithBody(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) DcimConsoleServerPortTemplatesBulkPartialUpdate(ctx context.Context, body DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesBulkPartialUpdateRequest(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) DcimConsoleServerPortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesCreateRequestWithBody(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) DcimConsoleServerPortTemplatesCreate(ctx context.Context, body DcimConsoleServerPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesCreateRequest(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) DcimConsoleServerPortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesBulkUpdateRequestWithBody(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) DcimConsoleServerPortTemplatesBulkUpdate(ctx context.Context, body DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesBulkUpdateRequest(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) DcimConsoleServerPortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesDestroyRequest(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) DcimConsoleServerPortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesRetrieveRequest(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) DcimConsoleServerPortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesPartialUpdateRequestWithBody(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) DcimConsoleServerPortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesPartialUpdateRequest(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) DcimConsoleServerPortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesUpdateRequestWithBody(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) DcimConsoleServerPortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesUpdateRequest(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) DcimConsoleServerPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortsList(ctx context.Context, params *DcimConsoleServerPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsListRequest(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) DcimConsoleServerPortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsBulkPartialUpdateRequestWithBody(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) DcimConsoleServerPortsBulkPartialUpdate(ctx context.Context, body DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsBulkPartialUpdateRequest(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) DcimConsoleServerPortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsCreateRequestWithBody(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) DcimConsoleServerPortsCreate(ctx context.Context, body DcimConsoleServerPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsCreateRequest(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) DcimConsoleServerPortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsBulkUpdateRequestWithBody(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) DcimConsoleServerPortsBulkUpdate(ctx context.Context, body DcimConsoleServerPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsBulkUpdateRequest(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) DcimConsoleServerPortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsDestroyRequest(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) DcimConsoleServerPortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsRetrieveRequest(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) DcimConsoleServerPortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsPartialUpdateRequestWithBody(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) DcimConsoleServerPortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsPartialUpdateRequest(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) DcimConsoleServerPortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsUpdateRequestWithBody(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) DcimConsoleServerPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBayTemplatesList(ctx context.Context, params *DcimDeviceBayTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesListRequest(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) DcimDeviceBayTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesBulkPartialUpdateRequestWithBody(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) DcimDeviceBayTemplatesBulkPartialUpdate(ctx context.Context, body DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesBulkPartialUpdateRequest(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) DcimDeviceBayTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesCreateRequestWithBody(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) DcimDeviceBayTemplatesCreate(ctx context.Context, body DcimDeviceBayTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesCreateRequest(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) DcimDeviceBayTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesBulkUpdateRequestWithBody(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) DcimDeviceBayTemplatesBulkUpdate(ctx context.Context, body DcimDeviceBayTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesBulkUpdateRequest(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) DcimDeviceBayTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesDestroyRequest(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) DcimDeviceBayTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesRetrieveRequest(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) DcimDeviceBayTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesPartialUpdateRequestWithBody(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) DcimDeviceBayTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesPartialUpdateRequest(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) DcimDeviceBayTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesUpdateRequestWithBody(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) DcimDeviceBayTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesUpdateRequest(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) DcimDeviceBaysBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBaysList(ctx context.Context, params *DcimDeviceBaysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysListRequest(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) DcimDeviceBaysBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysBulkPartialUpdateRequestWithBody(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) DcimDeviceBaysBulkPartialUpdate(ctx context.Context, body DcimDeviceBaysBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysBulkPartialUpdateRequest(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) DcimDeviceBaysCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysCreateRequestWithBody(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) DcimDeviceBaysCreate(ctx context.Context, body DcimDeviceBaysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysCreateRequest(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) DcimDeviceBaysBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysBulkUpdateRequestWithBody(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) DcimDeviceBaysBulkUpdate(ctx context.Context, body DcimDeviceBaysBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysBulkUpdateRequest(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) DcimDeviceBaysDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysDestroyRequest(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) DcimDeviceBaysRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysRetrieveRequest(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) DcimDeviceBaysPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysPartialUpdateRequestWithBody(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) DcimDeviceBaysPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysPartialUpdateRequest(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) DcimDeviceBaysUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysUpdateRequestWithBody(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) DcimDeviceBaysUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysUpdateRequest(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) DcimDeviceRolesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRolesList(ctx context.Context, params *DcimDeviceRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesListRequest(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) DcimDeviceRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesBulkPartialUpdateRequestWithBody(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) DcimDeviceRolesBulkPartialUpdate(ctx context.Context, body DcimDeviceRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesBulkPartialUpdateRequest(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) DcimDeviceRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesCreateRequestWithBody(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) DcimDeviceRolesCreate(ctx context.Context, body DcimDeviceRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesCreateRequest(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) DcimDeviceRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesBulkUpdateRequestWithBody(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) DcimDeviceRolesBulkUpdate(ctx context.Context, body DcimDeviceRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesBulkUpdateRequest(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) DcimDeviceRolesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesDestroyRequest(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) DcimDeviceRolesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesRetrieveRequest(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) DcimDeviceRolesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesPartialUpdateRequestWithBody(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) DcimDeviceRolesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesPartialUpdateRequest(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) DcimDeviceRolesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesUpdateRequestWithBody(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) DcimDeviceRolesUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesUpdateRequest(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) DcimDeviceTypesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceTypesList(ctx context.Context, params *DcimDeviceTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesListRequest(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) DcimDeviceTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesBulkPartialUpdateRequestWithBody(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) DcimDeviceTypesBulkPartialUpdate(ctx context.Context, body DcimDeviceTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesBulkPartialUpdateRequest(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) DcimDeviceTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesCreateRequestWithBody(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) DcimDeviceTypesCreate(ctx context.Context, body DcimDeviceTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesCreateRequest(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) DcimDeviceTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesBulkUpdateRequestWithBody(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) DcimDeviceTypesBulkUpdate(ctx context.Context, body DcimDeviceTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesBulkUpdateRequest(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) DcimDeviceTypesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesDestroyRequest(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) DcimDeviceTypesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesRetrieveRequest(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) DcimDeviceTypesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesPartialUpdateRequestWithBody(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) DcimDeviceTypesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesPartialUpdateRequest(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) DcimDeviceTypesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesUpdateRequestWithBody(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) DcimDeviceTypesUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesUpdateRequest(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) DcimDevicesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDevicesList(ctx context.Context, params *DcimDevicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesListRequest(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) DcimDevicesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesBulkPartialUpdateRequestWithBody(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) DcimDevicesBulkPartialUpdate(ctx context.Context, body DcimDevicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesBulkPartialUpdateRequest(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) DcimDevicesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesCreateRequestWithBody(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) DcimDevicesCreate(ctx context.Context, body DcimDevicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesCreateRequest(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) DcimDevicesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesBulkUpdateRequestWithBody(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) DcimDevicesBulkUpdate(ctx context.Context, body DcimDevicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesBulkUpdateRequest(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) DcimDevicesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesDestroyRequest(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) DcimDevicesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesRetrieveRequest(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) DcimDevicesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesPartialUpdateRequestWithBody(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) DcimDevicesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDevicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesPartialUpdateRequest(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) DcimDevicesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesUpdateRequestWithBody(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) DcimDevicesUpdate(ctx context.Context, id openapi_types.UUID, body DcimDevicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesUpdateRequest(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) DcimDevicesNapalmRetrieve(ctx context.Context, id openapi_types.UUID, params *DcimDevicesNapalmRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesNapalmRetrieveRequest(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) DcimFrontPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortTemplatesList(ctx context.Context, params *DcimFrontPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesListRequest(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) DcimFrontPortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesBulkPartialUpdateRequestWithBody(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) DcimFrontPortTemplatesBulkPartialUpdate(ctx context.Context, body DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesBulkPartialUpdateRequest(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) DcimFrontPortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesCreateRequestWithBody(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) DcimFrontPortTemplatesCreate(ctx context.Context, body DcimFrontPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesCreateRequest(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) DcimFrontPortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesBulkUpdateRequestWithBody(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) DcimFrontPortTemplatesBulkUpdate(ctx context.Context, body DcimFrontPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesBulkUpdateRequest(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) DcimFrontPortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesDestroyRequest(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) DcimFrontPortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesRetrieveRequest(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) DcimFrontPortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesPartialUpdateRequestWithBody(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) DcimFrontPortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesPartialUpdateRequest(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) DcimFrontPortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesUpdateRequestWithBody(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) DcimFrontPortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesUpdateRequest(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) DcimFrontPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortsList(ctx context.Context, params *DcimFrontPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsListRequest(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) DcimFrontPortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsBulkPartialUpdateRequestWithBody(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) DcimFrontPortsBulkPartialUpdate(ctx context.Context, body DcimFrontPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsBulkPartialUpdateRequest(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) DcimFrontPortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsCreateRequestWithBody(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) DcimFrontPortsCreate(ctx context.Context, body DcimFrontPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsCreateRequest(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) DcimFrontPortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsBulkUpdateRequestWithBody(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) DcimFrontPortsBulkUpdate(ctx context.Context, body DcimFrontPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsBulkUpdateRequest(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) DcimFrontPortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsDestroyRequest(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) DcimFrontPortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsRetrieveRequest(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) DcimFrontPortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsPartialUpdateRequestWithBody(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) DcimFrontPortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsPartialUpdateRequest(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) DcimFrontPortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsUpdateRequestWithBody(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) DcimFrontPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsUpdateRequest(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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfaceConnectionsList(ctx context.Context, params *DcimInterfaceConnectionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceConnectionsListRequest(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) DcimInterfaceTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfaceTemplatesList(ctx context.Context, params *DcimInterfaceTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesListRequest(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) DcimInterfaceTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesBulkPartialUpdateRequestWithBody(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) DcimInterfaceTemplatesBulkPartialUpdate(ctx context.Context, body DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesBulkPartialUpdateRequest(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) DcimInterfaceTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesCreateRequestWithBody(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) DcimInterfaceTemplatesCreate(ctx context.Context, body DcimInterfaceTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesCreateRequest(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) DcimInterfaceTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesBulkUpdateRequestWithBody(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) DcimInterfaceTemplatesBulkUpdate(ctx context.Context, body DcimInterfaceTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesBulkUpdateRequest(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) DcimInterfaceTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesDestroyRequest(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) DcimInterfaceTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesRetrieveRequest(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) DcimInterfaceTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesPartialUpdateRequestWithBody(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) DcimInterfaceTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesPartialUpdateRequest(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) DcimInterfaceTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesUpdateRequestWithBody(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) DcimInterfaceTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesUpdateRequest(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) DcimInterfacesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfacesList(ctx context.Context, params *DcimInterfacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesListRequest(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) DcimInterfacesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesBulkPartialUpdateRequestWithBody(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) DcimInterfacesBulkPartialUpdate(ctx context.Context, body DcimInterfacesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesBulkPartialUpdateRequest(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) DcimInterfacesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesCreateRequestWithBody(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) DcimInterfacesCreate(ctx context.Context, body DcimInterfacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesCreateRequest(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) DcimInterfacesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesBulkUpdateRequestWithBody(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) DcimInterfacesBulkUpdate(ctx context.Context, body DcimInterfacesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesBulkUpdateRequest(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) DcimInterfacesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesDestroyRequest(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) DcimInterfacesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesRetrieveRequest(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) DcimInterfacesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesPartialUpdateRequestWithBody(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) DcimInterfacesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesPartialUpdateRequest(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) DcimInterfacesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesUpdateRequestWithBody(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) DcimInterfacesUpdate(ctx context.Context, id openapi_types.UUID, body DcimInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemsList(ctx context.Context, params *DcimInventoryItemsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsListRequest(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) DcimInventoryItemsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsBulkPartialUpdateRequestWithBody(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) DcimInventoryItemsBulkPartialUpdate(ctx context.Context, body DcimInventoryItemsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsBulkPartialUpdateRequest(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) DcimInventoryItemsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsCreateRequestWithBody(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) DcimInventoryItemsCreate(ctx context.Context, body DcimInventoryItemsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsCreateRequest(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) DcimInventoryItemsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsBulkUpdateRequestWithBody(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) DcimInventoryItemsBulkUpdate(ctx context.Context, body DcimInventoryItemsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsBulkUpdateRequest(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) DcimInventoryItemsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsDestroyRequest(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) DcimInventoryItemsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsRetrieveRequest(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) DcimInventoryItemsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsPartialUpdateRequestWithBody(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) DcimInventoryItemsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsPartialUpdateRequest(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) DcimInventoryItemsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsUpdateRequestWithBody(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) DcimInventoryItemsUpdate(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsUpdateRequest(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) DcimManufacturersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimManufacturersList(ctx context.Context, params *DcimManufacturersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersListRequest(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) DcimManufacturersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersBulkPartialUpdateRequestWithBody(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) DcimManufacturersBulkPartialUpdate(ctx context.Context, body DcimManufacturersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersBulkPartialUpdateRequest(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) DcimManufacturersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersCreateRequestWithBody(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) DcimManufacturersCreate(ctx context.Context, body DcimManufacturersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersCreateRequest(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) DcimManufacturersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersBulkUpdateRequestWithBody(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) DcimManufacturersBulkUpdate(ctx context.Context, body DcimManufacturersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersBulkUpdateRequest(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) DcimManufacturersDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersDestroyRequest(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) DcimManufacturersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersRetrieveRequest(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) DcimManufacturersPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersPartialUpdateRequestWithBody(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) DcimManufacturersPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimManufacturersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersPartialUpdateRequest(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) DcimManufacturersUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersUpdateRequestWithBody(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) DcimManufacturersUpdate(ctx context.Context, id openapi_types.UUID, body DcimManufacturersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersUpdateRequest(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) DcimPlatformsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPlatformsList(ctx context.Context, params *DcimPlatformsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsListRequest(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) DcimPlatformsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsBulkPartialUpdateRequestWithBody(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) DcimPlatformsBulkPartialUpdate(ctx context.Context, body DcimPlatformsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsBulkPartialUpdateRequest(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) DcimPlatformsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsCreateRequestWithBody(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) DcimPlatformsCreate(ctx context.Context, body DcimPlatformsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsCreateRequest(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) DcimPlatformsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsBulkUpdateRequestWithBody(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) DcimPlatformsBulkUpdate(ctx context.Context, body DcimPlatformsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsBulkUpdateRequest(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) DcimPlatformsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsDestroyRequest(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) DcimPlatformsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsRetrieveRequest(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) DcimPlatformsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsPartialUpdateRequestWithBody(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) DcimPlatformsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPlatformsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsPartialUpdateRequest(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) DcimPlatformsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsUpdateRequestWithBody(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) DcimPlatformsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPlatformsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerFeedsList(ctx context.Context, params *DcimPowerFeedsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsListRequest(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) DcimPowerFeedsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsBulkPartialUpdateRequestWithBody(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) DcimPowerFeedsBulkPartialUpdate(ctx context.Context, body DcimPowerFeedsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsBulkPartialUpdateRequest(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) DcimPowerFeedsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsCreateRequestWithBody(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) DcimPowerFeedsCreate(ctx context.Context, body DcimPowerFeedsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsCreateRequest(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) DcimPowerFeedsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsBulkUpdateRequestWithBody(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) DcimPowerFeedsBulkUpdate(ctx context.Context, body DcimPowerFeedsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsBulkUpdateRequest(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) DcimPowerFeedsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsDestroyRequest(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) DcimPowerFeedsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsRetrieveRequest(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) DcimPowerFeedsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsPartialUpdateRequestWithBody(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) DcimPowerFeedsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsPartialUpdateRequest(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) DcimPowerFeedsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsUpdateRequestWithBody(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) DcimPowerFeedsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletTemplatesList(ctx context.Context, params *DcimPowerOutletTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesListRequest(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) DcimPowerOutletTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesBulkPartialUpdateRequestWithBody(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) DcimPowerOutletTemplatesBulkPartialUpdate(ctx context.Context, body DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesBulkPartialUpdateRequest(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) DcimPowerOutletTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesCreateRequestWithBody(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) DcimPowerOutletTemplatesCreate(ctx context.Context, body DcimPowerOutletTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesCreateRequest(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) DcimPowerOutletTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesBulkUpdateRequestWithBody(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) DcimPowerOutletTemplatesBulkUpdate(ctx context.Context, body DcimPowerOutletTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesBulkUpdateRequest(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) DcimPowerOutletTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesDestroyRequest(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) DcimPowerOutletTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesRetrieveRequest(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) DcimPowerOutletTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesPartialUpdateRequestWithBody(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) DcimPowerOutletTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesPartialUpdateRequest(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) DcimPowerOutletTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesUpdateRequestWithBody(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) DcimPowerOutletTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesUpdateRequest(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) DcimPowerOutletsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletsList(ctx context.Context, params *DcimPowerOutletsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsListRequest(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) DcimPowerOutletsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsBulkPartialUpdateRequestWithBody(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) DcimPowerOutletsBulkPartialUpdate(ctx context.Context, body DcimPowerOutletsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsBulkPartialUpdateRequest(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) DcimPowerOutletsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsCreateRequestWithBody(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) DcimPowerOutletsCreate(ctx context.Context, body DcimPowerOutletsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsCreateRequest(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) DcimPowerOutletsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsBulkUpdateRequestWithBody(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) DcimPowerOutletsBulkUpdate(ctx context.Context, body DcimPowerOutletsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsBulkUpdateRequest(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) DcimPowerOutletsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsDestroyRequest(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) DcimPowerOutletsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsRetrieveRequest(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) DcimPowerOutletsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsPartialUpdateRequestWithBody(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) DcimPowerOutletsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsPartialUpdateRequest(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) DcimPowerOutletsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsUpdateRequestWithBody(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) DcimPowerOutletsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPanelsList(ctx context.Context, params *DcimPowerPanelsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsListRequest(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) DcimPowerPanelsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsBulkPartialUpdateRequestWithBody(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) DcimPowerPanelsBulkPartialUpdate(ctx context.Context, body DcimPowerPanelsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsBulkPartialUpdateRequest(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) DcimPowerPanelsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsCreateRequestWithBody(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) DcimPowerPanelsCreate(ctx context.Context, body DcimPowerPanelsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsCreateRequest(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) DcimPowerPanelsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsBulkUpdateRequestWithBody(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) DcimPowerPanelsBulkUpdate(ctx context.Context, body DcimPowerPanelsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsBulkUpdateRequest(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) DcimPowerPanelsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsDestroyRequest(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) DcimPowerPanelsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsRetrieveRequest(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) DcimPowerPanelsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsPartialUpdateRequestWithBody(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) DcimPowerPanelsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsPartialUpdateRequest(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) DcimPowerPanelsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsUpdateRequestWithBody(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) DcimPowerPanelsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsUpdateRequest(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) DcimPowerPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortTemplatesList(ctx context.Context, params *DcimPowerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesListRequest(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) DcimPowerPortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesBulkPartialUpdateRequestWithBody(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) DcimPowerPortTemplatesBulkPartialUpdate(ctx context.Context, body DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesBulkPartialUpdateRequest(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) DcimPowerPortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesCreateRequestWithBody(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) DcimPowerPortTemplatesCreate(ctx context.Context, body DcimPowerPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesCreateRequest(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) DcimPowerPortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesBulkUpdateRequestWithBody(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) DcimPowerPortTemplatesBulkUpdate(ctx context.Context, body DcimPowerPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesBulkUpdateRequest(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) DcimPowerPortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesDestroyRequest(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) DcimPowerPortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesRetrieveRequest(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) DcimPowerPortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesPartialUpdateRequestWithBody(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) DcimPowerPortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesPartialUpdateRequest(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) DcimPowerPortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesUpdateRequestWithBody(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) DcimPowerPortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesUpdateRequest(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) DcimPowerPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortsList(ctx context.Context, params *DcimPowerPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsListRequest(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) DcimPowerPortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsBulkPartialUpdateRequestWithBody(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) DcimPowerPortsBulkPartialUpdate(ctx context.Context, body DcimPowerPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsBulkPartialUpdateRequest(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) DcimPowerPortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsCreateRequestWithBody(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) DcimPowerPortsCreate(ctx context.Context, body DcimPowerPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsCreateRequest(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) DcimPowerPortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsBulkUpdateRequestWithBody(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) DcimPowerPortsBulkUpdate(ctx context.Context, body DcimPowerPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsBulkUpdateRequest(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) DcimPowerPortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsDestroyRequest(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) DcimPowerPortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsRetrieveRequest(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) DcimPowerPortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsPartialUpdateRequestWithBody(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) DcimPowerPortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsPartialUpdateRequest(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) DcimPowerPortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsUpdateRequestWithBody(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) DcimPowerPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackGroupsList(ctx context.Context, params *DcimRackGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsListRequest(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) DcimRackGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsBulkPartialUpdateRequestWithBody(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) DcimRackGroupsBulkPartialUpdate(ctx context.Context, body DcimRackGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsBulkPartialUpdateRequest(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) DcimRackGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsCreateRequestWithBody(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) DcimRackGroupsCreate(ctx context.Context, body DcimRackGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsCreateRequest(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) DcimRackGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsBulkUpdateRequestWithBody(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) DcimRackGroupsBulkUpdate(ctx context.Context, body DcimRackGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsBulkUpdateRequest(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) DcimRackGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsDestroyRequest(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) DcimRackGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsRetrieveRequest(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) DcimRackGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsPartialUpdateRequestWithBody(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) DcimRackGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsPartialUpdateRequest(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) DcimRackGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsUpdateRequestWithBody(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) DcimRackGroupsUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsUpdateRequest(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) DcimRackReservationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackReservationsList(ctx context.Context, params *DcimRackReservationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsListRequest(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) DcimRackReservationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsBulkPartialUpdateRequestWithBody(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) DcimRackReservationsBulkPartialUpdate(ctx context.Context, body DcimRackReservationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsBulkPartialUpdateRequest(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) DcimRackReservationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsCreateRequestWithBody(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) DcimRackReservationsCreate(ctx context.Context, body DcimRackReservationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsCreateRequest(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) DcimRackReservationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsBulkUpdateRequestWithBody(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) DcimRackReservationsBulkUpdate(ctx context.Context, body DcimRackReservationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsBulkUpdateRequest(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) DcimRackReservationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsDestroyRequest(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) DcimRackReservationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsRetrieveRequest(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) DcimRackReservationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsPartialUpdateRequestWithBody(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) DcimRackReservationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsPartialUpdateRequest(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) DcimRackReservationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsUpdateRequestWithBody(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) DcimRackReservationsUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsUpdateRequest(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) DcimRackRolesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackRolesList(ctx context.Context, params *DcimRackRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesListRequest(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) DcimRackRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesBulkPartialUpdateRequestWithBody(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) DcimRackRolesBulkPartialUpdate(ctx context.Context, body DcimRackRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesBulkPartialUpdateRequest(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) DcimRackRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesCreateRequestWithBody(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) DcimRackRolesCreate(ctx context.Context, body DcimRackRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesCreateRequest(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) DcimRackRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesBulkUpdateRequestWithBody(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) DcimRackRolesBulkUpdate(ctx context.Context, body DcimRackRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesBulkUpdateRequest(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) DcimRackRolesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesDestroyRequest(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) DcimRackRolesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesRetrieveRequest(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) DcimRackRolesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesPartialUpdateRequestWithBody(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) DcimRackRolesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesPartialUpdateRequest(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) DcimRackRolesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesUpdateRequestWithBody(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) DcimRackRolesUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesUpdateRequest(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) DcimRacksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRacksList(ctx context.Context, params *DcimRacksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksListRequest(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) DcimRacksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksBulkPartialUpdateRequestWithBody(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) DcimRacksBulkPartialUpdate(ctx context.Context, body DcimRacksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksBulkPartialUpdateRequest(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) DcimRacksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksCreateRequestWithBody(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) DcimRacksCreate(ctx context.Context, body DcimRacksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksCreateRequest(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) DcimRacksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksBulkUpdateRequestWithBody(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) DcimRacksBulkUpdate(ctx context.Context, body DcimRacksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksBulkUpdateRequest(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) DcimRacksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksDestroyRequest(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) DcimRacksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksRetrieveRequest(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) DcimRacksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksPartialUpdateRequestWithBody(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) DcimRacksPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRacksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksPartialUpdateRequest(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) DcimRacksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksUpdateRequestWithBody(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) DcimRacksUpdate(ctx context.Context, id openapi_types.UUID, body DcimRacksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksUpdateRequest(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) DcimRacksElevationList(ctx context.Context, id openapi_types.UUID, params *DcimRacksElevationListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksElevationListRequest(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) DcimRearPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortTemplatesList(ctx context.Context, params *DcimRearPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesListRequest(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) DcimRearPortTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesBulkPartialUpdateRequestWithBody(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) DcimRearPortTemplatesBulkPartialUpdate(ctx context.Context, body DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesBulkPartialUpdateRequest(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) DcimRearPortTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesCreateRequestWithBody(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) DcimRearPortTemplatesCreate(ctx context.Context, body DcimRearPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesCreateRequest(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) DcimRearPortTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesBulkUpdateRequestWithBody(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) DcimRearPortTemplatesBulkUpdate(ctx context.Context, body DcimRearPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesBulkUpdateRequest(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) DcimRearPortTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesDestroyRequest(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) DcimRearPortTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesRetrieveRequest(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) DcimRearPortTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesPartialUpdateRequestWithBody(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) DcimRearPortTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesPartialUpdateRequest(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) DcimRearPortTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesUpdateRequestWithBody(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) DcimRearPortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesUpdateRequest(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) DcimRearPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortsList(ctx context.Context, params *DcimRearPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsListRequest(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) DcimRearPortsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsBulkPartialUpdateRequestWithBody(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) DcimRearPortsBulkPartialUpdate(ctx context.Context, body DcimRearPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsBulkPartialUpdateRequest(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) DcimRearPortsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsCreateRequestWithBody(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) DcimRearPortsCreate(ctx context.Context, body DcimRearPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsCreateRequest(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) DcimRearPortsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsBulkUpdateRequestWithBody(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) DcimRearPortsBulkUpdate(ctx context.Context, body DcimRearPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsBulkUpdateRequest(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) DcimRearPortsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsDestroyRequest(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) DcimRearPortsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsRetrieveRequest(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) DcimRearPortsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsPartialUpdateRequestWithBody(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) DcimRearPortsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRearPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsPartialUpdateRequest(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) DcimRearPortsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsUpdateRequestWithBody(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) DcimRearPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimRearPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRegionsList(ctx context.Context, params *DcimRegionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsListRequest(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) DcimRegionsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsBulkPartialUpdateRequestWithBody(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) DcimRegionsBulkPartialUpdate(ctx context.Context, body DcimRegionsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsBulkPartialUpdateRequest(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) DcimRegionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsCreateRequestWithBody(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) DcimRegionsCreate(ctx context.Context, body DcimRegionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsCreateRequest(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) DcimRegionsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsBulkUpdateRequestWithBody(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) DcimRegionsBulkUpdate(ctx context.Context, body DcimRegionsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsBulkUpdateRequest(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) DcimRegionsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsDestroyRequest(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) DcimRegionsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsRetrieveRequest(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) DcimRegionsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsPartialUpdateRequestWithBody(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) DcimRegionsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimRegionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsPartialUpdateRequest(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) DcimRegionsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsUpdateRequestWithBody(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) DcimRegionsUpdate(ctx context.Context, id openapi_types.UUID, body DcimRegionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsUpdateRequest(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) DcimSitesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSitesList(ctx context.Context, params *DcimSitesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesListRequest(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) DcimSitesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesBulkPartialUpdateRequestWithBody(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) DcimSitesBulkPartialUpdate(ctx context.Context, body DcimSitesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesBulkPartialUpdateRequest(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) DcimSitesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesCreateRequestWithBody(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) DcimSitesCreate(ctx context.Context, body DcimSitesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesCreateRequest(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) DcimSitesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesBulkUpdateRequestWithBody(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) DcimSitesBulkUpdate(ctx context.Context, body DcimSitesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesBulkUpdateRequest(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) DcimSitesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesDestroyRequest(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) DcimSitesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesRetrieveRequest(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) DcimSitesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesPartialUpdateRequestWithBody(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) DcimSitesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimSitesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesPartialUpdateRequest(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) DcimSitesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesUpdateRequestWithBody(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) DcimSitesUpdate(ctx context.Context, id openapi_types.UUID, body DcimSitesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesUpdateRequest(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) DcimVirtualChassisBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualChassisList(ctx context.Context, params *DcimVirtualChassisListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisListRequest(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) DcimVirtualChassisBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisBulkPartialUpdateRequestWithBody(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) DcimVirtualChassisBulkPartialUpdate(ctx context.Context, body DcimVirtualChassisBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisBulkPartialUpdateRequest(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) DcimVirtualChassisCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisCreateRequestWithBody(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) DcimVirtualChassisCreate(ctx context.Context, body DcimVirtualChassisCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisCreateRequest(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) DcimVirtualChassisBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisBulkUpdateRequestWithBody(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) DcimVirtualChassisBulkUpdate(ctx context.Context, body DcimVirtualChassisBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisBulkUpdateRequest(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) DcimVirtualChassisDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisDestroyRequest(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) DcimVirtualChassisRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisRetrieveRequest(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) DcimVirtualChassisPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisPartialUpdateRequestWithBody(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) DcimVirtualChassisPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisPartialUpdateRequest(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) DcimVirtualChassisUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisUpdateRequestWithBody(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) DcimVirtualChassisUpdate(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisUpdateRequest(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) ExtrasComputedFieldsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasComputedFieldsList(ctx context.Context, params *ExtrasComputedFieldsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsListRequest(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) ExtrasComputedFieldsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsBulkPartialUpdateRequestWithBody(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) ExtrasComputedFieldsBulkPartialUpdate(ctx context.Context, body ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsBulkPartialUpdateRequest(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) ExtrasComputedFieldsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsCreateRequestWithBody(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) ExtrasComputedFieldsCreate(ctx context.Context, body ExtrasComputedFieldsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsCreateRequest(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) ExtrasComputedFieldsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsBulkUpdateRequestWithBody(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) ExtrasComputedFieldsBulkUpdate(ctx context.Context, body ExtrasComputedFieldsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsBulkUpdateRequest(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) ExtrasComputedFieldsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsDestroyRequest(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) ExtrasComputedFieldsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsRetrieveRequest(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) ExtrasComputedFieldsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsPartialUpdateRequestWithBody(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) ExtrasComputedFieldsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsPartialUpdateRequest(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) ExtrasComputedFieldsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsUpdateRequestWithBody(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) ExtrasComputedFieldsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsUpdateRequest(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) ExtrasConfigContextSchemasBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextSchemasList(ctx context.Context, params *ExtrasConfigContextSchemasListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasListRequest(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) ExtrasConfigContextSchemasBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasBulkPartialUpdateRequestWithBody(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) ExtrasConfigContextSchemasBulkPartialUpdate(ctx context.Context, body ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasBulkPartialUpdateRequest(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) ExtrasConfigContextSchemasCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasCreateRequestWithBody(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) ExtrasConfigContextSchemasCreate(ctx context.Context, body ExtrasConfigContextSchemasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasCreateRequest(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) ExtrasConfigContextSchemasBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasBulkUpdateRequestWithBody(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) ExtrasConfigContextSchemasBulkUpdate(ctx context.Context, body ExtrasConfigContextSchemasBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasBulkUpdateRequest(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) ExtrasConfigContextSchemasDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasDestroyRequest(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) ExtrasConfigContextSchemasRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasRetrieveRequest(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) ExtrasConfigContextSchemasPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasPartialUpdateRequestWithBody(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) ExtrasConfigContextSchemasPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasPartialUpdateRequest(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) ExtrasConfigContextSchemasUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasUpdateRequestWithBody(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) ExtrasConfigContextSchemasUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasUpdateRequest(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) ExtrasConfigContextsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextsList(ctx context.Context, params *ExtrasConfigContextsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsListRequest(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) ExtrasConfigContextsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsBulkPartialUpdateRequestWithBody(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) ExtrasConfigContextsBulkPartialUpdate(ctx context.Context, body ExtrasConfigContextsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsBulkPartialUpdateRequest(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) ExtrasConfigContextsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsCreateRequestWithBody(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) ExtrasConfigContextsCreate(ctx context.Context, body ExtrasConfigContextsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsCreateRequest(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) ExtrasConfigContextsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsBulkUpdateRequestWithBody(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) ExtrasConfigContextsBulkUpdate(ctx context.Context, body ExtrasConfigContextsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsBulkUpdateRequest(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) ExtrasConfigContextsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsDestroyRequest(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) ExtrasConfigContextsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsRetrieveRequest(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) ExtrasConfigContextsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsPartialUpdateRequestWithBody(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) ExtrasConfigContextsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsPartialUpdateRequest(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) ExtrasConfigContextsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsUpdateRequestWithBody(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) ExtrasConfigContextsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsUpdateRequest(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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasContentTypesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasContentTypesRetrieveRequest(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) ExtrasCustomFieldChoicesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoicesList(ctx context.Context, params *ExtrasCustomFieldChoicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesListRequest(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) ExtrasCustomFieldChoicesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesBulkPartialUpdateRequestWithBody(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) ExtrasCustomFieldChoicesBulkPartialUpdate(ctx context.Context, body ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesBulkPartialUpdateRequest(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) ExtrasCustomFieldChoicesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesCreateRequestWithBody(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) ExtrasCustomFieldChoicesCreate(ctx context.Context, body ExtrasCustomFieldChoicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesCreateRequest(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) ExtrasCustomFieldChoicesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesBulkUpdateRequestWithBody(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) ExtrasCustomFieldChoicesBulkUpdate(ctx context.Context, body ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesBulkUpdateRequest(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) ExtrasCustomFieldChoicesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesDestroyRequest(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) ExtrasCustomFieldChoicesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesRetrieveRequest(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) ExtrasCustomFieldChoicesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesPartialUpdateRequestWithBody(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) ExtrasCustomFieldChoicesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesPartialUpdateRequest(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) ExtrasCustomFieldChoicesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesUpdateRequestWithBody(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) ExtrasCustomFieldChoicesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldChoicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesUpdateRequest(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) ExtrasCustomFieldsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldsList(ctx context.Context, params *ExtrasCustomFieldsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsListRequest(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) ExtrasCustomFieldsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsBulkPartialUpdateRequestWithBody(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) ExtrasCustomFieldsBulkPartialUpdate(ctx context.Context, body ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsBulkPartialUpdateRequest(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) ExtrasCustomFieldsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsCreateRequestWithBody(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) ExtrasCustomFieldsCreate(ctx context.Context, body ExtrasCustomFieldsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsCreateRequest(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) ExtrasCustomFieldsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsBulkUpdateRequestWithBody(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) ExtrasCustomFieldsBulkUpdate(ctx context.Context, body ExtrasCustomFieldsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsBulkUpdateRequest(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) ExtrasCustomFieldsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsDestroyRequest(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) ExtrasCustomFieldsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsRetrieveRequest(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) ExtrasCustomFieldsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsPartialUpdateRequestWithBody(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) ExtrasCustomFieldsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsPartialUpdateRequest(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) ExtrasCustomFieldsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsUpdateRequestWithBody(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) ExtrasCustomFieldsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsUpdateRequest(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) ExtrasCustomLinksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomLinksList(ctx context.Context, params *ExtrasCustomLinksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksListRequest(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) ExtrasCustomLinksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksBulkPartialUpdateRequestWithBody(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) ExtrasCustomLinksBulkPartialUpdate(ctx context.Context, body ExtrasCustomLinksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksBulkPartialUpdateRequest(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) ExtrasCustomLinksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksCreateRequestWithBody(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) ExtrasCustomLinksCreate(ctx context.Context, body ExtrasCustomLinksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksCreateRequest(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) ExtrasCustomLinksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksBulkUpdateRequestWithBody(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) ExtrasCustomLinksBulkUpdate(ctx context.Context, body ExtrasCustomLinksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksBulkUpdateRequest(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) ExtrasCustomLinksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksDestroyRequest(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) ExtrasCustomLinksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksRetrieveRequest(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) ExtrasCustomLinksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksPartialUpdateRequestWithBody(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) ExtrasCustomLinksPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksPartialUpdateRequest(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) ExtrasCustomLinksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksUpdateRequestWithBody(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) ExtrasCustomLinksUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksUpdateRequest(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) ExtrasDynamicGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupsList(ctx context.Context, params *ExtrasDynamicGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsListRequest(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) ExtrasDynamicGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsBulkPartialUpdateRequestWithBody(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) ExtrasDynamicGroupsBulkPartialUpdate(ctx context.Context, body ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsBulkPartialUpdateRequest(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) ExtrasDynamicGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsCreateRequestWithBody(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) ExtrasDynamicGroupsCreate(ctx context.Context, body ExtrasDynamicGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsCreateRequest(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) ExtrasDynamicGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsBulkUpdateRequestWithBody(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) ExtrasDynamicGroupsBulkUpdate(ctx context.Context, body ExtrasDynamicGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsBulkUpdateRequest(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) ExtrasDynamicGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsDestroyRequest(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) ExtrasDynamicGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsRetrieveRequest(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) ExtrasDynamicGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsPartialUpdateRequestWithBody(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) ExtrasDynamicGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsPartialUpdateRequest(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) ExtrasDynamicGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsUpdateRequestWithBody(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) ExtrasDynamicGroupsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsUpdateRequest(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) ExtrasDynamicGroupsMembersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsMembersRetrieveRequest(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) ExtrasExportTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasExportTemplatesList(ctx context.Context, params *ExtrasExportTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesListRequest(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) ExtrasExportTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesBulkPartialUpdateRequestWithBody(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) ExtrasExportTemplatesBulkPartialUpdate(ctx context.Context, body ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesBulkPartialUpdateRequest(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) ExtrasExportTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesCreateRequestWithBody(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) ExtrasExportTemplatesCreate(ctx context.Context, body ExtrasExportTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesCreateRequest(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) ExtrasExportTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesBulkUpdateRequestWithBody(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) ExtrasExportTemplatesBulkUpdate(ctx context.Context, body ExtrasExportTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesBulkUpdateRequest(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) ExtrasExportTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesDestroyRequest(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) ExtrasExportTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesRetrieveRequest(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) ExtrasExportTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesPartialUpdateRequestWithBody(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) ExtrasExportTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesPartialUpdateRequest(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) ExtrasExportTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesUpdateRequestWithBody(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) ExtrasExportTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesUpdateRequest(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) ExtrasGitRepositoriesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGitRepositoriesList(ctx context.Context, params *ExtrasGitRepositoriesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesListRequest(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) ExtrasGitRepositoriesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesBulkPartialUpdateRequestWithBody(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) ExtrasGitRepositoriesBulkPartialUpdate(ctx context.Context, body ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesBulkPartialUpdateRequest(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) ExtrasGitRepositoriesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesCreateRequestWithBody(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) ExtrasGitRepositoriesCreate(ctx context.Context, body ExtrasGitRepositoriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesCreateRequest(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) ExtrasGitRepositoriesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesBulkUpdateRequestWithBody(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) ExtrasGitRepositoriesBulkUpdate(ctx context.Context, body ExtrasGitRepositoriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesBulkUpdateRequest(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) ExtrasGitRepositoriesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesDestroyRequest(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) ExtrasGitRepositoriesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesRetrieveRequest(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) ExtrasGitRepositoriesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesPartialUpdateRequestWithBody(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) ExtrasGitRepositoriesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesPartialUpdateRequest(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) ExtrasGitRepositoriesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesUpdateRequestWithBody(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) ExtrasGitRepositoriesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesUpdateRequest(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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGitRepositoriesSyncCreate(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesSyncCreateRequest(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) ExtrasGraphqlQueriesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGraphqlQueriesList(ctx context.Context, params *ExtrasGraphqlQueriesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesListRequest(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) ExtrasGraphqlQueriesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesBulkPartialUpdateRequestWithBody(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) ExtrasGraphqlQueriesBulkPartialUpdate(ctx context.Context, body ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesBulkPartialUpdateRequest(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) ExtrasGraphqlQueriesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesCreateRequestWithBody(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) ExtrasGraphqlQueriesCreate(ctx context.Context, body ExtrasGraphqlQueriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesCreateRequest(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) ExtrasGraphqlQueriesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesBulkUpdateRequestWithBody(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) ExtrasGraphqlQueriesBulkUpdate(ctx context.Context, body ExtrasGraphqlQueriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesBulkUpdateRequest(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) ExtrasGraphqlQueriesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesDestroyRequest(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) ExtrasGraphqlQueriesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesRetrieveRequest(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) ExtrasGraphqlQueriesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesPartialUpdateRequestWithBody(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) ExtrasGraphqlQueriesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesPartialUpdateRequest(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) ExtrasGraphqlQueriesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesUpdateRequestWithBody(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) ExtrasGraphqlQueriesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesUpdateRequest(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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGraphqlQueriesRunCreate(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesRunCreateRequest(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) ExtrasImageAttachmentsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasImageAttachmentsList(ctx context.Context, params *ExtrasImageAttachmentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsListRequest(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) ExtrasImageAttachmentsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsBulkPartialUpdateRequestWithBody(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) ExtrasImageAttachmentsBulkPartialUpdate(ctx context.Context, body ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsBulkPartialUpdateRequest(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) ExtrasImageAttachmentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsCreateRequestWithBody(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) ExtrasImageAttachmentsCreate(ctx context.Context, body ExtrasImageAttachmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsCreateRequest(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) ExtrasImageAttachmentsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsBulkUpdateRequestWithBody(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) ExtrasImageAttachmentsBulkUpdate(ctx context.Context, body ExtrasImageAttachmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsBulkUpdateRequest(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) ExtrasImageAttachmentsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsDestroyRequest(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) ExtrasImageAttachmentsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsRetrieveRequest(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) ExtrasImageAttachmentsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsPartialUpdateRequestWithBody(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) ExtrasImageAttachmentsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsPartialUpdateRequest(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) ExtrasImageAttachmentsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsUpdateRequestWithBody(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) ExtrasImageAttachmentsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsUpdateRequest(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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobLogsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobLogsRetrieveRequest(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) ExtrasJobResultsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobResultsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobResultsList(ctx context.Context, params *ExtrasJobResultsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobResultsListRequest(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) 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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobResultsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobResultsRetrieveRequest(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) 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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobsList(ctx context.Context, params *ExtrasJobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsListRequest(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) ExtrasJobsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsBulkPartialUpdateRequestWithBody(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) ExtrasJobsBulkPartialUpdate(ctx context.Context, body ExtrasJobsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsBulkPartialUpdateRequest(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) ExtrasJobsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsBulkUpdateRequestWithBody(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) ExtrasJobsBulkUpdate(ctx context.Context, body ExtrasJobsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsBulkUpdateRequest(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) ExtrasJobsReadDeprecated(ctx context.Context, classPath string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsReadDeprecatedRequest(c.Server, classPath) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobsRunDeprecatedWithBody(ctx context.Context, classPath string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsRunDeprecatedRequestWithBody(c.Server, classPath, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobsRunDeprecated(ctx context.Context, classPath string, body ExtrasJobsRunDeprecatedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsRunDeprecatedRequest(c.Server, classPath, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsDestroyRequest(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) ExtrasJobsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsRetrieveRequest(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) ExtrasJobsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsPartialUpdateRequestWithBody(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) ExtrasJobsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsPartialUpdateRequest(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) ExtrasJobsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsUpdateRequestWithBody(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) ExtrasJobsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsUpdateRequest(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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobsRunCreate(ctx context.Context, id openapi_types.UUID, body ExtrasJobsRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsRunCreateRequest(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) ExtrasJobsVariablesList(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsVariablesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsVariablesListRequest(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) ExtrasObjectChangesList(ctx context.Context, params *ExtrasObjectChangesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasObjectChangesListRequest(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) ExtrasObjectChangesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasObjectChangesRetrieveRequest(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) ExtrasRelationshipAssociationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasRelationshipAssociationsList(ctx context.Context, params *ExtrasRelationshipAssociationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsListRequest(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) ExtrasRelationshipAssociationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsBulkPartialUpdateRequestWithBody(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) ExtrasRelationshipAssociationsBulkPartialUpdate(ctx context.Context, body ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsBulkPartialUpdateRequest(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) ExtrasRelationshipAssociationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsCreateRequestWithBody(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) ExtrasRelationshipAssociationsCreate(ctx context.Context, body ExtrasRelationshipAssociationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsCreateRequest(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) ExtrasRelationshipAssociationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsBulkUpdateRequestWithBody(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) ExtrasRelationshipAssociationsBulkUpdate(ctx context.Context, body ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsBulkUpdateRequest(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) ExtrasRelationshipAssociationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsDestroyRequest(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) ExtrasRelationshipAssociationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsRetrieveRequest(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) ExtrasRelationshipAssociationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsPartialUpdateRequestWithBody(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) ExtrasRelationshipAssociationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsPartialUpdateRequest(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) ExtrasRelationshipAssociationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsUpdateRequestWithBody(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) ExtrasRelationshipAssociationsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsUpdateRequest(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) ExtrasRelationshipsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasRelationshipsList(ctx context.Context, params *ExtrasRelationshipsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsListRequest(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) ExtrasRelationshipsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsBulkPartialUpdateRequestWithBody(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) ExtrasRelationshipsBulkPartialUpdate(ctx context.Context, body ExtrasRelationshipsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsBulkPartialUpdateRequest(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) ExtrasRelationshipsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsCreateRequestWithBody(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) ExtrasRelationshipsCreate(ctx context.Context, body ExtrasRelationshipsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsCreateRequest(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) ExtrasRelationshipsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsBulkUpdateRequestWithBody(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) ExtrasRelationshipsBulkUpdate(ctx context.Context, body ExtrasRelationshipsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsBulkUpdateRequest(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) ExtrasRelationshipsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsDestroyRequest(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) ExtrasRelationshipsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsRetrieveRequest(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) ExtrasRelationshipsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsPartialUpdateRequestWithBody(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) ExtrasRelationshipsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsPartialUpdateRequest(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) ExtrasRelationshipsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsUpdateRequestWithBody(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) ExtrasRelationshipsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsUpdateRequest(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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasScheduledJobsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScheduledJobsRetrieveRequest(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) ExtrasScheduledJobsApproveCreate(ctx context.Context, id openapi_types.UUID, params *ExtrasScheduledJobsApproveCreateParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScheduledJobsApproveCreateRequest(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) ExtrasScheduledJobsDenyCreate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScheduledJobsDenyCreateRequest(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) ExtrasScheduledJobsDryRunCreate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasScheduledJobsDryRunCreateRequest(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) ExtrasSecretsGroupsAssociationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsGroupsAssociationsList(ctx context.Context, params *ExtrasSecretsGroupsAssociationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsListRequest(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) ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsBulkPartialUpdateRequestWithBody(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) ExtrasSecretsGroupsAssociationsBulkPartialUpdate(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsBulkPartialUpdateRequest(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) ExtrasSecretsGroupsAssociationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsCreateRequestWithBody(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) ExtrasSecretsGroupsAssociationsCreate(ctx context.Context, body ExtrasSecretsGroupsAssociationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsCreateRequest(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) ExtrasSecretsGroupsAssociationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsBulkUpdateRequestWithBody(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) ExtrasSecretsGroupsAssociationsBulkUpdate(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsBulkUpdateRequest(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) ExtrasSecretsGroupsAssociationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsDestroyRequest(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) ExtrasSecretsGroupsAssociationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsRetrieveRequest(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) ExtrasSecretsGroupsAssociationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsPartialUpdateRequestWithBody(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) ExtrasSecretsGroupsAssociationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsPartialUpdateRequest(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) ExtrasSecretsGroupsAssociationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsUpdateRequestWithBody(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) ExtrasSecretsGroupsAssociationsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsUpdateRequest(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) ExtrasSecretsGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsGroupsList(ctx context.Context, params *ExtrasSecretsGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsListRequest(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) ExtrasSecretsGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsBulkPartialUpdateRequestWithBody(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) ExtrasSecretsGroupsBulkPartialUpdate(ctx context.Context, body ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsBulkPartialUpdateRequest(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) ExtrasSecretsGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsCreateRequestWithBody(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) ExtrasSecretsGroupsCreate(ctx context.Context, body ExtrasSecretsGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsCreateRequest(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) ExtrasSecretsGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsBulkUpdateRequestWithBody(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) ExtrasSecretsGroupsBulkUpdate(ctx context.Context, body ExtrasSecretsGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsBulkUpdateRequest(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) ExtrasSecretsGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsDestroyRequest(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) ExtrasSecretsGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsRetrieveRequest(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) ExtrasSecretsGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsPartialUpdateRequestWithBody(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) ExtrasSecretsGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsPartialUpdateRequest(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) ExtrasSecretsGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsUpdateRequestWithBody(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) ExtrasSecretsGroupsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsUpdateRequest(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) ExtrasSecretsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsList(ctx context.Context, params *ExtrasSecretsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsListRequest(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) ExtrasSecretsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsBulkPartialUpdateRequestWithBody(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) ExtrasSecretsBulkPartialUpdate(ctx context.Context, body ExtrasSecretsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsBulkPartialUpdateRequest(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) ExtrasSecretsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsCreateRequestWithBody(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) ExtrasSecretsCreate(ctx context.Context, body ExtrasSecretsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsCreateRequest(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) ExtrasSecretsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsBulkUpdateRequestWithBody(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) ExtrasSecretsBulkUpdate(ctx context.Context, body ExtrasSecretsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsBulkUpdateRequest(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) ExtrasSecretsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsDestroyRequest(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) ExtrasSecretsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsRetrieveRequest(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) ExtrasSecretsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsPartialUpdateRequestWithBody(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) ExtrasSecretsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsPartialUpdateRequest(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) ExtrasSecretsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsUpdateRequestWithBody(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) ExtrasSecretsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsUpdateRequest(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) ExtrasStatusesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasStatusesList(ctx context.Context, params *ExtrasStatusesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesListRequest(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) ExtrasStatusesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesBulkPartialUpdateRequestWithBody(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) ExtrasStatusesBulkPartialUpdate(ctx context.Context, body ExtrasStatusesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesBulkPartialUpdateRequest(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) ExtrasStatusesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesCreateRequestWithBody(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) ExtrasStatusesCreate(ctx context.Context, body ExtrasStatusesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesCreateRequest(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) ExtrasStatusesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesBulkUpdateRequestWithBody(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) ExtrasStatusesBulkUpdate(ctx context.Context, body ExtrasStatusesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesBulkUpdateRequest(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) ExtrasStatusesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesDestroyRequest(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) ExtrasStatusesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesRetrieveRequest(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) ExtrasStatusesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesPartialUpdateRequestWithBody(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) ExtrasStatusesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesPartialUpdateRequest(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) ExtrasStatusesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesUpdateRequestWithBody(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) ExtrasStatusesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesUpdateRequest(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) ExtrasTagsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasTagsList(ctx context.Context, params *ExtrasTagsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsListRequest(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) ExtrasTagsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsBulkPartialUpdateRequestWithBody(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) ExtrasTagsBulkPartialUpdate(ctx context.Context, body ExtrasTagsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsBulkPartialUpdateRequest(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) ExtrasTagsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsCreateRequestWithBody(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) ExtrasTagsCreate(ctx context.Context, body ExtrasTagsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsCreateRequest(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) ExtrasTagsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsBulkUpdateRequestWithBody(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) ExtrasTagsBulkUpdate(ctx context.Context, body ExtrasTagsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsBulkUpdateRequest(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) ExtrasTagsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsDestroyRequest(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) ExtrasTagsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsRetrieveRequest(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) ExtrasTagsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsPartialUpdateRequestWithBody(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) ExtrasTagsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasTagsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsPartialUpdateRequest(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) ExtrasTagsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsUpdateRequestWithBody(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) ExtrasTagsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasTagsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsUpdateRequest(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) ExtrasWebhooksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasWebhooksList(ctx context.Context, params *ExtrasWebhooksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksListRequest(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) ExtrasWebhooksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksBulkPartialUpdateRequestWithBody(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) ExtrasWebhooksBulkPartialUpdate(ctx context.Context, body ExtrasWebhooksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksBulkPartialUpdateRequest(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) ExtrasWebhooksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksCreateRequestWithBody(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) ExtrasWebhooksCreate(ctx context.Context, body ExtrasWebhooksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksCreateRequest(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) ExtrasWebhooksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksBulkUpdateRequestWithBody(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) ExtrasWebhooksBulkUpdate(ctx context.Context, body ExtrasWebhooksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksBulkUpdateRequest(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) ExtrasWebhooksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksDestroyRequest(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) ExtrasWebhooksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksRetrieveRequest(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) ExtrasWebhooksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksPartialUpdateRequestWithBody(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) ExtrasWebhooksPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksPartialUpdateRequest(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) ExtrasWebhooksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksUpdateRequestWithBody(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) ExtrasWebhooksUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksUpdateRequest(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 { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GraphqlCreate(ctx context.Context, body GraphqlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGraphqlCreateRequest(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) IpamAggregatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAggregatesList(ctx context.Context, params *IpamAggregatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesListRequest(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) IpamAggregatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesBulkPartialUpdateRequestWithBody(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) IpamAggregatesBulkPartialUpdate(ctx context.Context, body IpamAggregatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesBulkPartialUpdateRequest(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) IpamAggregatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesCreateRequestWithBody(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) IpamAggregatesCreate(ctx context.Context, body IpamAggregatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesCreateRequest(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) IpamAggregatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesBulkUpdateRequestWithBody(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) IpamAggregatesBulkUpdate(ctx context.Context, body IpamAggregatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesBulkUpdateRequest(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) IpamAggregatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesDestroyRequest(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) IpamAggregatesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesRetrieveRequest(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) IpamAggregatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesPartialUpdateRequestWithBody(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) IpamAggregatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamAggregatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesPartialUpdateRequest(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) IpamAggregatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesUpdateRequestWithBody(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) IpamAggregatesUpdate(ctx context.Context, id openapi_types.UUID, body IpamAggregatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesUpdateRequest(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) IpamIpAddressesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpAddressesList(ctx context.Context, params *IpamIpAddressesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesListRequest(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) IpamIpAddressesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesBulkPartialUpdateRequestWithBody(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) IpamIpAddressesBulkPartialUpdate(ctx context.Context, body IpamIpAddressesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesBulkPartialUpdateRequest(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) IpamIpAddressesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesCreateRequestWithBody(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) IpamIpAddressesCreate(ctx context.Context, body IpamIpAddressesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesCreateRequest(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) IpamIpAddressesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesBulkUpdateRequestWithBody(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) IpamIpAddressesBulkUpdate(ctx context.Context, body IpamIpAddressesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesBulkUpdateRequest(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) IpamIpAddressesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesDestroyRequest(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) IpamIpAddressesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesRetrieveRequest(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) IpamIpAddressesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesPartialUpdateRequestWithBody(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) IpamIpAddressesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesPartialUpdateRequest(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) IpamIpAddressesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesUpdateRequestWithBody(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) IpamIpAddressesUpdate(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesUpdateRequest(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) IpamPrefixesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamPrefixesList(ctx context.Context, params *IpamPrefixesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesListRequest(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) IpamPrefixesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesBulkPartialUpdateRequestWithBody(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) IpamPrefixesBulkPartialUpdate(ctx context.Context, body IpamPrefixesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesBulkPartialUpdateRequest(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) IpamPrefixesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesCreateRequestWithBody(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) IpamPrefixesCreate(ctx context.Context, body IpamPrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesCreateRequest(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) IpamPrefixesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesBulkUpdateRequestWithBody(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) IpamPrefixesBulkUpdate(ctx context.Context, body IpamPrefixesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesBulkUpdateRequest(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) IpamPrefixesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesDestroyRequest(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) IpamPrefixesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesRetrieveRequest(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) IpamPrefixesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesPartialUpdateRequestWithBody(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) IpamPrefixesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamPrefixesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesPartialUpdateRequest(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) IpamPrefixesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesUpdateRequestWithBody(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) IpamPrefixesUpdate(ctx context.Context, id openapi_types.UUID, body IpamPrefixesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesUpdateRequest(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) IpamPrefixesAvailableIpsList(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesAvailableIpsListRequest(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) 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) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamPrefixesAvailablePrefixesList(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailablePrefixesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesAvailablePrefixesListRequest(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) IpamPrefixesAvailablePrefixesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesAvailablePrefixesCreateRequestWithBody(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) IpamPrefixesAvailablePrefixesCreate(ctx context.Context, id openapi_types.UUID, body IpamPrefixesAvailablePrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesAvailablePrefixesCreateRequest(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) IpamRirsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRirsList(ctx context.Context, params *IpamRirsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsListRequest(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) IpamRirsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsBulkPartialUpdateRequestWithBody(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) IpamRirsBulkPartialUpdate(ctx context.Context, body IpamRirsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsBulkPartialUpdateRequest(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) IpamRirsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsCreateRequestWithBody(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) IpamRirsCreate(ctx context.Context, body IpamRirsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsCreateRequest(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) IpamRirsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsBulkUpdateRequestWithBody(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) IpamRirsBulkUpdate(ctx context.Context, body IpamRirsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsBulkUpdateRequest(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) IpamRirsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsDestroyRequest(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) IpamRirsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsRetrieveRequest(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) IpamRirsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsPartialUpdateRequestWithBody(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) IpamRirsPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamRirsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsPartialUpdateRequest(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) IpamRirsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsUpdateRequestWithBody(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) IpamRirsUpdate(ctx context.Context, id openapi_types.UUID, body IpamRirsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsUpdateRequest(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) IpamRolesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRolesList(ctx context.Context, params *IpamRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesListRequest(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) IpamRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesBulkPartialUpdateRequestWithBody(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) IpamRolesBulkPartialUpdate(ctx context.Context, body IpamRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesBulkPartialUpdateRequest(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) IpamRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesCreateRequestWithBody(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) IpamRolesCreate(ctx context.Context, body IpamRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesCreateRequest(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) IpamRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesBulkUpdateRequestWithBody(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) IpamRolesBulkUpdate(ctx context.Context, body IpamRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesBulkUpdateRequest(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) IpamRolesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesDestroyRequest(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) IpamRolesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesRetrieveRequest(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) IpamRolesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesPartialUpdateRequestWithBody(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) IpamRolesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesPartialUpdateRequest(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) IpamRolesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesUpdateRequestWithBody(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) IpamRolesUpdate(ctx context.Context, id openapi_types.UUID, body IpamRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesUpdateRequest(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) IpamRouteTargetsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRouteTargetsList(ctx context.Context, params *IpamRouteTargetsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsListRequest(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) IpamRouteTargetsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsBulkPartialUpdateRequestWithBody(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) IpamRouteTargetsBulkPartialUpdate(ctx context.Context, body IpamRouteTargetsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsBulkPartialUpdateRequest(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) IpamRouteTargetsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsCreateRequestWithBody(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) IpamRouteTargetsCreate(ctx context.Context, body IpamRouteTargetsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsCreateRequest(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) IpamRouteTargetsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsBulkUpdateRequestWithBody(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) IpamRouteTargetsBulkUpdate(ctx context.Context, body IpamRouteTargetsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsBulkUpdateRequest(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) IpamRouteTargetsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsDestroyRequest(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) IpamRouteTargetsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsRetrieveRequest(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) IpamRouteTargetsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsPartialUpdateRequestWithBody(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) IpamRouteTargetsPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsPartialUpdateRequest(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) IpamRouteTargetsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsUpdateRequestWithBody(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) IpamRouteTargetsUpdate(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsUpdateRequest(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) IpamServicesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServicesList(ctx context.Context, params *IpamServicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesListRequest(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) IpamServicesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesBulkPartialUpdateRequestWithBody(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) IpamServicesBulkPartialUpdate(ctx context.Context, body IpamServicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesBulkPartialUpdateRequest(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) IpamServicesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesCreateRequestWithBody(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) IpamServicesCreate(ctx context.Context, body IpamServicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesCreateRequest(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) IpamServicesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesBulkUpdateRequestWithBody(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) IpamServicesBulkUpdate(ctx context.Context, body IpamServicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesBulkUpdateRequest(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) IpamServicesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesDestroyRequest(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) IpamServicesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesRetrieveRequest(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) IpamServicesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesPartialUpdateRequestWithBody(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) IpamServicesPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamServicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesPartialUpdateRequest(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) IpamServicesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesUpdateRequestWithBody(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) IpamServicesUpdate(ctx context.Context, id openapi_types.UUID, body IpamServicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesUpdateRequest(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) IpamVlanGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlanGroupsList(ctx context.Context, params *IpamVlanGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsListRequest(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) IpamVlanGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsBulkPartialUpdateRequestWithBody(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) IpamVlanGroupsBulkPartialUpdate(ctx context.Context, body IpamVlanGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsBulkPartialUpdateRequest(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) IpamVlanGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsCreateRequestWithBody(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) IpamVlanGroupsCreate(ctx context.Context, body IpamVlanGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsCreateRequest(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) IpamVlanGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsBulkUpdateRequestWithBody(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) IpamVlanGroupsBulkUpdate(ctx context.Context, body IpamVlanGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsBulkUpdateRequest(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) IpamVlanGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsDestroyRequest(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) IpamVlanGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsRetrieveRequest(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) IpamVlanGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsPartialUpdateRequestWithBody(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) IpamVlanGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsPartialUpdateRequest(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) IpamVlanGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsUpdateRequestWithBody(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) IpamVlanGroupsUpdate(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsUpdateRequest(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) IpamVlansBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlansList(ctx context.Context, params *IpamVlansListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansListRequest(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) IpamVlansBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansBulkPartialUpdateRequestWithBody(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) IpamVlansBulkPartialUpdate(ctx context.Context, body IpamVlansBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansBulkPartialUpdateRequest(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) IpamVlansCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansCreateRequestWithBody(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) IpamVlansCreate(ctx context.Context, body IpamVlansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansCreateRequest(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) IpamVlansBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansBulkUpdateRequestWithBody(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) IpamVlansBulkUpdate(ctx context.Context, body IpamVlansBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansBulkUpdateRequest(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) IpamVlansDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansDestroyRequest(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) IpamVlansRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansRetrieveRequest(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) IpamVlansPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansPartialUpdateRequestWithBody(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) IpamVlansPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamVlansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansPartialUpdateRequest(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) IpamVlansUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansUpdateRequestWithBody(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) IpamVlansUpdate(ctx context.Context, id openapi_types.UUID, body IpamVlansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansUpdateRequest(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) IpamVrfsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVrfsList(ctx context.Context, params *IpamVrfsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsListRequest(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) IpamVrfsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsBulkPartialUpdateRequestWithBody(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) IpamVrfsBulkPartialUpdate(ctx context.Context, body IpamVrfsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsBulkPartialUpdateRequest(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) IpamVrfsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsCreateRequestWithBody(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) IpamVrfsCreate(ctx context.Context, body IpamVrfsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsCreateRequest(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) IpamVrfsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsBulkUpdateRequestWithBody(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) IpamVrfsBulkUpdate(ctx context.Context, body IpamVrfsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsBulkUpdateRequest(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) IpamVrfsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsDestroyRequest(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) IpamVrfsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsRetrieveRequest(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) IpamVrfsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsPartialUpdateRequestWithBody(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) IpamVrfsPartialUpdate(ctx context.Context, id openapi_types.UUID, body IpamVrfsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsPartialUpdateRequest(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) IpamVrfsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsUpdateRequestWithBody(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) IpamVrfsUpdate(ctx context.Context, id openapi_types.UUID, body IpamVrfsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsUpdateRequest(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) PluginsChatopsAccessgrantBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsChatopsAccessgrantList(ctx context.Context, params *PluginsChatopsAccessgrantListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantListRequest(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) PluginsChatopsAccessgrantBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantBulkPartialUpdateRequestWithBody(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) PluginsChatopsAccessgrantBulkPartialUpdate(ctx context.Context, body PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantBulkPartialUpdateRequest(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) PluginsChatopsAccessgrantCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantCreateRequestWithBody(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) PluginsChatopsAccessgrantCreate(ctx context.Context, body PluginsChatopsAccessgrantCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantCreateRequest(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) PluginsChatopsAccessgrantBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantBulkUpdateRequestWithBody(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) PluginsChatopsAccessgrantBulkUpdate(ctx context.Context, body PluginsChatopsAccessgrantBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantBulkUpdateRequest(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) PluginsChatopsAccessgrantDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantDestroyRequest(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) PluginsChatopsAccessgrantRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantRetrieveRequest(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) PluginsChatopsAccessgrantPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantPartialUpdateRequestWithBody(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) PluginsChatopsAccessgrantPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsChatopsAccessgrantPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantPartialUpdateRequest(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) PluginsChatopsAccessgrantUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantUpdateRequestWithBody(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) PluginsChatopsAccessgrantUpdate(ctx context.Context, id openapi_types.UUID, body PluginsChatopsAccessgrantUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantUpdateRequest(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) PluginsChatopsCommandtokenBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsChatopsCommandtokenList(ctx context.Context, params *PluginsChatopsCommandtokenListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenListRequest(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) PluginsChatopsCommandtokenBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenBulkPartialUpdateRequestWithBody(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) PluginsChatopsCommandtokenBulkPartialUpdate(ctx context.Context, body PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenBulkPartialUpdateRequest(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) PluginsChatopsCommandtokenCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenCreateRequestWithBody(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) PluginsChatopsCommandtokenCreate(ctx context.Context, body PluginsChatopsCommandtokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenCreateRequest(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) PluginsChatopsCommandtokenBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenBulkUpdateRequestWithBody(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) PluginsChatopsCommandtokenBulkUpdate(ctx context.Context, body PluginsChatopsCommandtokenBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenBulkUpdateRequest(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) PluginsChatopsCommandtokenDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenDestroyRequest(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) PluginsChatopsCommandtokenRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenRetrieveRequest(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) PluginsChatopsCommandtokenPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenPartialUpdateRequestWithBody(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) PluginsChatopsCommandtokenPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsChatopsCommandtokenPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenPartialUpdateRequest(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) PluginsChatopsCommandtokenUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenUpdateRequestWithBody(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) PluginsChatopsCommandtokenUpdate(ctx context.Context, id openapi_types.UUID, body PluginsChatopsCommandtokenUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenUpdateRequest(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) PluginsCircuitMaintenanceCircuitimpactBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsCircuitMaintenanceCircuitimpactList(ctx context.Context, params *PluginsCircuitMaintenanceCircuitimpactListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactListRequest(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) PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateRequestWithBody(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) PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateRequest(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) PluginsCircuitMaintenanceCircuitimpactCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactCreateRequestWithBody(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) PluginsCircuitMaintenanceCircuitimpactCreate(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactCreateRequest(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) PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactBulkUpdateRequestWithBody(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) PluginsCircuitMaintenanceCircuitimpactBulkUpdate(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactBulkUpdateRequest(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) PluginsCircuitMaintenanceCircuitimpactDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactDestroyRequest(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) PluginsCircuitMaintenanceCircuitimpactRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactRetrieveRequest(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) PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactPartialUpdateRequestWithBody(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) PluginsCircuitMaintenanceCircuitimpactPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactPartialUpdateRequest(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) PluginsCircuitMaintenanceCircuitimpactUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactUpdateRequestWithBody(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) PluginsCircuitMaintenanceCircuitimpactUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactUpdateRequest(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) PluginsCircuitMaintenanceMaintenanceBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsCircuitMaintenanceMaintenanceList(ctx context.Context, params *PluginsCircuitMaintenanceMaintenanceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceListRequest(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) PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceBulkPartialUpdateRequestWithBody(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) PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceBulkPartialUpdateRequest(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) PluginsCircuitMaintenanceMaintenanceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceCreateRequestWithBody(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) PluginsCircuitMaintenanceMaintenanceCreate(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceCreateRequest(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) PluginsCircuitMaintenanceMaintenanceBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceBulkUpdateRequestWithBody(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) PluginsCircuitMaintenanceMaintenanceBulkUpdate(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceBulkUpdateRequest(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) PluginsCircuitMaintenanceMaintenanceDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceDestroyRequest(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) PluginsCircuitMaintenanceMaintenanceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceRetrieveRequest(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) PluginsCircuitMaintenanceMaintenancePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenancePartialUpdateRequestWithBody(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) PluginsCircuitMaintenanceMaintenancePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenancePartialUpdateRequest(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) PluginsCircuitMaintenanceMaintenanceUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceUpdateRequestWithBody(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) PluginsCircuitMaintenanceMaintenanceUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceUpdateRequest(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) PluginsCircuitMaintenanceNoteBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsCircuitMaintenanceNoteList(ctx context.Context, params *PluginsCircuitMaintenanceNoteListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteListRequest(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) PluginsCircuitMaintenanceNoteBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteBulkPartialUpdateRequestWithBody(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) PluginsCircuitMaintenanceNoteBulkPartialUpdate(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteBulkPartialUpdateRequest(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) PluginsCircuitMaintenanceNoteCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteCreateRequestWithBody(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) PluginsCircuitMaintenanceNoteCreate(ctx context.Context, body PluginsCircuitMaintenanceNoteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteCreateRequest(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) PluginsCircuitMaintenanceNoteBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteBulkUpdateRequestWithBody(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) PluginsCircuitMaintenanceNoteBulkUpdate(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteBulkUpdateRequest(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) PluginsCircuitMaintenanceNoteDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteDestroyRequest(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) PluginsCircuitMaintenanceNoteRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteRetrieveRequest(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) PluginsCircuitMaintenanceNotePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNotePartialUpdateRequestWithBody(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) PluginsCircuitMaintenanceNotePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNotePartialUpdateRequest(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) PluginsCircuitMaintenanceNoteUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteUpdateRequestWithBody(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) PluginsCircuitMaintenanceNoteUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceNoteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteUpdateRequest(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) PluginsCircuitMaintenanceNotificationsourceList(ctx context.Context, params *PluginsCircuitMaintenanceNotificationsourceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNotificationsourceListRequest(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) PluginsCircuitMaintenanceNotificationsourceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNotificationsourceRetrieveRequest(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) PluginsDataValidationEngineRulesMinMaxBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsDataValidationEngineRulesMinMaxList(ctx context.Context, params *PluginsDataValidationEngineRulesMinMaxListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxListRequest(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) PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxBulkPartialUpdateRequestWithBody(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) PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxBulkPartialUpdateRequest(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) PluginsDataValidationEngineRulesMinMaxCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxCreateRequestWithBody(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) PluginsDataValidationEngineRulesMinMaxCreate(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxCreateRequest(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) PluginsDataValidationEngineRulesMinMaxBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxBulkUpdateRequestWithBody(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) PluginsDataValidationEngineRulesMinMaxBulkUpdate(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxBulkUpdateRequest(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) PluginsDataValidationEngineRulesMinMaxDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxDestroyRequest(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) PluginsDataValidationEngineRulesMinMaxRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxRetrieveRequest(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) PluginsDataValidationEngineRulesMinMaxPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxPartialUpdateRequestWithBody(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) PluginsDataValidationEngineRulesMinMaxPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxPartialUpdateRequest(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) PluginsDataValidationEngineRulesMinMaxUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxUpdateRequestWithBody(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) PluginsDataValidationEngineRulesMinMaxUpdate(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxUpdateRequest(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) PluginsDataValidationEngineRulesRegexBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsDataValidationEngineRulesRegexList(ctx context.Context, params *PluginsDataValidationEngineRulesRegexListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexListRequest(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) PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexBulkPartialUpdateRequestWithBody(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) PluginsDataValidationEngineRulesRegexBulkPartialUpdate(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexBulkPartialUpdateRequest(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) PluginsDataValidationEngineRulesRegexCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexCreateRequestWithBody(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) PluginsDataValidationEngineRulesRegexCreate(ctx context.Context, body PluginsDataValidationEngineRulesRegexCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexCreateRequest(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) PluginsDataValidationEngineRulesRegexBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexBulkUpdateRequestWithBody(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) PluginsDataValidationEngineRulesRegexBulkUpdate(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexBulkUpdateRequest(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) PluginsDataValidationEngineRulesRegexDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexDestroyRequest(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) PluginsDataValidationEngineRulesRegexRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexRetrieveRequest(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) PluginsDataValidationEngineRulesRegexPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexPartialUpdateRequestWithBody(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) PluginsDataValidationEngineRulesRegexPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexPartialUpdateRequest(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) PluginsDataValidationEngineRulesRegexUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexUpdateRequestWithBody(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) PluginsDataValidationEngineRulesRegexUpdate(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexUpdateRequest(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) PluginsDeviceOnboardingOnboardingList(ctx context.Context, params *PluginsDeviceOnboardingOnboardingListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDeviceOnboardingOnboardingListRequest(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) PluginsDeviceOnboardingOnboardingCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDeviceOnboardingOnboardingCreateRequestWithBody(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) PluginsDeviceOnboardingOnboardingCreate(ctx context.Context, body PluginsDeviceOnboardingOnboardingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDeviceOnboardingOnboardingCreateRequest(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) PluginsDeviceOnboardingOnboardingDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDeviceOnboardingOnboardingDestroyRequest(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) PluginsDeviceOnboardingOnboardingRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDeviceOnboardingOnboardingRetrieveRequest(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) PluginsGoldenConfigComplianceFeatureBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigComplianceFeatureList(ctx context.Context, params *PluginsGoldenConfigComplianceFeatureListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureListRequest(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) PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureBulkPartialUpdateRequestWithBody(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) PluginsGoldenConfigComplianceFeatureBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureBulkPartialUpdateRequest(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) PluginsGoldenConfigComplianceFeatureCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureCreateRequestWithBody(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) PluginsGoldenConfigComplianceFeatureCreate(ctx context.Context, body PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureCreateRequest(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) PluginsGoldenConfigComplianceFeatureBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureBulkUpdateRequestWithBody(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) PluginsGoldenConfigComplianceFeatureBulkUpdate(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureBulkUpdateRequest(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) PluginsGoldenConfigComplianceFeatureDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureDestroyRequest(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) PluginsGoldenConfigComplianceFeatureRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureRetrieveRequest(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) PluginsGoldenConfigComplianceFeaturePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeaturePartialUpdateRequestWithBody(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) PluginsGoldenConfigComplianceFeaturePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeaturePartialUpdateRequest(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) PluginsGoldenConfigComplianceFeatureUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureUpdateRequestWithBody(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) PluginsGoldenConfigComplianceFeatureUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureUpdateRequest(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) PluginsGoldenConfigComplianceRuleBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigComplianceRuleList(ctx context.Context, params *PluginsGoldenConfigComplianceRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleListRequest(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) PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleBulkPartialUpdateRequestWithBody(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) PluginsGoldenConfigComplianceRuleBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleBulkPartialUpdateRequest(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) PluginsGoldenConfigComplianceRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleCreateRequestWithBody(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) PluginsGoldenConfigComplianceRuleCreate(ctx context.Context, body PluginsGoldenConfigComplianceRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleCreateRequest(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) PluginsGoldenConfigComplianceRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleBulkUpdateRequestWithBody(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) PluginsGoldenConfigComplianceRuleBulkUpdate(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleBulkUpdateRequest(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) PluginsGoldenConfigComplianceRuleDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleDestroyRequest(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) PluginsGoldenConfigComplianceRuleRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleRetrieveRequest(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) PluginsGoldenConfigComplianceRulePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRulePartialUpdateRequestWithBody(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) PluginsGoldenConfigComplianceRulePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRulePartialUpdateRequest(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) PluginsGoldenConfigComplianceRuleUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleUpdateRequestWithBody(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) PluginsGoldenConfigComplianceRuleUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleUpdateRequest(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) PluginsGoldenConfigConfigComplianceBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigConfigComplianceList(ctx context.Context, params *PluginsGoldenConfigConfigComplianceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceListRequest(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) PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceBulkPartialUpdateRequestWithBody(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) PluginsGoldenConfigConfigComplianceBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceBulkPartialUpdateRequest(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) PluginsGoldenConfigConfigComplianceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceCreateRequestWithBody(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) PluginsGoldenConfigConfigComplianceCreate(ctx context.Context, body PluginsGoldenConfigConfigComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceCreateRequest(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) PluginsGoldenConfigConfigComplianceBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceBulkUpdateRequestWithBody(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) PluginsGoldenConfigConfigComplianceBulkUpdate(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceBulkUpdateRequest(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) PluginsGoldenConfigConfigComplianceDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceDestroyRequest(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) PluginsGoldenConfigConfigComplianceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceRetrieveRequest(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) PluginsGoldenConfigConfigCompliancePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigCompliancePartialUpdateRequestWithBody(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) PluginsGoldenConfigConfigCompliancePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigCompliancePartialUpdateRequest(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) PluginsGoldenConfigConfigComplianceUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceUpdateRequestWithBody(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) PluginsGoldenConfigConfigComplianceUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceUpdateRequest(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) PluginsGoldenConfigConfigRemoveBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigConfigRemoveList(ctx context.Context, params *PluginsGoldenConfigConfigRemoveListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveListRequest(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) PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveBulkPartialUpdateRequestWithBody(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) PluginsGoldenConfigConfigRemoveBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveBulkPartialUpdateRequest(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) PluginsGoldenConfigConfigRemoveCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveCreateRequestWithBody(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) PluginsGoldenConfigConfigRemoveCreate(ctx context.Context, body PluginsGoldenConfigConfigRemoveCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveCreateRequest(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) PluginsGoldenConfigConfigRemoveBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveBulkUpdateRequestWithBody(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) PluginsGoldenConfigConfigRemoveBulkUpdate(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveBulkUpdateRequest(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) PluginsGoldenConfigConfigRemoveDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveDestroyRequest(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) PluginsGoldenConfigConfigRemoveRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveRetrieveRequest(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) PluginsGoldenConfigConfigRemovePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemovePartialUpdateRequestWithBody(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) PluginsGoldenConfigConfigRemovePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemovePartialUpdateRequest(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) PluginsGoldenConfigConfigRemoveUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveUpdateRequestWithBody(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) PluginsGoldenConfigConfigRemoveUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveUpdateRequest(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) PluginsGoldenConfigConfigReplaceBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigConfigReplaceList(ctx context.Context, params *PluginsGoldenConfigConfigReplaceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceListRequest(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) PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceBulkPartialUpdateRequestWithBody(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) PluginsGoldenConfigConfigReplaceBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceBulkPartialUpdateRequest(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) PluginsGoldenConfigConfigReplaceCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceCreateRequestWithBody(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) PluginsGoldenConfigConfigReplaceCreate(ctx context.Context, body PluginsGoldenConfigConfigReplaceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceCreateRequest(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) PluginsGoldenConfigConfigReplaceBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceBulkUpdateRequestWithBody(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) PluginsGoldenConfigConfigReplaceBulkUpdate(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceBulkUpdateRequest(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) PluginsGoldenConfigConfigReplaceDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceDestroyRequest(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) PluginsGoldenConfigConfigReplaceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceRetrieveRequest(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) PluginsGoldenConfigConfigReplacePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplacePartialUpdateRequestWithBody(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) PluginsGoldenConfigConfigReplacePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplacePartialUpdateRequest(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) PluginsGoldenConfigConfigReplaceUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceUpdateRequestWithBody(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) PluginsGoldenConfigConfigReplaceUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceUpdateRequest(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) PluginsGoldenConfigGoldenConfigSettingsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigGoldenConfigSettingsList(ctx context.Context, params *PluginsGoldenConfigGoldenConfigSettingsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsListRequest(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) PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateRequestWithBody(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) PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateRequest(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) PluginsGoldenConfigGoldenConfigSettingsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsCreateRequestWithBody(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) PluginsGoldenConfigGoldenConfigSettingsCreate(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsCreateRequest(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) PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsBulkUpdateRequestWithBody(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) PluginsGoldenConfigGoldenConfigSettingsBulkUpdate(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsBulkUpdateRequest(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) PluginsGoldenConfigGoldenConfigSettingsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsDestroyRequest(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) PluginsGoldenConfigGoldenConfigSettingsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsRetrieveRequest(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) PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsPartialUpdateRequestWithBody(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) PluginsGoldenConfigGoldenConfigSettingsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsPartialUpdateRequest(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) PluginsGoldenConfigGoldenConfigSettingsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsUpdateRequestWithBody(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) PluginsGoldenConfigGoldenConfigSettingsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsUpdateRequest(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) PluginsGoldenConfigGoldenConfigBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigGoldenConfigList(ctx context.Context, params *PluginsGoldenConfigGoldenConfigListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigListRequest(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) PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigBulkPartialUpdateRequestWithBody(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) PluginsGoldenConfigGoldenConfigBulkPartialUpdate(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigBulkPartialUpdateRequest(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) PluginsGoldenConfigGoldenConfigCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigCreateRequestWithBody(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) PluginsGoldenConfigGoldenConfigCreate(ctx context.Context, body PluginsGoldenConfigGoldenConfigCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigCreateRequest(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) PluginsGoldenConfigGoldenConfigBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigBulkUpdateRequestWithBody(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) PluginsGoldenConfigGoldenConfigBulkUpdate(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigBulkUpdateRequest(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) PluginsGoldenConfigGoldenConfigDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigDestroyRequest(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) PluginsGoldenConfigGoldenConfigRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigRetrieveRequest(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) PluginsGoldenConfigGoldenConfigPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigPartialUpdateRequestWithBody(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) PluginsGoldenConfigGoldenConfigPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigPartialUpdateRequest(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) PluginsGoldenConfigGoldenConfigUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigUpdateRequestWithBody(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) PluginsGoldenConfigGoldenConfigUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigUpdateRequest(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) PluginsGoldenConfigSotaggRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigSotaggRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtContactList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContactListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(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) PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtContactCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactCreateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContactCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactCreateRequest(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) PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactBulkUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactBulkUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtContactDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactDestroyRequest(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) PluginsNautobotDeviceLifecycleMgmtContactRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtContactUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContactUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtContractList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContractListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractListRequest(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) PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtContractCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractCreateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContractCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractCreateRequest(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) PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractBulkUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractBulkUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtContractDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractDestroyRequest(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) PluginsNautobotDeviceLifecycleMgmtContractRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtContractUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtContractUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtCveList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtCveListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(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) PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtCveCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveCreateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtCveCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveCreateRequest(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) PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveBulkUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveBulkUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtCveDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveDestroyRequest(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) PluginsNautobotDeviceLifecycleMgmtCveRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCvePartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCvePartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtCveUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtCveUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtHardwareList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtHardwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareListRequest(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) PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareCreateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtHardwareCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareCreateRequest(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) PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtHardwareDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareDestroyRequest(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) PluginsNautobotDeviceLifecycleMgmtHardwareRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtHardwareUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtProviderList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtProviderListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(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) PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtProviderCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderCreateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtProviderCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderCreateRequest(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) PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtProviderDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderDestroyRequest(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) PluginsNautobotDeviceLifecycleMgmtProviderRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtProviderUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareImageList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareListRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareCreateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwareCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareCreateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareDestroyRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateRequest(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyRequest(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtVulnerabilityList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtVulnerabilityListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyRequest(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveRequest(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateRequest(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateRequestWithBody(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) PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateRequest(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) StatusRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewStatusRetrieveRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) SwaggerJsonRetrieve(ctx context.Context, params *SwaggerJsonRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewSwaggerJsonRetrieveRequest(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) SwaggerYamlRetrieve(ctx context.Context, params *SwaggerYamlRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewSwaggerYamlRetrieveRequest(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) SwaggerRetrieve(ctx context.Context, params *SwaggerRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewSwaggerRetrieveRequest(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) TenancyTenantGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantGroupsList(ctx context.Context, params *TenancyTenantGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsListRequest(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) TenancyTenantGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsBulkPartialUpdateRequestWithBody(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) TenancyTenantGroupsBulkPartialUpdate(ctx context.Context, body TenancyTenantGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsBulkPartialUpdateRequest(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) TenancyTenantGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsCreateRequestWithBody(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) TenancyTenantGroupsCreate(ctx context.Context, body TenancyTenantGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsCreateRequest(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) TenancyTenantGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsBulkUpdateRequestWithBody(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) TenancyTenantGroupsBulkUpdate(ctx context.Context, body TenancyTenantGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsBulkUpdateRequest(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) TenancyTenantGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsDestroyRequest(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) TenancyTenantGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsRetrieveRequest(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) TenancyTenantGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsPartialUpdateRequestWithBody(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) TenancyTenantGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsPartialUpdateRequest(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) TenancyTenantGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsUpdateRequestWithBody(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) TenancyTenantGroupsUpdate(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsUpdateRequest(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) TenancyTenantsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantsList(ctx context.Context, params *TenancyTenantsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsListRequest(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) TenancyTenantsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsBulkPartialUpdateRequestWithBody(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) TenancyTenantsBulkPartialUpdate(ctx context.Context, body TenancyTenantsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsBulkPartialUpdateRequest(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) TenancyTenantsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsCreateRequestWithBody(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) TenancyTenantsCreate(ctx context.Context, body TenancyTenantsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsCreateRequest(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) TenancyTenantsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsBulkUpdateRequestWithBody(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) TenancyTenantsBulkUpdate(ctx context.Context, body TenancyTenantsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsBulkUpdateRequest(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) TenancyTenantsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsDestroyRequest(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) TenancyTenantsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsRetrieveRequest(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) TenancyTenantsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsPartialUpdateRequestWithBody(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) TenancyTenantsPartialUpdate(ctx context.Context, id openapi_types.UUID, body TenancyTenantsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsPartialUpdateRequest(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) TenancyTenantsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsUpdateRequestWithBody(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) TenancyTenantsUpdate(ctx context.Context, id openapi_types.UUID, body TenancyTenantsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsUpdateRequest(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 { + return nil, err + } + 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, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersGroupsList(ctx context.Context, params *UsersGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsListRequest(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) UsersGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsBulkPartialUpdateRequestWithBody(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) UsersGroupsBulkPartialUpdate(ctx context.Context, body UsersGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsBulkPartialUpdateRequest(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) UsersGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsCreateRequestWithBody(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) UsersGroupsCreate(ctx context.Context, body UsersGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsCreateRequest(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) UsersGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsBulkUpdateRequestWithBody(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) UsersGroupsBulkUpdate(ctx context.Context, body UsersGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsBulkUpdateRequest(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) UsersGroupsDestroy(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsDestroyRequest(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) UsersGroupsRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsRetrieveRequest(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) UsersGroupsPartialUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsPartialUpdateRequestWithBody(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) UsersGroupsPartialUpdate(ctx context.Context, id int, body UsersGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsPartialUpdateRequest(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) UsersGroupsUpdateWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsUpdateRequestWithBody(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) UsersGroupsUpdate(ctx context.Context, id int, body UsersGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsUpdateRequest(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) UsersPermissionsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersPermissionsList(ctx context.Context, params *UsersPermissionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsListRequest(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) UsersPermissionsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsBulkPartialUpdateRequestWithBody(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) UsersPermissionsBulkPartialUpdate(ctx context.Context, body UsersPermissionsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsBulkPartialUpdateRequest(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) UsersPermissionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsCreateRequestWithBody(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) UsersPermissionsCreate(ctx context.Context, body UsersPermissionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsCreateRequest(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) UsersPermissionsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsBulkUpdateRequestWithBody(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) UsersPermissionsBulkUpdate(ctx context.Context, body UsersPermissionsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsBulkUpdateRequest(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) UsersPermissionsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsDestroyRequest(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) UsersPermissionsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsRetrieveRequest(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) UsersPermissionsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsPartialUpdateRequestWithBody(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) UsersPermissionsPartialUpdate(ctx context.Context, id openapi_types.UUID, body UsersPermissionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsPartialUpdateRequest(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) UsersPermissionsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsUpdateRequestWithBody(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) UsersPermissionsUpdate(ctx context.Context, id openapi_types.UUID, body UsersPermissionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsUpdateRequest(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) UsersTokensBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersTokensList(ctx context.Context, params *UsersTokensListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensListRequest(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) UsersTokensBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensBulkPartialUpdateRequestWithBody(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) UsersTokensBulkPartialUpdate(ctx context.Context, body UsersTokensBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensBulkPartialUpdateRequest(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) UsersTokensCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensCreateRequestWithBody(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) UsersTokensCreate(ctx context.Context, body UsersTokensCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensCreateRequest(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) UsersTokensBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensBulkUpdateRequestWithBody(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) UsersTokensBulkUpdate(ctx context.Context, body UsersTokensBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensBulkUpdateRequest(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) UsersTokensDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensDestroyRequest(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) UsersTokensRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensRetrieveRequest(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) UsersTokensPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensPartialUpdateRequestWithBody(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) UsersTokensPartialUpdate(ctx context.Context, id openapi_types.UUID, body UsersTokensPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensPartialUpdateRequest(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) UsersTokensUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensUpdateRequestWithBody(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) UsersTokensUpdate(ctx context.Context, id openapi_types.UUID, body UsersTokensUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensUpdateRequest(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) UsersUsersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersUsersList(ctx context.Context, params *UsersUsersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersListRequest(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) UsersUsersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersBulkPartialUpdateRequestWithBody(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) UsersUsersBulkPartialUpdate(ctx context.Context, body UsersUsersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersBulkPartialUpdateRequest(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) UsersUsersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersCreateRequestWithBody(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) UsersUsersCreate(ctx context.Context, body UsersUsersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersCreateRequest(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) UsersUsersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersBulkUpdateRequestWithBody(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) UsersUsersBulkUpdate(ctx context.Context, body UsersUsersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersBulkUpdateRequest(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) UsersUsersDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersDestroyRequest(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) UsersUsersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersRetrieveRequest(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) UsersUsersPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersPartialUpdateRequestWithBody(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) UsersUsersPartialUpdate(ctx context.Context, id openapi_types.UUID, body UsersUsersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersPartialUpdateRequest(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) UsersUsersUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersUpdateRequestWithBody(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) UsersUsersUpdate(ctx context.Context, id openapi_types.UUID, body UsersUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersUpdateRequest(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) VirtualizationClusterGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterGroupsList(ctx context.Context, params *VirtualizationClusterGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsListRequest(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) VirtualizationClusterGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsBulkPartialUpdateRequestWithBody(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) VirtualizationClusterGroupsBulkPartialUpdate(ctx context.Context, body VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsBulkPartialUpdateRequest(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) VirtualizationClusterGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsCreateRequestWithBody(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) VirtualizationClusterGroupsCreate(ctx context.Context, body VirtualizationClusterGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsCreateRequest(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) VirtualizationClusterGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsBulkUpdateRequestWithBody(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) VirtualizationClusterGroupsBulkUpdate(ctx context.Context, body VirtualizationClusterGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsBulkUpdateRequest(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) VirtualizationClusterGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsDestroyRequest(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) VirtualizationClusterGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsRetrieveRequest(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) VirtualizationClusterGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsPartialUpdateRequestWithBody(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) VirtualizationClusterGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsPartialUpdateRequest(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) VirtualizationClusterGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsUpdateRequestWithBody(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) VirtualizationClusterGroupsUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsUpdateRequest(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) VirtualizationClusterTypesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterTypesList(ctx context.Context, params *VirtualizationClusterTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesListRequest(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) VirtualizationClusterTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesBulkPartialUpdateRequestWithBody(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) VirtualizationClusterTypesBulkPartialUpdate(ctx context.Context, body VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesBulkPartialUpdateRequest(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) VirtualizationClusterTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesCreateRequestWithBody(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) VirtualizationClusterTypesCreate(ctx context.Context, body VirtualizationClusterTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesCreateRequest(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) VirtualizationClusterTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesBulkUpdateRequestWithBody(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) VirtualizationClusterTypesBulkUpdate(ctx context.Context, body VirtualizationClusterTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesBulkUpdateRequest(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) VirtualizationClusterTypesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesDestroyRequest(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) VirtualizationClusterTypesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesRetrieveRequest(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) VirtualizationClusterTypesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesPartialUpdateRequestWithBody(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) VirtualizationClusterTypesPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesPartialUpdateRequest(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) VirtualizationClusterTypesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesUpdateRequestWithBody(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) VirtualizationClusterTypesUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesUpdateRequest(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) VirtualizationClustersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClustersList(ctx context.Context, params *VirtualizationClustersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersListRequest(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) VirtualizationClustersBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersBulkPartialUpdateRequestWithBody(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) VirtualizationClustersBulkPartialUpdate(ctx context.Context, body VirtualizationClustersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersBulkPartialUpdateRequest(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) VirtualizationClustersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersCreateRequestWithBody(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) VirtualizationClustersCreate(ctx context.Context, body VirtualizationClustersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersCreateRequest(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) VirtualizationClustersBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersBulkUpdateRequestWithBody(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) VirtualizationClustersBulkUpdate(ctx context.Context, body VirtualizationClustersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersBulkUpdateRequest(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) VirtualizationClustersDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersDestroyRequest(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) VirtualizationClustersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersRetrieveRequest(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) VirtualizationClustersPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersPartialUpdateRequestWithBody(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) VirtualizationClustersPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersPartialUpdateRequest(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) VirtualizationClustersUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersUpdateRequestWithBody(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) VirtualizationClustersUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersUpdateRequest(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) VirtualizationInterfacesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationInterfacesList(ctx context.Context, params *VirtualizationInterfacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesListRequest(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) VirtualizationInterfacesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesBulkPartialUpdateRequestWithBody(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) VirtualizationInterfacesBulkPartialUpdate(ctx context.Context, body VirtualizationInterfacesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesBulkPartialUpdateRequest(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) VirtualizationInterfacesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesCreateRequestWithBody(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) VirtualizationInterfacesCreate(ctx context.Context, body VirtualizationInterfacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesCreateRequest(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) VirtualizationInterfacesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesBulkUpdateRequestWithBody(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) VirtualizationInterfacesBulkUpdate(ctx context.Context, body VirtualizationInterfacesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesBulkUpdateRequest(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) VirtualizationInterfacesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesDestroyRequest(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) VirtualizationInterfacesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesRetrieveRequest(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) VirtualizationInterfacesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesPartialUpdateRequestWithBody(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) VirtualizationInterfacesPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesPartialUpdateRequest(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) VirtualizationInterfacesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesUpdateRequestWithBody(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) VirtualizationInterfacesUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesUpdateRequest(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) VirtualizationVirtualMachinesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesBulkDestroyRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationVirtualMachinesList(ctx context.Context, params *VirtualizationVirtualMachinesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesListRequest(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) VirtualizationVirtualMachinesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesBulkPartialUpdateRequestWithBody(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) VirtualizationVirtualMachinesBulkPartialUpdate(ctx context.Context, body VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesBulkPartialUpdateRequest(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) VirtualizationVirtualMachinesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesCreateRequestWithBody(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) VirtualizationVirtualMachinesCreate(ctx context.Context, body VirtualizationVirtualMachinesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesCreateRequest(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) VirtualizationVirtualMachinesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesBulkUpdateRequestWithBody(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) VirtualizationVirtualMachinesBulkUpdate(ctx context.Context, body VirtualizationVirtualMachinesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesBulkUpdateRequest(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) VirtualizationVirtualMachinesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesDestroyRequest(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) VirtualizationVirtualMachinesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesRetrieveRequest(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) VirtualizationVirtualMachinesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesPartialUpdateRequestWithBody(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) VirtualizationVirtualMachinesPartialUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesPartialUpdateRequest(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) VirtualizationVirtualMachinesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesUpdateRequestWithBody(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) VirtualizationVirtualMachinesUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesUpdateRequest(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 generates requests for CircuitsCircuitTerminationsBulkDestroy +func NewCircuitsCircuitTerminationsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuit-terminations/") + 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 +} + +// NewCircuitsCircuitTerminationsListRequest generates requests for CircuitsCircuitTerminationsList +func NewCircuitsCircuitTerminationsListRequest(server string, params *CircuitsCircuitTerminationsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuit-terminations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CircuitId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "circuit_id", runtime.ParamLocationQuery, *params.CircuitId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CircuitIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "circuit_id__n", runtime.ParamLocationQuery, *params.CircuitIdN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.PortSpeed != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port_speed", runtime.ParamLocationQuery, *params.PortSpeed); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortSpeedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port_speed__gt", runtime.ParamLocationQuery, *params.PortSpeedGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortSpeedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port_speed__gte", runtime.ParamLocationQuery, *params.PortSpeedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortSpeedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port_speed__lt", runtime.ParamLocationQuery, *params.PortSpeedLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortSpeedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port_speed__lte", runtime.ParamLocationQuery, *params.PortSpeedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortSpeedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port_speed__n", runtime.ParamLocationQuery, *params.PortSpeedN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderNetworkId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_network_id", runtime.ParamLocationQuery, *params.ProviderNetworkId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderNetworkIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_network_id__n", runtime.ParamLocationQuery, *params.ProviderNetworkIdN); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TermSide != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "term_side", runtime.ParamLocationQuery, *params.TermSide); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TermSideN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "term_side__n", runtime.ParamLocationQuery, *params.TermSideN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UpstreamSpeed != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "upstream_speed", runtime.ParamLocationQuery, *params.UpstreamSpeed); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UpstreamSpeedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "upstream_speed__gt", runtime.ParamLocationQuery, *params.UpstreamSpeedGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UpstreamSpeedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "upstream_speed__gte", runtime.ParamLocationQuery, *params.UpstreamSpeedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UpstreamSpeedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "upstream_speed__lt", runtime.ParamLocationQuery, *params.UpstreamSpeedLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UpstreamSpeedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "upstream_speed__lte", runtime.ParamLocationQuery, *params.UpstreamSpeedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UpstreamSpeedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "upstream_speed__n", runtime.ParamLocationQuery, *params.UpstreamSpeedN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id", runtime.ParamLocationQuery, *params.XconnectId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__ic", runtime.ParamLocationQuery, *params.XconnectIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__ie", runtime.ParamLocationQuery, *params.XconnectIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__iew", runtime.ParamLocationQuery, *params.XconnectIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__ire", runtime.ParamLocationQuery, *params.XconnectIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__isw", runtime.ParamLocationQuery, *params.XconnectIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__n", runtime.ParamLocationQuery, *params.XconnectIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__nic", runtime.ParamLocationQuery, *params.XconnectIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__nie", runtime.ParamLocationQuery, *params.XconnectIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__niew", runtime.ParamLocationQuery, *params.XconnectIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__nire", runtime.ParamLocationQuery, *params.XconnectIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__nisw", runtime.ParamLocationQuery, *params.XconnectIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__nre", runtime.ParamLocationQuery, *params.XconnectIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.XconnectIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "xconnect_id__re", runtime.ParamLocationQuery, *params.XconnectIdRe); err != nil { + return nil, err + } else if 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 +} + +// NewCircuitsCircuitTerminationsBulkPartialUpdateRequest calls the generic CircuitsCircuitTerminationsBulkPartialUpdate builder with application/json body +func NewCircuitsCircuitTerminationsBulkPartialUpdateRequest(server string, body CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTerminationsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTerminationsBulkPartialUpdateRequestWithBody generates requests for CircuitsCircuitTerminationsBulkPartialUpdate with any type of body +func NewCircuitsCircuitTerminationsBulkPartialUpdateRequestWithBody(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("/circuits/circuit-terminations/") + 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 +} + +// NewCircuitsCircuitTerminationsCreateRequest calls the generic CircuitsCircuitTerminationsCreate builder with application/json body +func NewCircuitsCircuitTerminationsCreateRequest(server string, body CircuitsCircuitTerminationsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTerminationsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTerminationsCreateRequestWithBody generates requests for CircuitsCircuitTerminationsCreate with any type of body +func NewCircuitsCircuitTerminationsCreateRequestWithBody(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("/circuits/circuit-terminations/") + 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 +} + +// NewCircuitsCircuitTerminationsBulkUpdateRequest calls the generic CircuitsCircuitTerminationsBulkUpdate builder with application/json body +func NewCircuitsCircuitTerminationsBulkUpdateRequest(server string, body CircuitsCircuitTerminationsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTerminationsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTerminationsBulkUpdateRequestWithBody generates requests for CircuitsCircuitTerminationsBulkUpdate with any type of body +func NewCircuitsCircuitTerminationsBulkUpdateRequestWithBody(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("/circuits/circuit-terminations/") + 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 +} + +// NewCircuitsCircuitTerminationsDestroyRequest generates requests for CircuitsCircuitTerminationsDestroy +func NewCircuitsCircuitTerminationsDestroyRequest(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("/circuits/circuit-terminations/%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 +} + +// NewCircuitsCircuitTerminationsRetrieveRequest generates requests for CircuitsCircuitTerminationsRetrieve +func NewCircuitsCircuitTerminationsRetrieveRequest(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("/circuits/circuit-terminations/%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 +} + +// NewCircuitsCircuitTerminationsPartialUpdateRequest calls the generic CircuitsCircuitTerminationsPartialUpdate builder with application/json body +func NewCircuitsCircuitTerminationsPartialUpdateRequest(server string, id openapi_types.UUID, body CircuitsCircuitTerminationsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTerminationsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsCircuitTerminationsPartialUpdateRequestWithBody generates requests for CircuitsCircuitTerminationsPartialUpdate with any type of body +func NewCircuitsCircuitTerminationsPartialUpdateRequestWithBody(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/", 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 +} + +// NewCircuitsCircuitTerminationsUpdateRequest calls the generic CircuitsCircuitTerminationsUpdate builder with application/json body +func NewCircuitsCircuitTerminationsUpdateRequest(server string, id openapi_types.UUID, body CircuitsCircuitTerminationsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTerminationsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsCircuitTerminationsUpdateRequestWithBody generates requests for CircuitsCircuitTerminationsUpdate with any type of body +func NewCircuitsCircuitTerminationsUpdateRequestWithBody(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/", 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 +} + +// NewCircuitsCircuitTerminationsTraceRetrieveRequest generates requests for CircuitsCircuitTerminationsTraceRetrieve +func NewCircuitsCircuitTerminationsTraceRetrieveRequest(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("/circuits/circuit-terminations/%s/trace/", 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 +} + +// NewCircuitsCircuitTypesBulkDestroyRequest generates requests for CircuitsCircuitTypesBulkDestroy +func NewCircuitsCircuitTypesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuit-types/") + 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 +} + +// NewCircuitsCircuitTypesListRequest generates requests for CircuitsCircuitTypesList +func NewCircuitsCircuitTypesListRequest(server string, params *CircuitsCircuitTypesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuit-types/") + 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.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 +} + +// NewCircuitsCircuitTypesBulkPartialUpdateRequest calls the generic CircuitsCircuitTypesBulkPartialUpdate builder with application/json body +func NewCircuitsCircuitTypesBulkPartialUpdateRequest(server string, body CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTypesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTypesBulkPartialUpdateRequestWithBody generates requests for CircuitsCircuitTypesBulkPartialUpdate with any type of body +func NewCircuitsCircuitTypesBulkPartialUpdateRequestWithBody(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("/circuits/circuit-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 +} + +// NewCircuitsCircuitTypesCreateRequest calls the generic CircuitsCircuitTypesCreate builder with application/json body +func NewCircuitsCircuitTypesCreateRequest(server string, body CircuitsCircuitTypesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTypesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTypesCreateRequestWithBody generates requests for CircuitsCircuitTypesCreate with any type of body +func NewCircuitsCircuitTypesCreateRequestWithBody(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("/circuits/circuit-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 +} + +// NewCircuitsCircuitTypesBulkUpdateRequest calls the generic CircuitsCircuitTypesBulkUpdate builder with application/json body +func NewCircuitsCircuitTypesBulkUpdateRequest(server string, body CircuitsCircuitTypesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTypesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTypesBulkUpdateRequestWithBody generates requests for CircuitsCircuitTypesBulkUpdate with any type of body +func NewCircuitsCircuitTypesBulkUpdateRequestWithBody(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("/circuits/circuit-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 +} + +// NewCircuitsCircuitTypesDestroyRequest generates requests for CircuitsCircuitTypesDestroy +func NewCircuitsCircuitTypesDestroyRequest(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("/circuits/circuit-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 +} + +// NewCircuitsCircuitTypesRetrieveRequest generates requests for CircuitsCircuitTypesRetrieve +func NewCircuitsCircuitTypesRetrieveRequest(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("/circuits/circuit-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 +} + +// NewCircuitsCircuitTypesPartialUpdateRequest calls the generic CircuitsCircuitTypesPartialUpdate builder with application/json body +func NewCircuitsCircuitTypesPartialUpdateRequest(server string, id openapi_types.UUID, body CircuitsCircuitTypesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTypesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsCircuitTypesPartialUpdateRequestWithBody generates requests for CircuitsCircuitTypesPartialUpdate with any type of body +func NewCircuitsCircuitTypesPartialUpdateRequestWithBody(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/", 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 +} + +// NewCircuitsCircuitTypesUpdateRequest calls the generic CircuitsCircuitTypesUpdate builder with application/json body +func NewCircuitsCircuitTypesUpdateRequest(server string, id openapi_types.UUID, body CircuitsCircuitTypesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTypesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsCircuitTypesUpdateRequestWithBody generates requests for CircuitsCircuitTypesUpdate with any type of body +func NewCircuitsCircuitTypesUpdateRequestWithBody(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/", 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 +} + +// NewCircuitsCircuitsBulkDestroyRequest generates requests for CircuitsCircuitsBulkDestroy +func NewCircuitsCircuitsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuits/") + 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 +} + +// NewCircuitsCircuitsListRequest generates requests for CircuitsCircuitsList +func NewCircuitsCircuitsListRequest(server string, params *CircuitsCircuitsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuits/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cid != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid", runtime.ParamLocationQuery, *params.Cid); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__ic", runtime.ParamLocationQuery, *params.CidIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__ie", runtime.ParamLocationQuery, *params.CidIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__iew", runtime.ParamLocationQuery, *params.CidIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__ire", runtime.ParamLocationQuery, *params.CidIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__isw", runtime.ParamLocationQuery, *params.CidIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__n", runtime.ParamLocationQuery, *params.CidN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__nic", runtime.ParamLocationQuery, *params.CidNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__nie", runtime.ParamLocationQuery, *params.CidNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__niew", runtime.ParamLocationQuery, *params.CidNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__nire", runtime.ParamLocationQuery, *params.CidNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__nisw", runtime.ParamLocationQuery, *params.CidNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__nre", runtime.ParamLocationQuery, *params.CidNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CidRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cid__re", runtime.ParamLocationQuery, *params.CidRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommitRate != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "commit_rate", runtime.ParamLocationQuery, *params.CommitRate); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommitRateGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "commit_rate__gt", runtime.ParamLocationQuery, *params.CommitRateGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommitRateGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "commit_rate__gte", runtime.ParamLocationQuery, *params.CommitRateGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommitRateLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "commit_rate__lt", runtime.ParamLocationQuery, *params.CommitRateLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommitRateLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "commit_rate__lte", runtime.ParamLocationQuery, *params.CommitRateLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommitRateN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "commit_rate__n", runtime.ParamLocationQuery, *params.CommitRateN); err != nil { + return nil, err + } else if parsed, err := 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.InstallDate != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "install_date", runtime.ParamLocationQuery, *params.InstallDate); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InstallDateGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "install_date__gt", runtime.ParamLocationQuery, *params.InstallDateGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InstallDateGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "install_date__gte", runtime.ParamLocationQuery, *params.InstallDateGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InstallDateLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "install_date__lt", runtime.ParamLocationQuery, *params.InstallDateLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InstallDateLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "install_date__lte", runtime.ParamLocationQuery, *params.InstallDateLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InstallDateN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "install_date__n", runtime.ParamLocationQuery, *params.InstallDateN); err != nil { + return nil, err + } else if parsed, err := 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.Provider != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider", runtime.ParamLocationQuery, *params.Provider); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.ProviderId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_id", runtime.ParamLocationQuery, *params.ProviderId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_id__n", runtime.ParamLocationQuery, *params.ProviderIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderNetworkId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_network_id", runtime.ParamLocationQuery, *params.ProviderNetworkId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderNetworkIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_network_id__n", runtime.ParamLocationQuery, *params.ProviderNetworkIdN); err != nil { + return nil, err + } else if parsed, err := 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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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) + } + } + } + + } + + if params.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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.TypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type_id", runtime.ParamLocationQuery, *params.TypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type_id__n", runtime.ParamLocationQuery, *params.TypeIdN); err != nil { + return nil, err + } else if 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 +} + +// NewCircuitsCircuitsBulkPartialUpdateRequest calls the generic CircuitsCircuitsBulkPartialUpdate builder with application/json body +func NewCircuitsCircuitsBulkPartialUpdateRequest(server string, body CircuitsCircuitsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitsBulkPartialUpdateRequestWithBody generates requests for CircuitsCircuitsBulkPartialUpdate with any type of body +func NewCircuitsCircuitsBulkPartialUpdateRequestWithBody(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("/circuits/circuits/") + 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 +} + +// NewCircuitsCircuitsCreateRequest calls the generic CircuitsCircuitsCreate builder with application/json body +func NewCircuitsCircuitsCreateRequest(server string, body CircuitsCircuitsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitsCreateRequestWithBody generates requests for CircuitsCircuitsCreate with any type of body +func NewCircuitsCircuitsCreateRequestWithBody(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("/circuits/circuits/") + 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 +} + +// NewCircuitsCircuitsBulkUpdateRequest calls the generic CircuitsCircuitsBulkUpdate builder with application/json body +func NewCircuitsCircuitsBulkUpdateRequest(server string, body CircuitsCircuitsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitsBulkUpdateRequestWithBody generates requests for CircuitsCircuitsBulkUpdate with any type of body +func NewCircuitsCircuitsBulkUpdateRequestWithBody(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("/circuits/circuits/") + 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 +} + +// NewCircuitsCircuitsDestroyRequest generates requests for CircuitsCircuitsDestroy +func NewCircuitsCircuitsDestroyRequest(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("/circuits/circuits/%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 +} + +// NewCircuitsCircuitsRetrieveRequest generates requests for CircuitsCircuitsRetrieve +func NewCircuitsCircuitsRetrieveRequest(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("/circuits/circuits/%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 +} + +// NewCircuitsCircuitsPartialUpdateRequest calls the generic CircuitsCircuitsPartialUpdate builder with application/json body +func NewCircuitsCircuitsPartialUpdateRequest(server string, id openapi_types.UUID, body CircuitsCircuitsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsCircuitsPartialUpdateRequestWithBody generates requests for CircuitsCircuitsPartialUpdate with any type of body +func NewCircuitsCircuitsPartialUpdateRequestWithBody(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/", 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 +} + +// NewCircuitsCircuitsUpdateRequest calls the generic CircuitsCircuitsUpdate builder with application/json body +func NewCircuitsCircuitsUpdateRequest(server string, id openapi_types.UUID, body CircuitsCircuitsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsCircuitsUpdateRequestWithBody generates requests for CircuitsCircuitsUpdate with any type of body +func NewCircuitsCircuitsUpdateRequestWithBody(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/", 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 +} + +// NewCircuitsProviderNetworksBulkDestroyRequest generates requests for CircuitsProviderNetworksBulkDestroy +func NewCircuitsProviderNetworksBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/provider-networks/") + 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 +} + +// NewCircuitsProviderNetworksListRequest generates requests for CircuitsProviderNetworksList +func NewCircuitsProviderNetworksListRequest(server string, params *CircuitsProviderNetworksListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/provider-networks/") + 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.Provider != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider", runtime.ParamLocationQuery, *params.Provider); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.ProviderId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_id", runtime.ParamLocationQuery, *params.ProviderId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider_id__n", runtime.ParamLocationQuery, *params.ProviderIdN); err != nil { + return nil, err + } else if parsed, err := 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.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 +} + +// NewCircuitsProviderNetworksBulkPartialUpdateRequest calls the generic CircuitsProviderNetworksBulkPartialUpdate builder with application/json body +func NewCircuitsProviderNetworksBulkPartialUpdateRequest(server string, body CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderNetworksBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProviderNetworksBulkPartialUpdateRequestWithBody generates requests for CircuitsProviderNetworksBulkPartialUpdate with any type of body +func NewCircuitsProviderNetworksBulkPartialUpdateRequestWithBody(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("/circuits/provider-networks/") + 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 +} + +// NewCircuitsProviderNetworksCreateRequest calls the generic CircuitsProviderNetworksCreate builder with application/json body +func NewCircuitsProviderNetworksCreateRequest(server string, body CircuitsProviderNetworksCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderNetworksCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProviderNetworksCreateRequestWithBody generates requests for CircuitsProviderNetworksCreate with any type of body +func NewCircuitsProviderNetworksCreateRequestWithBody(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("/circuits/provider-networks/") + 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 +} + +// NewCircuitsProviderNetworksBulkUpdateRequest calls the generic CircuitsProviderNetworksBulkUpdate builder with application/json body +func NewCircuitsProviderNetworksBulkUpdateRequest(server string, body CircuitsProviderNetworksBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderNetworksBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProviderNetworksBulkUpdateRequestWithBody generates requests for CircuitsProviderNetworksBulkUpdate with any type of body +func NewCircuitsProviderNetworksBulkUpdateRequestWithBody(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("/circuits/provider-networks/") + 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 +} + +// NewCircuitsProviderNetworksDestroyRequest generates requests for CircuitsProviderNetworksDestroy +func NewCircuitsProviderNetworksDestroyRequest(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("/circuits/provider-networks/%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 +} + +// NewCircuitsProviderNetworksRetrieveRequest generates requests for CircuitsProviderNetworksRetrieve +func NewCircuitsProviderNetworksRetrieveRequest(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("/circuits/provider-networks/%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 +} + +// NewCircuitsProviderNetworksPartialUpdateRequest calls the generic CircuitsProviderNetworksPartialUpdate builder with application/json body +func NewCircuitsProviderNetworksPartialUpdateRequest(server string, id openapi_types.UUID, body CircuitsProviderNetworksPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderNetworksPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsProviderNetworksPartialUpdateRequestWithBody generates requests for CircuitsProviderNetworksPartialUpdate with any type of body +func NewCircuitsProviderNetworksPartialUpdateRequestWithBody(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/", 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 +} + +// NewCircuitsProviderNetworksUpdateRequest calls the generic CircuitsProviderNetworksUpdate builder with application/json body +func NewCircuitsProviderNetworksUpdateRequest(server string, id openapi_types.UUID, body CircuitsProviderNetworksUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderNetworksUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsProviderNetworksUpdateRequestWithBody generates requests for CircuitsProviderNetworksUpdate with any type of body +func NewCircuitsProviderNetworksUpdateRequestWithBody(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/", 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 +} + +// NewCircuitsProvidersBulkDestroyRequest generates requests for CircuitsProvidersBulkDestroy +func NewCircuitsProvidersBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/providers/") + 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 +} + +// NewCircuitsProvidersListRequest generates requests for CircuitsProvidersList +func NewCircuitsProvidersListRequest(server string, params *CircuitsProvidersListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/providers/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Account != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account", runtime.ParamLocationQuery, *params.Account); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__ic", runtime.ParamLocationQuery, *params.AccountIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__ie", runtime.ParamLocationQuery, *params.AccountIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__iew", runtime.ParamLocationQuery, *params.AccountIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__ire", runtime.ParamLocationQuery, *params.AccountIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__isw", runtime.ParamLocationQuery, *params.AccountIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__n", runtime.ParamLocationQuery, *params.AccountN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__nic", runtime.ParamLocationQuery, *params.AccountNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__nie", runtime.ParamLocationQuery, *params.AccountNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__niew", runtime.ParamLocationQuery, *params.AccountNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__nire", runtime.ParamLocationQuery, *params.AccountNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__nisw", runtime.ParamLocationQuery, *params.AccountNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__nre", runtime.ParamLocationQuery, *params.AccountNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccountRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "account__re", runtime.ParamLocationQuery, *params.AccountRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.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 +} + +// NewCircuitsProvidersBulkPartialUpdateRequest calls the generic CircuitsProvidersBulkPartialUpdate builder with application/json body +func NewCircuitsProvidersBulkPartialUpdateRequest(server string, body CircuitsProvidersBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProvidersBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProvidersBulkPartialUpdateRequestWithBody generates requests for CircuitsProvidersBulkPartialUpdate with any type of body +func NewCircuitsProvidersBulkPartialUpdateRequestWithBody(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("/circuits/providers/") + 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 +} + +// NewCircuitsProvidersCreateRequest calls the generic CircuitsProvidersCreate builder with application/json body +func NewCircuitsProvidersCreateRequest(server string, body CircuitsProvidersCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProvidersCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProvidersCreateRequestWithBody generates requests for CircuitsProvidersCreate with any type of body +func NewCircuitsProvidersCreateRequestWithBody(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("/circuits/providers/") + 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 +} + +// NewCircuitsProvidersBulkUpdateRequest calls the generic CircuitsProvidersBulkUpdate builder with application/json body +func NewCircuitsProvidersBulkUpdateRequest(server string, body CircuitsProvidersBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProvidersBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProvidersBulkUpdateRequestWithBody generates requests for CircuitsProvidersBulkUpdate with any type of body +func NewCircuitsProvidersBulkUpdateRequestWithBody(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("/circuits/providers/") + 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 +} + +// NewCircuitsProvidersDestroyRequest generates requests for CircuitsProvidersDestroy +func NewCircuitsProvidersDestroyRequest(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("/circuits/providers/%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 +} + +// NewCircuitsProvidersRetrieveRequest generates requests for CircuitsProvidersRetrieve +func NewCircuitsProvidersRetrieveRequest(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("/circuits/providers/%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 +} + +// NewCircuitsProvidersPartialUpdateRequest calls the generic CircuitsProvidersPartialUpdate builder with application/json body +func NewCircuitsProvidersPartialUpdateRequest(server string, id openapi_types.UUID, body CircuitsProvidersPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProvidersPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsProvidersPartialUpdateRequestWithBody generates requests for CircuitsProvidersPartialUpdate with any type of body +func NewCircuitsProvidersPartialUpdateRequestWithBody(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/", 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 +} + +// NewCircuitsProvidersUpdateRequest calls the generic CircuitsProvidersUpdate builder with application/json body +func NewCircuitsProvidersUpdateRequest(server string, id openapi_types.UUID, body CircuitsProvidersUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProvidersUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsProvidersUpdateRequestWithBody generates requests for CircuitsProvidersUpdate with any type of body +func NewCircuitsProvidersUpdateRequestWithBody(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/", 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 +} + +// NewDcimCablesBulkDestroyRequest generates requests for DcimCablesBulkDestroy +func NewDcimCablesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/cables/") + 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 +} + +// NewDcimCablesListRequest generates requests for DcimCablesList +func NewDcimCablesListRequest(server string, params *DcimCablesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/cables/") + 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.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.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.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.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.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.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.Length != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "length", runtime.ParamLocationQuery, *params.Length); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LengthGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "length__gt", runtime.ParamLocationQuery, *params.LengthGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LengthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "length__gte", runtime.ParamLocationQuery, *params.LengthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LengthLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "length__lt", runtime.ParamLocationQuery, *params.LengthLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LengthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "length__lte", runtime.ParamLocationQuery, *params.LengthLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LengthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "length__n", runtime.ParamLocationQuery, *params.LengthN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LengthUnit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "length_unit", runtime.ParamLocationQuery, *params.LengthUnit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LengthUnitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "length_unit__n", runtime.ParamLocationQuery, *params.LengthUnitN); err != nil { + return nil, err + } else if parsed, err := 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.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.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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.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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimCablesBulkPartialUpdateRequest calls the generic DcimCablesBulkPartialUpdate builder with application/json body +func NewDcimCablesBulkPartialUpdateRequest(server string, body DcimCablesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCablesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimCablesBulkPartialUpdateRequestWithBody generates requests for DcimCablesBulkPartialUpdate with any type of body +func NewDcimCablesBulkPartialUpdateRequestWithBody(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/cables/") + 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 +} + +// NewDcimCablesCreateRequest calls the generic DcimCablesCreate builder with application/json body +func NewDcimCablesCreateRequest(server string, body DcimCablesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCablesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimCablesCreateRequestWithBody generates requests for DcimCablesCreate with any type of body +func NewDcimCablesCreateRequestWithBody(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/cables/") + 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 +} + +// NewDcimCablesBulkUpdateRequest calls the generic DcimCablesBulkUpdate builder with application/json body +func NewDcimCablesBulkUpdateRequest(server string, body DcimCablesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCablesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimCablesBulkUpdateRequestWithBody generates requests for DcimCablesBulkUpdate with any type of body +func NewDcimCablesBulkUpdateRequestWithBody(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/cables/") + 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 +} + +// NewDcimCablesDestroyRequest generates requests for DcimCablesDestroy +func NewDcimCablesDestroyRequest(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/cables/%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 +} + +// NewDcimCablesRetrieveRequest generates requests for DcimCablesRetrieve +func NewDcimCablesRetrieveRequest(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/cables/%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 +} + +// NewDcimCablesPartialUpdateRequest calls the generic DcimCablesPartialUpdate builder with application/json body +func NewDcimCablesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimCablesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCablesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimCablesPartialUpdateRequestWithBody generates requests for DcimCablesPartialUpdate with any type of body +func NewDcimCablesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimCablesUpdateRequest calls the generic DcimCablesUpdate builder with application/json body +func NewDcimCablesUpdateRequest(server string, id openapi_types.UUID, body DcimCablesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCablesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimCablesUpdateRequestWithBody generates requests for DcimCablesUpdate with any type of body +func NewDcimCablesUpdateRequestWithBody(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/", 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 +} + +// NewDcimConnectedDeviceListRequest generates requests for DcimConnectedDeviceList +func NewDcimConnectedDeviceListRequest(server string, params *DcimConnectedDeviceListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/connected-device/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_device", runtime.ParamLocationQuery, params.PeerDevice); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_interface", runtime.ParamLocationQuery, params.PeerInterface); err != nil { + return nil, err + } else if 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 +} + +// NewDcimConsoleConnectionsListRequest generates requests for DcimConsoleConnectionsList +func NewDcimConsoleConnectionsListRequest(server string, params *DcimConsoleConnectionsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-connections/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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.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.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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimConsolePortTemplatesBulkDestroyRequest generates requests for DcimConsolePortTemplatesBulkDestroy +func NewDcimConsolePortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-port-templates/") + 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 +} + +// NewDcimConsolePortTemplatesListRequest generates requests for DcimConsolePortTemplatesList +func NewDcimConsolePortTemplatesListRequest(server string, params *DcimConsolePortTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DevicetypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicetypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_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.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.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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimConsolePortTemplatesBulkPartialUpdateRequest calls the generic DcimConsolePortTemplatesBulkPartialUpdate builder with application/json body +func NewDcimConsolePortTemplatesBulkPartialUpdateRequest(server string, body DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimConsolePortTemplatesBulkPartialUpdate with any type of body +func NewDcimConsolePortTemplatesBulkPartialUpdateRequestWithBody(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/console-port-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 +} + +// NewDcimConsolePortTemplatesCreateRequest calls the generic DcimConsolePortTemplatesCreate builder with application/json body +func NewDcimConsolePortTemplatesCreateRequest(server string, body DcimConsolePortTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortTemplatesCreateRequestWithBody generates requests for DcimConsolePortTemplatesCreate with any type of body +func NewDcimConsolePortTemplatesCreateRequestWithBody(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/console-port-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 +} + +// NewDcimConsolePortTemplatesBulkUpdateRequest calls the generic DcimConsolePortTemplatesBulkUpdate builder with application/json body +func NewDcimConsolePortTemplatesBulkUpdateRequest(server string, body DcimConsolePortTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortTemplatesBulkUpdateRequestWithBody generates requests for DcimConsolePortTemplatesBulkUpdate with any type of body +func NewDcimConsolePortTemplatesBulkUpdateRequestWithBody(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/console-port-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 +} + +// NewDcimConsolePortTemplatesDestroyRequest generates requests for DcimConsolePortTemplatesDestroy +func NewDcimConsolePortTemplatesDestroyRequest(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/console-port-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 +} + +// NewDcimConsolePortTemplatesRetrieveRequest generates requests for DcimConsolePortTemplatesRetrieve +func NewDcimConsolePortTemplatesRetrieveRequest(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/console-port-templates/%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 +} + +// NewDcimConsolePortTemplatesPartialUpdateRequest calls the generic DcimConsolePortTemplatesPartialUpdate builder with application/json body +func NewDcimConsolePortTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimConsolePortTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsolePortTemplatesPartialUpdateRequestWithBody generates requests for DcimConsolePortTemplatesPartialUpdate with any type of body +func NewDcimConsolePortTemplatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimConsolePortTemplatesUpdateRequest calls the generic DcimConsolePortTemplatesUpdate builder with application/json body +func NewDcimConsolePortTemplatesUpdateRequest(server string, id openapi_types.UUID, body DcimConsolePortTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsolePortTemplatesUpdateRequestWithBody generates requests for DcimConsolePortTemplatesUpdate with any type of body +func NewDcimConsolePortTemplatesUpdateRequestWithBody(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/", 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 +} + +// NewDcimConsolePortsBulkDestroyRequest generates requests for DcimConsolePortsBulkDestroy +func NewDcimConsolePortsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-ports/") + 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 +} + +// NewDcimConsolePortsListRequest generates requests for DcimConsolePortsList +func NewDcimConsolePortsListRequest(server string, params *DcimConsolePortsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimConsolePortsBulkPartialUpdateRequest calls the generic DcimConsolePortsBulkPartialUpdate builder with application/json body +func NewDcimConsolePortsBulkPartialUpdateRequest(server string, body DcimConsolePortsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortsBulkPartialUpdateRequestWithBody generates requests for DcimConsolePortsBulkPartialUpdate with any type of body +func NewDcimConsolePortsBulkPartialUpdateRequestWithBody(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/console-ports/") + 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 +} + +// NewDcimConsolePortsCreateRequest calls the generic DcimConsolePortsCreate builder with application/json body +func NewDcimConsolePortsCreateRequest(server string, body DcimConsolePortsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortsCreateRequestWithBody generates requests for DcimConsolePortsCreate with any type of body +func NewDcimConsolePortsCreateRequestWithBody(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/console-ports/") + 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 +} + +// NewDcimConsolePortsBulkUpdateRequest calls the generic DcimConsolePortsBulkUpdate builder with application/json body +func NewDcimConsolePortsBulkUpdateRequest(server string, body DcimConsolePortsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortsBulkUpdateRequestWithBody generates requests for DcimConsolePortsBulkUpdate with any type of body +func NewDcimConsolePortsBulkUpdateRequestWithBody(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/console-ports/") + 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 +} + +// NewDcimConsolePortsDestroyRequest generates requests for DcimConsolePortsDestroy +func NewDcimConsolePortsDestroyRequest(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/console-ports/%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 +} + +// NewDcimConsolePortsRetrieveRequest generates requests for DcimConsolePortsRetrieve +func NewDcimConsolePortsRetrieveRequest(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/console-ports/%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 +} + +// NewDcimConsolePortsPartialUpdateRequest calls the generic DcimConsolePortsPartialUpdate builder with application/json body +func NewDcimConsolePortsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimConsolePortsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsolePortsPartialUpdateRequestWithBody generates requests for DcimConsolePortsPartialUpdate with any type of body +func NewDcimConsolePortsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimConsolePortsUpdateRequest calls the generic DcimConsolePortsUpdate builder with application/json body +func NewDcimConsolePortsUpdateRequest(server string, id openapi_types.UUID, body DcimConsolePortsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsolePortsUpdateRequestWithBody generates requests for DcimConsolePortsUpdate with any type of body +func NewDcimConsolePortsUpdateRequestWithBody(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/", 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 +} + +// NewDcimConsolePortsTraceRetrieveRequest generates requests for DcimConsolePortsTraceRetrieve +func NewDcimConsolePortsTraceRetrieveRequest(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/console-ports/%s/trace/", 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 +} + +// NewDcimConsoleServerPortTemplatesBulkDestroyRequest generates requests for DcimConsoleServerPortTemplatesBulkDestroy +func NewDcimConsoleServerPortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-server-port-templates/") + 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 +} + +// NewDcimConsoleServerPortTemplatesListRequest generates requests for DcimConsoleServerPortTemplatesList +func NewDcimConsoleServerPortTemplatesListRequest(server string, params *DcimConsoleServerPortTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-server-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DevicetypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicetypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_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.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.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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimConsoleServerPortTemplatesBulkPartialUpdateRequest calls the generic DcimConsoleServerPortTemplatesBulkPartialUpdate builder with application/json body +func NewDcimConsoleServerPortTemplatesBulkPartialUpdateRequest(server string, body DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimConsoleServerPortTemplatesBulkPartialUpdate with any type of body +func NewDcimConsoleServerPortTemplatesBulkPartialUpdateRequestWithBody(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/console-server-port-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 +} + +// NewDcimConsoleServerPortTemplatesCreateRequest calls the generic DcimConsoleServerPortTemplatesCreate builder with application/json body +func NewDcimConsoleServerPortTemplatesCreateRequest(server string, body DcimConsoleServerPortTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortTemplatesCreateRequestWithBody generates requests for DcimConsoleServerPortTemplatesCreate with any type of body +func NewDcimConsoleServerPortTemplatesCreateRequestWithBody(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/console-server-port-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 +} + +// NewDcimConsoleServerPortTemplatesBulkUpdateRequest calls the generic DcimConsoleServerPortTemplatesBulkUpdate builder with application/json body +func NewDcimConsoleServerPortTemplatesBulkUpdateRequest(server string, body DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortTemplatesBulkUpdateRequestWithBody generates requests for DcimConsoleServerPortTemplatesBulkUpdate with any type of body +func NewDcimConsoleServerPortTemplatesBulkUpdateRequestWithBody(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/console-server-port-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 +} + +// NewDcimConsoleServerPortTemplatesDestroyRequest generates requests for DcimConsoleServerPortTemplatesDestroy +func NewDcimConsoleServerPortTemplatesDestroyRequest(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/console-server-port-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 +} + +// NewDcimConsoleServerPortTemplatesRetrieveRequest generates requests for DcimConsoleServerPortTemplatesRetrieve +func NewDcimConsoleServerPortTemplatesRetrieveRequest(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/console-server-port-templates/%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 +} + +// NewDcimConsoleServerPortTemplatesPartialUpdateRequest calls the generic DcimConsoleServerPortTemplatesPartialUpdate builder with application/json body +func NewDcimConsoleServerPortTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortTemplatesPartialUpdateRequestWithBody generates requests for DcimConsoleServerPortTemplatesPartialUpdate with any type of body +func NewDcimConsoleServerPortTemplatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimConsoleServerPortTemplatesUpdateRequest calls the generic DcimConsoleServerPortTemplatesUpdate builder with application/json body +func NewDcimConsoleServerPortTemplatesUpdateRequest(server string, id openapi_types.UUID, body DcimConsoleServerPortTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortTemplatesUpdateRequestWithBody generates requests for DcimConsoleServerPortTemplatesUpdate with any type of body +func NewDcimConsoleServerPortTemplatesUpdateRequestWithBody(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/", 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 +} + +// NewDcimConsoleServerPortsBulkDestroyRequest generates requests for DcimConsoleServerPortsBulkDestroy +func NewDcimConsoleServerPortsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-server-ports/") + 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 +} + +// NewDcimConsoleServerPortsListRequest generates requests for DcimConsoleServerPortsList +func NewDcimConsoleServerPortsListRequest(server string, params *DcimConsoleServerPortsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-server-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimConsoleServerPortsBulkPartialUpdateRequest calls the generic DcimConsoleServerPortsBulkPartialUpdate builder with application/json body +func NewDcimConsoleServerPortsBulkPartialUpdateRequest(server string, body DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortsBulkPartialUpdateRequestWithBody generates requests for DcimConsoleServerPortsBulkPartialUpdate with any type of body +func NewDcimConsoleServerPortsBulkPartialUpdateRequestWithBody(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/console-server-ports/") + 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 +} + +// NewDcimConsoleServerPortsCreateRequest calls the generic DcimConsoleServerPortsCreate builder with application/json body +func NewDcimConsoleServerPortsCreateRequest(server string, body DcimConsoleServerPortsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortsCreateRequestWithBody generates requests for DcimConsoleServerPortsCreate with any type of body +func NewDcimConsoleServerPortsCreateRequestWithBody(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/console-server-ports/") + 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 +} + +// NewDcimConsoleServerPortsBulkUpdateRequest calls the generic DcimConsoleServerPortsBulkUpdate builder with application/json body +func NewDcimConsoleServerPortsBulkUpdateRequest(server string, body DcimConsoleServerPortsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortsBulkUpdateRequestWithBody generates requests for DcimConsoleServerPortsBulkUpdate with any type of body +func NewDcimConsoleServerPortsBulkUpdateRequestWithBody(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/console-server-ports/") + 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 +} + +// NewDcimConsoleServerPortsDestroyRequest generates requests for DcimConsoleServerPortsDestroy +func NewDcimConsoleServerPortsDestroyRequest(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/console-server-ports/%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 +} + +// NewDcimConsoleServerPortsRetrieveRequest generates requests for DcimConsoleServerPortsRetrieve +func NewDcimConsoleServerPortsRetrieveRequest(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/console-server-ports/%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 +} + +// NewDcimConsoleServerPortsPartialUpdateRequest calls the generic DcimConsoleServerPortsPartialUpdate builder with application/json body +func NewDcimConsoleServerPortsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimConsoleServerPortsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortsPartialUpdateRequestWithBody generates requests for DcimConsoleServerPortsPartialUpdate with any type of body +func NewDcimConsoleServerPortsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimConsoleServerPortsUpdateRequest calls the generic DcimConsoleServerPortsUpdate builder with application/json body +func NewDcimConsoleServerPortsUpdateRequest(server string, id openapi_types.UUID, body DcimConsoleServerPortsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortsUpdateRequestWithBody generates requests for DcimConsoleServerPortsUpdate with any type of body +func NewDcimConsoleServerPortsUpdateRequestWithBody(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/", 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 +} + +// NewDcimConsoleServerPortsTraceRetrieveRequest generates requests for DcimConsoleServerPortsTraceRetrieve +func NewDcimConsoleServerPortsTraceRetrieveRequest(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/console-server-ports/%s/trace/", 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 +} + +// NewDcimDeviceBayTemplatesBulkDestroyRequest generates requests for DcimDeviceBayTemplatesBulkDestroy +func NewDcimDeviceBayTemplatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-bay-templates/") + 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 +} + +// NewDcimDeviceBayTemplatesListRequest generates requests for DcimDeviceBayTemplatesList +func NewDcimDeviceBayTemplatesListRequest(server string, params *DcimDeviceBayTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-bay-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DevicetypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicetypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_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.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.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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDeviceBayTemplatesBulkPartialUpdateRequest calls the generic DcimDeviceBayTemplatesBulkPartialUpdate builder with application/json body +func NewDcimDeviceBayTemplatesBulkPartialUpdateRequest(server string, body DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBayTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBayTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimDeviceBayTemplatesBulkPartialUpdate with any type of body +func NewDcimDeviceBayTemplatesBulkPartialUpdateRequestWithBody(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-bay-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 +} + +// NewDcimDeviceBayTemplatesCreateRequest calls the generic DcimDeviceBayTemplatesCreate builder with application/json body +func NewDcimDeviceBayTemplatesCreateRequest(server string, body DcimDeviceBayTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBayTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBayTemplatesCreateRequestWithBody generates requests for DcimDeviceBayTemplatesCreate with any type of body +func NewDcimDeviceBayTemplatesCreateRequestWithBody(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-bay-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 +} + +// NewDcimDeviceBayTemplatesBulkUpdateRequest calls the generic DcimDeviceBayTemplatesBulkUpdate builder with application/json body +func NewDcimDeviceBayTemplatesBulkUpdateRequest(server string, body DcimDeviceBayTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBayTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBayTemplatesBulkUpdateRequestWithBody generates requests for DcimDeviceBayTemplatesBulkUpdate with any type of body +func NewDcimDeviceBayTemplatesBulkUpdateRequestWithBody(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-bay-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 +} + +// NewDcimDeviceBayTemplatesDestroyRequest generates requests for DcimDeviceBayTemplatesDestroy +func NewDcimDeviceBayTemplatesDestroyRequest(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-bay-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 +} + +// NewDcimDeviceBayTemplatesRetrieveRequest generates requests for DcimDeviceBayTemplatesRetrieve +func NewDcimDeviceBayTemplatesRetrieveRequest(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-bay-templates/%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 +} + +// NewDcimDeviceBayTemplatesPartialUpdateRequest calls the generic DcimDeviceBayTemplatesPartialUpdate builder with application/json body +func NewDcimDeviceBayTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceBayTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBayTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceBayTemplatesPartialUpdateRequestWithBody generates requests for DcimDeviceBayTemplatesPartialUpdate with any type of body +func NewDcimDeviceBayTemplatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimDeviceBayTemplatesUpdateRequest calls the generic DcimDeviceBayTemplatesUpdate builder with application/json body +func NewDcimDeviceBayTemplatesUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceBayTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBayTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceBayTemplatesUpdateRequestWithBody generates requests for DcimDeviceBayTemplatesUpdate with any type of body +func NewDcimDeviceBayTemplatesUpdateRequestWithBody(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/", 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 +} + +// NewDcimDeviceBaysBulkDestroyRequest generates requests for DcimDeviceBaysBulkDestroy +func NewDcimDeviceBaysBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-bays/") + 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 +} + +// NewDcimDeviceBaysListRequest generates requests for DcimDeviceBaysList +func NewDcimDeviceBaysListRequest(server string, params *DcimDeviceBaysListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-bays/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + 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.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.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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewDcimDeviceBaysBulkPartialUpdateRequest calls the generic DcimDeviceBaysBulkPartialUpdate builder with application/json body +func NewDcimDeviceBaysBulkPartialUpdateRequest(server string, body DcimDeviceBaysBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBaysBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBaysBulkPartialUpdateRequestWithBody generates requests for DcimDeviceBaysBulkPartialUpdate with any type of body +func NewDcimDeviceBaysBulkPartialUpdateRequestWithBody(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-bays/") + 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 +} + +// NewDcimDeviceBaysCreateRequest calls the generic DcimDeviceBaysCreate builder with application/json body +func NewDcimDeviceBaysCreateRequest(server string, body DcimDeviceBaysCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBaysCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBaysCreateRequestWithBody generates requests for DcimDeviceBaysCreate with any type of body +func NewDcimDeviceBaysCreateRequestWithBody(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-bays/") + 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 +} + +// NewDcimDeviceBaysBulkUpdateRequest calls the generic DcimDeviceBaysBulkUpdate builder with application/json body +func NewDcimDeviceBaysBulkUpdateRequest(server string, body DcimDeviceBaysBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBaysBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBaysBulkUpdateRequestWithBody generates requests for DcimDeviceBaysBulkUpdate with any type of body +func NewDcimDeviceBaysBulkUpdateRequestWithBody(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-bays/") + 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 +} + +// NewDcimDeviceBaysDestroyRequest generates requests for DcimDeviceBaysDestroy +func NewDcimDeviceBaysDestroyRequest(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-bays/%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 +} + +// NewDcimDeviceBaysRetrieveRequest generates requests for DcimDeviceBaysRetrieve +func NewDcimDeviceBaysRetrieveRequest(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-bays/%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 +} + +// NewDcimDeviceBaysPartialUpdateRequest calls the generic DcimDeviceBaysPartialUpdate builder with application/json body +func NewDcimDeviceBaysPartialUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceBaysPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBaysPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceBaysPartialUpdateRequestWithBody generates requests for DcimDeviceBaysPartialUpdate with any type of body +func NewDcimDeviceBaysPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimDeviceBaysUpdateRequest calls the generic DcimDeviceBaysUpdate builder with application/json body +func NewDcimDeviceBaysUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceBaysUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBaysUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceBaysUpdateRequestWithBody generates requests for DcimDeviceBaysUpdate with any type of body +func NewDcimDeviceBaysUpdateRequestWithBody(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/", 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 +} + +// NewDcimDeviceRolesBulkDestroyRequest generates requests for DcimDeviceRolesBulkDestroy +func NewDcimDeviceRolesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-roles/") + 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 +} + +// NewDcimDeviceRolesListRequest generates requests for DcimDeviceRolesList +func NewDcimDeviceRolesListRequest(server string, params *DcimDeviceRolesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-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.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) + } + } + } + + } + + if params.VmRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vm_role", runtime.ParamLocationQuery, *params.VmRole); err != nil { + return nil, err + } else if 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 +} + +// NewDcimDeviceRolesBulkPartialUpdateRequest calls the generic DcimDeviceRolesBulkPartialUpdate builder with application/json body +func NewDcimDeviceRolesBulkPartialUpdateRequest(server string, body DcimDeviceRolesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRolesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceRolesBulkPartialUpdateRequestWithBody generates requests for DcimDeviceRolesBulkPartialUpdate with any type of body +func NewDcimDeviceRolesBulkPartialUpdateRequestWithBody(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-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 +} + +// NewDcimDeviceRolesCreateRequest calls the generic DcimDeviceRolesCreate builder with application/json body +func NewDcimDeviceRolesCreateRequest(server string, body DcimDeviceRolesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRolesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceRolesCreateRequestWithBody generates requests for DcimDeviceRolesCreate with any type of body +func NewDcimDeviceRolesCreateRequestWithBody(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-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 +} + +// NewDcimDeviceRolesBulkUpdateRequest calls the generic DcimDeviceRolesBulkUpdate builder with application/json body +func NewDcimDeviceRolesBulkUpdateRequest(server string, body DcimDeviceRolesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRolesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceRolesBulkUpdateRequestWithBody generates requests for DcimDeviceRolesBulkUpdate with any type of body +func NewDcimDeviceRolesBulkUpdateRequestWithBody(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-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 +} + +// NewDcimDeviceRolesDestroyRequest generates requests for DcimDeviceRolesDestroy +func NewDcimDeviceRolesDestroyRequest(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-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 +} + +// NewDcimDeviceRolesRetrieveRequest generates requests for DcimDeviceRolesRetrieve +func NewDcimDeviceRolesRetrieveRequest(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-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 +} + +// NewDcimDeviceRolesPartialUpdateRequest calls the generic DcimDeviceRolesPartialUpdate builder with application/json body +func NewDcimDeviceRolesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceRolesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRolesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceRolesPartialUpdateRequestWithBody generates requests for DcimDeviceRolesPartialUpdate with any type of body +func NewDcimDeviceRolesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimDeviceRolesUpdateRequest calls the generic DcimDeviceRolesUpdate builder with application/json body +func NewDcimDeviceRolesUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceRolesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRolesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceRolesUpdateRequestWithBody generates requests for DcimDeviceRolesUpdate with any type of body +func NewDcimDeviceRolesUpdateRequestWithBody(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/", 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 +} + +// NewDcimDeviceTypesBulkDestroyRequest generates requests for DcimDeviceTypesBulkDestroy +func NewDcimDeviceTypesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-types/") + 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 +} + +// NewDcimDeviceTypesListRequest generates requests for DcimDeviceTypesList +func NewDcimDeviceTypesListRequest(server string, params *DcimDeviceTypesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.ConsolePorts != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "console_ports", runtime.ParamLocationQuery, *params.ConsolePorts); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.DeviceBays != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_bays", runtime.ParamLocationQuery, *params.DeviceBays); err != nil { + return nil, err + } else if parsed, err := 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.IsFullDepth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_full_depth", runtime.ParamLocationQuery, *params.IsFullDepth); err != nil { + return nil, err + } else if parsed, err := 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.Manufacturer != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer", runtime.ParamLocationQuery, *params.Manufacturer); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer__n", runtime.ParamLocationQuery, *params.ManufacturerN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id", runtime.ParamLocationQuery, *params.ManufacturerId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id__n", runtime.ParamLocationQuery, *params.ManufacturerIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Model != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model", runtime.ParamLocationQuery, *params.Model); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumber != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number", runtime.ParamLocationQuery, *params.PartNumber); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__ic", runtime.ParamLocationQuery, *params.PartNumberIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__ie", runtime.ParamLocationQuery, *params.PartNumberIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__iew", runtime.ParamLocationQuery, *params.PartNumberIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__ire", runtime.ParamLocationQuery, *params.PartNumberIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__isw", runtime.ParamLocationQuery, *params.PartNumberIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__n", runtime.ParamLocationQuery, *params.PartNumberN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__nic", runtime.ParamLocationQuery, *params.PartNumberNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__nie", runtime.ParamLocationQuery, *params.PartNumberNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__niew", runtime.ParamLocationQuery, *params.PartNumberNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__nire", runtime.ParamLocationQuery, *params.PartNumberNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__nisw", runtime.ParamLocationQuery, *params.PartNumberNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__nre", runtime.ParamLocationQuery, *params.PartNumberNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartNumberRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_number__re", runtime.ParamLocationQuery, *params.PartNumberRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PassThroughPorts != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pass_through_ports", runtime.ParamLocationQuery, *params.PassThroughPorts); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.SubdeviceRole != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subdevice_role", runtime.ParamLocationQuery, *params.SubdeviceRole); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubdeviceRoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subdevice_role__n", runtime.ParamLocationQuery, *params.SubdeviceRoleN); err != nil { + return nil, err + } else if parsed, err := 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.UHeight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height", runtime.ParamLocationQuery, *params.UHeight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__gt", runtime.ParamLocationQuery, *params.UHeightGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__gte", runtime.ParamLocationQuery, *params.UHeightGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__lt", runtime.ParamLocationQuery, *params.UHeightLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__lte", runtime.ParamLocationQuery, *params.UHeightLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__n", runtime.ParamLocationQuery, *params.UHeightN); err != nil { + return nil, err + } else if 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 +} + +// NewDcimDeviceTypesBulkPartialUpdateRequest calls the generic DcimDeviceTypesBulkPartialUpdate builder with application/json body +func NewDcimDeviceTypesBulkPartialUpdateRequest(server string, body DcimDeviceTypesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceTypesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceTypesBulkPartialUpdateRequestWithBody generates requests for DcimDeviceTypesBulkPartialUpdate with any type of body +func NewDcimDeviceTypesBulkPartialUpdateRequestWithBody(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-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 +} + +// NewDcimDeviceTypesCreateRequest calls the generic DcimDeviceTypesCreate builder with application/json body +func NewDcimDeviceTypesCreateRequest(server string, body DcimDeviceTypesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceTypesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceTypesCreateRequestWithBody generates requests for DcimDeviceTypesCreate with any type of body +func NewDcimDeviceTypesCreateRequestWithBody(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-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 +} + +// NewDcimDeviceTypesBulkUpdateRequest calls the generic DcimDeviceTypesBulkUpdate builder with application/json body +func NewDcimDeviceTypesBulkUpdateRequest(server string, body DcimDeviceTypesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceTypesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceTypesBulkUpdateRequestWithBody generates requests for DcimDeviceTypesBulkUpdate with any type of body +func NewDcimDeviceTypesBulkUpdateRequestWithBody(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-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 +} + +// NewDcimDeviceTypesDestroyRequest generates requests for DcimDeviceTypesDestroy +func NewDcimDeviceTypesDestroyRequest(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-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 +} + +// NewDcimDeviceTypesRetrieveRequest generates requests for DcimDeviceTypesRetrieve +func NewDcimDeviceTypesRetrieveRequest(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-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 +} + +// NewDcimDeviceTypesPartialUpdateRequest calls the generic DcimDeviceTypesPartialUpdate builder with application/json body +func NewDcimDeviceTypesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceTypesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceTypesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceTypesPartialUpdateRequestWithBody generates requests for DcimDeviceTypesPartialUpdate with any type of body +func NewDcimDeviceTypesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimDeviceTypesUpdateRequest calls the generic DcimDeviceTypesUpdate builder with application/json body +func NewDcimDeviceTypesUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceTypesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceTypesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceTypesUpdateRequestWithBody generates requests for DcimDeviceTypesUpdate with any type of body +func NewDcimDeviceTypesUpdateRequestWithBody(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/", 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 +} + +// NewDcimDevicesBulkDestroyRequest generates requests for DcimDevicesBulkDestroy +func NewDcimDevicesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/devices/") + 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 +} + +// NewDcimDevicesListRequest generates requests for DcimDevicesList +func NewDcimDevicesListRequest(server string, params *DcimDevicesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/devices/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AssetTag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag", runtime.ParamLocationQuery, *params.AssetTag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ic", runtime.ParamLocationQuery, *params.AssetTagIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ie", runtime.ParamLocationQuery, *params.AssetTagIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__iew", runtime.ParamLocationQuery, *params.AssetTagIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ire", runtime.ParamLocationQuery, *params.AssetTagIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__isw", runtime.ParamLocationQuery, *params.AssetTagIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__n", runtime.ParamLocationQuery, *params.AssetTagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nic", runtime.ParamLocationQuery, *params.AssetTagNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nie", runtime.ParamLocationQuery, *params.AssetTagNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__niew", runtime.ParamLocationQuery, *params.AssetTagNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nire", runtime.ParamLocationQuery, *params.AssetTagNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nisw", runtime.ParamLocationQuery, *params.AssetTagNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nre", runtime.ParamLocationQuery, *params.AssetTagNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__re", runtime.ParamLocationQuery, *params.AssetTagRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id", runtime.ParamLocationQuery, *params.ClusterId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id__n", runtime.ParamLocationQuery, *params.ClusterIdN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.DeviceBays != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_bays", runtime.ParamLocationQuery, *params.DeviceBays); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.Face != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "face", runtime.ParamLocationQuery, *params.Face); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FaceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "face__n", runtime.ParamLocationQuery, *params.FaceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasConsolePorts != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_console_ports", runtime.ParamLocationQuery, *params.HasConsolePorts); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasConsoleServerPorts != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_console_server_ports", runtime.ParamLocationQuery, *params.HasConsoleServerPorts); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasDeviceBays != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_device_bays", runtime.ParamLocationQuery, *params.HasDeviceBays); err != nil { + return nil, err + } else if parsed, err := 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.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.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.HasPowerPorts != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_ports", runtime.ParamLocationQuery, *params.HasPowerPorts); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasRearPorts != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_rear_ports", runtime.ParamLocationQuery, *params.HasRearPorts); err != nil { + return nil, err + } else if parsed, err := 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.IsFullDepth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_full_depth", runtime.ParamLocationQuery, *params.IsFullDepth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IsVirtualChassisMember != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_virtual_chassis_member", runtime.ParamLocationQuery, *params.IsVirtualChassisMember); err != nil { + return nil, err + } else if parsed, err := 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.LocalContextData != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_data", runtime.ParamLocationQuery, *params.LocalContextData); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalContextSchema != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_schema", runtime.ParamLocationQuery, *params.LocalContextSchema); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalContextSchemaN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_schema__n", runtime.ParamLocationQuery, *params.LocalContextSchemaN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalContextSchemaId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_schema_id", runtime.ParamLocationQuery, *params.LocalContextSchemaId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalContextSchemaIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_schema_id__n", runtime.ParamLocationQuery, *params.LocalContextSchemaIdN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ic", runtime.ParamLocationQuery, *params.MacAddressIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ie", runtime.ParamLocationQuery, *params.MacAddressIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__iew", runtime.ParamLocationQuery, *params.MacAddressIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ire", runtime.ParamLocationQuery, *params.MacAddressIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__isw", runtime.ParamLocationQuery, *params.MacAddressIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__n", runtime.ParamLocationQuery, *params.MacAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nic", runtime.ParamLocationQuery, *params.MacAddressNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nie", runtime.ParamLocationQuery, *params.MacAddressNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__niew", runtime.ParamLocationQuery, *params.MacAddressNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nire", runtime.ParamLocationQuery, *params.MacAddressNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nisw", runtime.ParamLocationQuery, *params.MacAddressNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nre", runtime.ParamLocationQuery, *params.MacAddressNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__re", runtime.ParamLocationQuery, *params.MacAddressRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Manufacturer != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer", runtime.ParamLocationQuery, *params.Manufacturer); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer__n", runtime.ParamLocationQuery, *params.ManufacturerN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id", runtime.ParamLocationQuery, *params.ManufacturerId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id__n", runtime.ParamLocationQuery, *params.ManufacturerIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Model != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model", runtime.ParamLocationQuery, *params.Model); err != nil { + return nil, err + } else if parsed, err := 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.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.PassThroughPorts != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pass_through_ports", runtime.ParamLocationQuery, *params.PassThroughPorts); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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) + } + } + } + + } + + if params.PlatformId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id", runtime.ParamLocationQuery, *params.PlatformId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PlatformIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id__n", runtime.ParamLocationQuery, *params.PlatformIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Position != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "position", runtime.ParamLocationQuery, *params.Position); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "position__gt", runtime.ParamLocationQuery, *params.PositionGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "position__gte", runtime.ParamLocationQuery, *params.PositionGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "position__lt", runtime.ParamLocationQuery, *params.PositionLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "position__lte", runtime.ParamLocationQuery, *params.PositionLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "position__n", runtime.ParamLocationQuery, *params.PositionN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.RackGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_group_id", runtime.ParamLocationQuery, *params.RackGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_group_id__n", runtime.ParamLocationQuery, *params.RackGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id__n", runtime.ParamLocationQuery, *params.RackIdN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.RoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id", runtime.ParamLocationQuery, *params.RoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id__n", runtime.ParamLocationQuery, *params.RoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.SecretsGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secrets_group_id", runtime.ParamLocationQuery, *params.SecretsGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretsGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secrets_group_id__n", runtime.ParamLocationQuery, *params.SecretsGroupIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Serial != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial", runtime.ParamLocationQuery, *params.Serial); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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) + } + } + } + + } + + if params.VcPosition != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_position", runtime.ParamLocationQuery, *params.VcPosition); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPositionGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_position__gt", runtime.ParamLocationQuery, *params.VcPositionGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPositionGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_position__gte", runtime.ParamLocationQuery, *params.VcPositionGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPositionLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_position__lt", runtime.ParamLocationQuery, *params.VcPositionLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPositionLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_position__lte", runtime.ParamLocationQuery, *params.VcPositionLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPositionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_position__n", runtime.ParamLocationQuery, *params.VcPositionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPriority != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_priority", runtime.ParamLocationQuery, *params.VcPriority); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPriorityGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_priority__gt", runtime.ParamLocationQuery, *params.VcPriorityGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPriorityGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_priority__gte", runtime.ParamLocationQuery, *params.VcPriorityGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPriorityLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_priority__lt", runtime.ParamLocationQuery, *params.VcPriorityLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPriorityLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_priority__lte", runtime.ParamLocationQuery, *params.VcPriorityLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcPriorityN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vc_priority__n", runtime.ParamLocationQuery, *params.VcPriorityN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis_id", runtime.ParamLocationQuery, *params.VirtualChassisId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis_id__n", runtime.ParamLocationQuery, *params.VirtualChassisIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualChassisMember != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_chassis_member", runtime.ParamLocationQuery, *params.VirtualChassisMember); err != nil { + return nil, err + } else if 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 +} + +// NewDcimDevicesBulkPartialUpdateRequest calls the generic DcimDevicesBulkPartialUpdate builder with application/json body +func NewDcimDevicesBulkPartialUpdateRequest(server string, body DcimDevicesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDevicesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDevicesBulkPartialUpdateRequestWithBody generates requests for DcimDevicesBulkPartialUpdate with any type of body +func NewDcimDevicesBulkPartialUpdateRequestWithBody(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/devices/") + 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 +} + +// NewDcimDevicesCreateRequest calls the generic DcimDevicesCreate builder with application/json body +func NewDcimDevicesCreateRequest(server string, body DcimDevicesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDevicesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDevicesCreateRequestWithBody generates requests for DcimDevicesCreate with any type of body +func NewDcimDevicesCreateRequestWithBody(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/devices/") + 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 +} + +// NewDcimDevicesBulkUpdateRequest calls the generic DcimDevicesBulkUpdate builder with application/json body +func NewDcimDevicesBulkUpdateRequest(server string, body DcimDevicesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDevicesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDevicesBulkUpdateRequestWithBody generates requests for DcimDevicesBulkUpdate with any type of body +func NewDcimDevicesBulkUpdateRequestWithBody(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/devices/") + 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 +} + +// NewDcimDevicesDestroyRequest generates requests for DcimDevicesDestroy +func NewDcimDevicesDestroyRequest(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/devices/%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 +} + +// NewDcimDevicesRetrieveRequest generates requests for DcimDevicesRetrieve +func NewDcimDevicesRetrieveRequest(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/devices/%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 +} + +// NewDcimDevicesPartialUpdateRequest calls the generic DcimDevicesPartialUpdate builder with application/json body +func NewDcimDevicesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimDevicesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDevicesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDevicesPartialUpdateRequestWithBody generates requests for DcimDevicesPartialUpdate with any type of body +func NewDcimDevicesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimDevicesUpdateRequest calls the generic DcimDevicesUpdate builder with application/json body +func NewDcimDevicesUpdateRequest(server string, id openapi_types.UUID, body DcimDevicesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDevicesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDevicesUpdateRequestWithBody generates requests for DcimDevicesUpdate with any type of body +func NewDcimDevicesUpdateRequestWithBody(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/", 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 +} + +// NewDcimDevicesNapalmRetrieveRequest generates requests for DcimDevicesNapalmRetrieve +func NewDcimDevicesNapalmRetrieveRequest(server string, id openapi_types.UUID, params *DcimDevicesNapalmRetrieveParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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/napalm/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "method", runtime.ParamLocationQuery, params.Method); err != nil { + return nil, err + } else if 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 +} + +// NewDcimFrontPortTemplatesBulkDestroyRequest generates requests for DcimFrontPortTemplatesBulkDestroy +func NewDcimFrontPortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/front-port-templates/") + 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 +} + +// NewDcimFrontPortTemplatesListRequest generates requests for DcimFrontPortTemplatesList +func NewDcimFrontPortTemplatesListRequest(server string, params *DcimFrontPortTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/front-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DevicetypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicetypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_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.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.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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimFrontPortTemplatesBulkPartialUpdateRequest calls the generic DcimFrontPortTemplatesBulkPartialUpdate builder with application/json body +func NewDcimFrontPortTemplatesBulkPartialUpdateRequest(server string, body DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimFrontPortTemplatesBulkPartialUpdate with any type of body +func NewDcimFrontPortTemplatesBulkPartialUpdateRequestWithBody(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/front-port-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 +} + +// NewDcimFrontPortTemplatesCreateRequest calls the generic DcimFrontPortTemplatesCreate builder with application/json body +func NewDcimFrontPortTemplatesCreateRequest(server string, body DcimFrontPortTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortTemplatesCreateRequestWithBody generates requests for DcimFrontPortTemplatesCreate with any type of body +func NewDcimFrontPortTemplatesCreateRequestWithBody(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/front-port-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 +} + +// NewDcimFrontPortTemplatesBulkUpdateRequest calls the generic DcimFrontPortTemplatesBulkUpdate builder with application/json body +func NewDcimFrontPortTemplatesBulkUpdateRequest(server string, body DcimFrontPortTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortTemplatesBulkUpdateRequestWithBody generates requests for DcimFrontPortTemplatesBulkUpdate with any type of body +func NewDcimFrontPortTemplatesBulkUpdateRequestWithBody(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/front-port-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 +} + +// NewDcimFrontPortTemplatesDestroyRequest generates requests for DcimFrontPortTemplatesDestroy +func NewDcimFrontPortTemplatesDestroyRequest(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/front-port-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 +} + +// NewDcimFrontPortTemplatesRetrieveRequest generates requests for DcimFrontPortTemplatesRetrieve +func NewDcimFrontPortTemplatesRetrieveRequest(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/front-port-templates/%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 +} + +// NewDcimFrontPortTemplatesPartialUpdateRequest calls the generic DcimFrontPortTemplatesPartialUpdate builder with application/json body +func NewDcimFrontPortTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimFrontPortTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimFrontPortTemplatesPartialUpdateRequestWithBody generates requests for DcimFrontPortTemplatesPartialUpdate with any type of body +func NewDcimFrontPortTemplatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimFrontPortTemplatesUpdateRequest calls the generic DcimFrontPortTemplatesUpdate builder with application/json body +func NewDcimFrontPortTemplatesUpdateRequest(server string, id openapi_types.UUID, body DcimFrontPortTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimFrontPortTemplatesUpdateRequestWithBody generates requests for DcimFrontPortTemplatesUpdate with any type of body +func NewDcimFrontPortTemplatesUpdateRequestWithBody(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/", 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 +} + +// NewDcimFrontPortsBulkDestroyRequest generates requests for DcimFrontPortsBulkDestroy +func NewDcimFrontPortsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/front-ports/") + 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 +} + +// NewDcimFrontPortsListRequest generates requests for DcimFrontPortsList +func NewDcimFrontPortsListRequest(server string, params *DcimFrontPortsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/front-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimFrontPortsBulkPartialUpdateRequest calls the generic DcimFrontPortsBulkPartialUpdate builder with application/json body +func NewDcimFrontPortsBulkPartialUpdateRequest(server string, body DcimFrontPortsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortsBulkPartialUpdateRequestWithBody generates requests for DcimFrontPortsBulkPartialUpdate with any type of body +func NewDcimFrontPortsBulkPartialUpdateRequestWithBody(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/front-ports/") + 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 +} + +// NewDcimFrontPortsCreateRequest calls the generic DcimFrontPortsCreate builder with application/json body +func NewDcimFrontPortsCreateRequest(server string, body DcimFrontPortsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortsCreateRequestWithBody generates requests for DcimFrontPortsCreate with any type of body +func NewDcimFrontPortsCreateRequestWithBody(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/front-ports/") + 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 +} + +// NewDcimFrontPortsBulkUpdateRequest calls the generic DcimFrontPortsBulkUpdate builder with application/json body +func NewDcimFrontPortsBulkUpdateRequest(server string, body DcimFrontPortsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortsBulkUpdateRequestWithBody generates requests for DcimFrontPortsBulkUpdate with any type of body +func NewDcimFrontPortsBulkUpdateRequestWithBody(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/front-ports/") + 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 +} + +// NewDcimFrontPortsDestroyRequest generates requests for DcimFrontPortsDestroy +func NewDcimFrontPortsDestroyRequest(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/front-ports/%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 +} + +// NewDcimFrontPortsRetrieveRequest generates requests for DcimFrontPortsRetrieve +func NewDcimFrontPortsRetrieveRequest(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/front-ports/%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 +} + +// NewDcimFrontPortsPartialUpdateRequest calls the generic DcimFrontPortsPartialUpdate builder with application/json body +func NewDcimFrontPortsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimFrontPortsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimFrontPortsPartialUpdateRequestWithBody generates requests for DcimFrontPortsPartialUpdate with any type of body +func NewDcimFrontPortsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimFrontPortsUpdateRequest calls the generic DcimFrontPortsUpdate builder with application/json body +func NewDcimFrontPortsUpdateRequest(server string, id openapi_types.UUID, body DcimFrontPortsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimFrontPortsUpdateRequestWithBody generates requests for DcimFrontPortsUpdate with any type of body +func NewDcimFrontPortsUpdateRequestWithBody(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/", 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 +} + +// NewDcimFrontPortsPathsRetrieveRequest generates requests for DcimFrontPortsPathsRetrieve +func NewDcimFrontPortsPathsRetrieveRequest(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/front-ports/%s/paths/", 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 +} + +// NewDcimInterfaceConnectionsListRequest generates requests for DcimInterfaceConnectionsList +func NewDcimInterfaceConnectionsListRequest(server string, params *DcimInterfaceConnectionsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/interface-connections/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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.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.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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimInterfaceTemplatesBulkDestroyRequest generates requests for DcimInterfaceTemplatesBulkDestroy +func NewDcimInterfaceTemplatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/interface-templates/") + 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 +} + +// NewDcimInterfaceTemplatesListRequest generates requests for DcimInterfaceTemplatesList +func NewDcimInterfaceTemplatesListRequest(server string, params *DcimInterfaceTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/interface-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DevicetypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicetypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_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.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.MgmtOnly != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mgmt_only", runtime.ParamLocationQuery, *params.MgmtOnly); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimInterfaceTemplatesBulkPartialUpdateRequest calls the generic DcimInterfaceTemplatesBulkPartialUpdate builder with application/json body +func NewDcimInterfaceTemplatesBulkPartialUpdateRequest(server string, body DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfaceTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfaceTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimInterfaceTemplatesBulkPartialUpdate with any type of body +func NewDcimInterfaceTemplatesBulkPartialUpdateRequestWithBody(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/interface-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 +} + +// NewDcimInterfaceTemplatesCreateRequest calls the generic DcimInterfaceTemplatesCreate builder with application/json body +func NewDcimInterfaceTemplatesCreateRequest(server string, body DcimInterfaceTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfaceTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfaceTemplatesCreateRequestWithBody generates requests for DcimInterfaceTemplatesCreate with any type of body +func NewDcimInterfaceTemplatesCreateRequestWithBody(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/interface-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 +} + +// NewDcimInterfaceTemplatesBulkUpdateRequest calls the generic DcimInterfaceTemplatesBulkUpdate builder with application/json body +func NewDcimInterfaceTemplatesBulkUpdateRequest(server string, body DcimInterfaceTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfaceTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfaceTemplatesBulkUpdateRequestWithBody generates requests for DcimInterfaceTemplatesBulkUpdate with any type of body +func NewDcimInterfaceTemplatesBulkUpdateRequestWithBody(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/interface-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 +} + +// NewDcimInterfaceTemplatesDestroyRequest generates requests for DcimInterfaceTemplatesDestroy +func NewDcimInterfaceTemplatesDestroyRequest(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/interface-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 +} + +// NewDcimInterfaceTemplatesRetrieveRequest generates requests for DcimInterfaceTemplatesRetrieve +func NewDcimInterfaceTemplatesRetrieveRequest(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/interface-templates/%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 +} + +// NewDcimInterfaceTemplatesPartialUpdateRequest calls the generic DcimInterfaceTemplatesPartialUpdate builder with application/json body +func NewDcimInterfaceTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimInterfaceTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfaceTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInterfaceTemplatesPartialUpdateRequestWithBody generates requests for DcimInterfaceTemplatesPartialUpdate with any type of body +func NewDcimInterfaceTemplatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimInterfaceTemplatesUpdateRequest calls the generic DcimInterfaceTemplatesUpdate builder with application/json body +func NewDcimInterfaceTemplatesUpdateRequest(server string, id openapi_types.UUID, body DcimInterfaceTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfaceTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInterfaceTemplatesUpdateRequestWithBody generates requests for DcimInterfaceTemplatesUpdate with any type of body +func NewDcimInterfaceTemplatesUpdateRequestWithBody(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/", 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 +} + +// NewDcimInterfacesBulkDestroyRequest generates requests for DcimInterfacesBulkDestroy +func NewDcimInterfacesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/interfaces/") + 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 +} + +// NewDcimInterfacesListRequest generates requests for DcimInterfacesList +func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/interfaces/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.Kind != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kind", runtime.ParamLocationQuery, *params.Kind); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LagIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "lag_id__n", runtime.ParamLocationQuery, *params.LagIdN); err != nil { + return nil, err + } else if parsed, err := 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.MacAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address", runtime.ParamLocationQuery, *params.MacAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ic", runtime.ParamLocationQuery, *params.MacAddressIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ie", runtime.ParamLocationQuery, *params.MacAddressIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__iew", runtime.ParamLocationQuery, *params.MacAddressIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ire", runtime.ParamLocationQuery, *params.MacAddressIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__isw", runtime.ParamLocationQuery, *params.MacAddressIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__n", runtime.ParamLocationQuery, *params.MacAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nic", runtime.ParamLocationQuery, *params.MacAddressNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nie", runtime.ParamLocationQuery, *params.MacAddressNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__niew", runtime.ParamLocationQuery, *params.MacAddressNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nire", runtime.ParamLocationQuery, *params.MacAddressNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nisw", runtime.ParamLocationQuery, *params.MacAddressNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nre", runtime.ParamLocationQuery, *params.MacAddressNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__re", runtime.ParamLocationQuery, *params.MacAddressRe); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__gt", runtime.ParamLocationQuery, *params.MtuGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__gte", runtime.ParamLocationQuery, *params.MtuGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__lt", runtime.ParamLocationQuery, *params.MtuLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__lte", runtime.ParamLocationQuery, *params.MtuLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__n", runtime.ParamLocationQuery, *params.MtuN); err != nil { + return nil, err + } else if parsed, err := 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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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.Vlan != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan", runtime.ParamLocationQuery, *params.Vlan); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_id", runtime.ParamLocationQuery, *params.VlanId); err != nil { + return nil, err + } else if 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 +} + +// NewDcimInterfacesBulkPartialUpdateRequest calls the generic DcimInterfacesBulkPartialUpdate builder with application/json body +func NewDcimInterfacesBulkPartialUpdateRequest(server string, body DcimInterfacesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfacesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfacesBulkPartialUpdateRequestWithBody generates requests for DcimInterfacesBulkPartialUpdate with any type of body +func NewDcimInterfacesBulkPartialUpdateRequestWithBody(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/interfaces/") + 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 +} + +// NewDcimInterfacesCreateRequest calls the generic DcimInterfacesCreate builder with application/json body +func NewDcimInterfacesCreateRequest(server string, body DcimInterfacesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfacesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfacesCreateRequestWithBody generates requests for DcimInterfacesCreate with any type of body +func NewDcimInterfacesCreateRequestWithBody(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/interfaces/") + 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 +} + +// NewDcimInterfacesBulkUpdateRequest calls the generic DcimInterfacesBulkUpdate builder with application/json body +func NewDcimInterfacesBulkUpdateRequest(server string, body DcimInterfacesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfacesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfacesBulkUpdateRequestWithBody generates requests for DcimInterfacesBulkUpdate with any type of body +func NewDcimInterfacesBulkUpdateRequestWithBody(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/interfaces/") + 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 +} + +// NewDcimInterfacesDestroyRequest generates requests for DcimInterfacesDestroy +func NewDcimInterfacesDestroyRequest(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/interfaces/%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 +} + +// NewDcimInterfacesRetrieveRequest generates requests for DcimInterfacesRetrieve +func NewDcimInterfacesRetrieveRequest(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/interfaces/%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 +} + +// NewDcimInterfacesPartialUpdateRequest calls the generic DcimInterfacesPartialUpdate builder with application/json body +func NewDcimInterfacesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimInterfacesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfacesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInterfacesPartialUpdateRequestWithBody generates requests for DcimInterfacesPartialUpdate with any type of body +func NewDcimInterfacesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimInterfacesUpdateRequest calls the generic DcimInterfacesUpdate builder with application/json body +func NewDcimInterfacesUpdateRequest(server string, id openapi_types.UUID, body DcimInterfacesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfacesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInterfacesUpdateRequestWithBody generates requests for DcimInterfacesUpdate with any type of body +func NewDcimInterfacesUpdateRequestWithBody(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/", 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 +} + +// NewDcimInterfacesTraceRetrieveRequest generates requests for DcimInterfacesTraceRetrieve +func NewDcimInterfacesTraceRetrieveRequest(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/interfaces/%s/trace/", 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 +} + +// NewDcimInventoryItemsBulkDestroyRequest generates requests for DcimInventoryItemsBulkDestroy +func NewDcimInventoryItemsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/inventory-items/") + 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 +} + +// NewDcimInventoryItemsListRequest generates requests for DcimInventoryItemsList +func NewDcimInventoryItemsListRequest(server string, params *DcimInventoryItemsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/inventory-items/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AssetTag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag", runtime.ParamLocationQuery, *params.AssetTag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ic", runtime.ParamLocationQuery, *params.AssetTagIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ie", runtime.ParamLocationQuery, *params.AssetTagIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__iew", runtime.ParamLocationQuery, *params.AssetTagIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ire", runtime.ParamLocationQuery, *params.AssetTagIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__isw", runtime.ParamLocationQuery, *params.AssetTagIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__n", runtime.ParamLocationQuery, *params.AssetTagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nic", runtime.ParamLocationQuery, *params.AssetTagNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nie", runtime.ParamLocationQuery, *params.AssetTagNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__niew", runtime.ParamLocationQuery, *params.AssetTagNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nire", runtime.ParamLocationQuery, *params.AssetTagNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nisw", runtime.ParamLocationQuery, *params.AssetTagNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nre", runtime.ParamLocationQuery, *params.AssetTagNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__re", runtime.ParamLocationQuery, *params.AssetTagRe); err != nil { + return nil, err + } else if parsed, err := 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.Discovered != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "discovered", runtime.ParamLocationQuery, *params.Discovered); err != nil { + return nil, err + } else if parsed, err := 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.Manufacturer != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer", runtime.ParamLocationQuery, *params.Manufacturer); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer__n", runtime.ParamLocationQuery, *params.ManufacturerN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id", runtime.ParamLocationQuery, *params.ManufacturerId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id__n", runtime.ParamLocationQuery, *params.ManufacturerIdN); err != nil { + return nil, err + } else if parsed, err := 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.ParentId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_id", runtime.ParamLocationQuery, *params.ParentId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_id__n", runtime.ParamLocationQuery, *params.ParentIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id", runtime.ParamLocationQuery, *params.PartId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__ic", runtime.ParamLocationQuery, *params.PartIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__ie", runtime.ParamLocationQuery, *params.PartIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__iew", runtime.ParamLocationQuery, *params.PartIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__ire", runtime.ParamLocationQuery, *params.PartIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__isw", runtime.ParamLocationQuery, *params.PartIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__n", runtime.ParamLocationQuery, *params.PartIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__nic", runtime.ParamLocationQuery, *params.PartIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__nie", runtime.ParamLocationQuery, *params.PartIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__niew", runtime.ParamLocationQuery, *params.PartIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__nire", runtime.ParamLocationQuery, *params.PartIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__nisw", runtime.ParamLocationQuery, *params.PartIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__nre", runtime.ParamLocationQuery, *params.PartIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PartIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "part_id__re", runtime.ParamLocationQuery, *params.PartIdRe); err != nil { + return nil, err + } else if parsed, err := 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.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.Serial != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial", runtime.ParamLocationQuery, *params.Serial); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewDcimInventoryItemsBulkPartialUpdateRequest calls the generic DcimInventoryItemsBulkPartialUpdate builder with application/json body +func NewDcimInventoryItemsBulkPartialUpdateRequest(server string, body DcimInventoryItemsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemsBulkPartialUpdateRequestWithBody generates requests for DcimInventoryItemsBulkPartialUpdate with any type of body +func NewDcimInventoryItemsBulkPartialUpdateRequestWithBody(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/inventory-items/") + 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 +} + +// NewDcimInventoryItemsCreateRequest calls the generic DcimInventoryItemsCreate builder with application/json body +func NewDcimInventoryItemsCreateRequest(server string, body DcimInventoryItemsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemsCreateRequestWithBody generates requests for DcimInventoryItemsCreate with any type of body +func NewDcimInventoryItemsCreateRequestWithBody(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/inventory-items/") + 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 +} + +// NewDcimInventoryItemsBulkUpdateRequest calls the generic DcimInventoryItemsBulkUpdate builder with application/json body +func NewDcimInventoryItemsBulkUpdateRequest(server string, body DcimInventoryItemsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemsBulkUpdateRequestWithBody generates requests for DcimInventoryItemsBulkUpdate with any type of body +func NewDcimInventoryItemsBulkUpdateRequestWithBody(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/inventory-items/") + 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 +} + +// NewDcimInventoryItemsDestroyRequest generates requests for DcimInventoryItemsDestroy +func NewDcimInventoryItemsDestroyRequest(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/inventory-items/%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 +} + +// NewDcimInventoryItemsRetrieveRequest generates requests for DcimInventoryItemsRetrieve +func NewDcimInventoryItemsRetrieveRequest(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/inventory-items/%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 +} + +// NewDcimInventoryItemsPartialUpdateRequest calls the generic DcimInventoryItemsPartialUpdate builder with application/json body +func NewDcimInventoryItemsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimInventoryItemsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInventoryItemsPartialUpdateRequestWithBody generates requests for DcimInventoryItemsPartialUpdate with any type of body +func NewDcimInventoryItemsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimInventoryItemsUpdateRequest calls the generic DcimInventoryItemsUpdate builder with application/json body +func NewDcimInventoryItemsUpdateRequest(server string, id openapi_types.UUID, body DcimInventoryItemsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInventoryItemsUpdateRequestWithBody generates requests for DcimInventoryItemsUpdate with any type of body +func NewDcimInventoryItemsUpdateRequestWithBody(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/", 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 +} + +// NewDcimManufacturersBulkDestroyRequest generates requests for DcimManufacturersBulkDestroy +func NewDcimManufacturersBulkDestroyRequest(server string) (*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(), 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/") + 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.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 +} + +// NewDcimManufacturersBulkPartialUpdateRequest calls the generic DcimManufacturersBulkPartialUpdate builder with application/json body +func NewDcimManufacturersBulkPartialUpdateRequest(server string, body DcimManufacturersBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimManufacturersBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimManufacturersBulkPartialUpdateRequestWithBody generates requests for DcimManufacturersBulkPartialUpdate with any type of body +func NewDcimManufacturersBulkPartialUpdateRequestWithBody(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("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimManufacturersCreateRequest calls the generic DcimManufacturersCreate builder with application/json body +func NewDcimManufacturersCreateRequest(server string, body DcimManufacturersCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimManufacturersCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimManufacturersCreateRequestWithBody generates requests for DcimManufacturersCreate with any type of body +func NewDcimManufacturersCreateRequestWithBody(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("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimManufacturersBulkUpdateRequest calls the generic DcimManufacturersBulkUpdate builder with application/json body +func NewDcimManufacturersBulkUpdateRequest(server string, body DcimManufacturersBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimManufacturersBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimManufacturersBulkUpdateRequestWithBody generates requests for DcimManufacturersBulkUpdate with any type of body +func NewDcimManufacturersBulkUpdateRequestWithBody(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("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimManufacturersDestroyRequest generates requests for DcimManufacturersDestroy +func NewDcimManufacturersDestroyRequest(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/manufacturers/%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 +} + +// NewDcimManufacturersRetrieveRequest generates requests for DcimManufacturersRetrieve +func NewDcimManufacturersRetrieveRequest(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/manufacturers/%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 +} + +// NewDcimManufacturersPartialUpdateRequest calls the generic DcimManufacturersPartialUpdate builder with application/json body +func NewDcimManufacturersPartialUpdateRequest(server string, id openapi_types.UUID, body DcimManufacturersPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimManufacturersPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimManufacturersPartialUpdateRequestWithBody generates requests for DcimManufacturersPartialUpdate with any type of body +func NewDcimManufacturersPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimManufacturersUpdateRequest calls the generic DcimManufacturersUpdate builder with application/json body +func NewDcimManufacturersUpdateRequest(server string, id openapi_types.UUID, body DcimManufacturersUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimManufacturersUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimManufacturersUpdateRequestWithBody generates requests for DcimManufacturersUpdate with any type of body +func NewDcimManufacturersUpdateRequestWithBody(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/", 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 +} + +// NewDcimPlatformsBulkDestroyRequest generates requests for DcimPlatformsBulkDestroy +func NewDcimPlatformsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/platforms/") + 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 +} + +// NewDcimPlatformsListRequest generates requests for DcimPlatformsList +func NewDcimPlatformsListRequest(server string, params *DcimPlatformsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/platforms/") + 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.Manufacturer != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer", runtime.ParamLocationQuery, *params.Manufacturer); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer__n", runtime.ParamLocationQuery, *params.ManufacturerN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id", runtime.ParamLocationQuery, *params.ManufacturerId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id__n", runtime.ParamLocationQuery, *params.ManufacturerIdN); err != nil { + return nil, err + } else if parsed, err := 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.NapalmDriver != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver", runtime.ParamLocationQuery, *params.NapalmDriver); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__ic", runtime.ParamLocationQuery, *params.NapalmDriverIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__ie", runtime.ParamLocationQuery, *params.NapalmDriverIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__iew", runtime.ParamLocationQuery, *params.NapalmDriverIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__ire", runtime.ParamLocationQuery, *params.NapalmDriverIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__isw", runtime.ParamLocationQuery, *params.NapalmDriverIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__n", runtime.ParamLocationQuery, *params.NapalmDriverN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__nic", runtime.ParamLocationQuery, *params.NapalmDriverNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__nie", runtime.ParamLocationQuery, *params.NapalmDriverNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__niew", runtime.ParamLocationQuery, *params.NapalmDriverNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__nire", runtime.ParamLocationQuery, *params.NapalmDriverNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__nisw", runtime.ParamLocationQuery, *params.NapalmDriverNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__nre", runtime.ParamLocationQuery, *params.NapalmDriverNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NapalmDriverRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver__re", runtime.ParamLocationQuery, *params.NapalmDriverRe); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewDcimPlatformsBulkPartialUpdateRequest calls the generic DcimPlatformsBulkPartialUpdate builder with application/json body +func NewDcimPlatformsBulkPartialUpdateRequest(server string, body DcimPlatformsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPlatformsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPlatformsBulkPartialUpdateRequestWithBody generates requests for DcimPlatformsBulkPartialUpdate with any type of body +func NewDcimPlatformsBulkPartialUpdateRequestWithBody(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/platforms/") + 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 +} + +// NewDcimPlatformsCreateRequest calls the generic DcimPlatformsCreate builder with application/json body +func NewDcimPlatformsCreateRequest(server string, body DcimPlatformsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPlatformsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPlatformsCreateRequestWithBody generates requests for DcimPlatformsCreate with any type of body +func NewDcimPlatformsCreateRequestWithBody(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/platforms/") + 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 +} + +// NewDcimPlatformsBulkUpdateRequest calls the generic DcimPlatformsBulkUpdate builder with application/json body +func NewDcimPlatformsBulkUpdateRequest(server string, body DcimPlatformsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPlatformsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPlatformsBulkUpdateRequestWithBody generates requests for DcimPlatformsBulkUpdate with any type of body +func NewDcimPlatformsBulkUpdateRequestWithBody(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/platforms/") + 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 +} + +// NewDcimPlatformsDestroyRequest generates requests for DcimPlatformsDestroy +func NewDcimPlatformsDestroyRequest(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/platforms/%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 +} + +// NewDcimPlatformsRetrieveRequest generates requests for DcimPlatformsRetrieve +func NewDcimPlatformsRetrieveRequest(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/platforms/%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 +} + +// NewDcimPlatformsPartialUpdateRequest calls the generic DcimPlatformsPartialUpdate builder with application/json body +func NewDcimPlatformsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimPlatformsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPlatformsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPlatformsPartialUpdateRequestWithBody generates requests for DcimPlatformsPartialUpdate with any type of body +func NewDcimPlatformsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimPlatformsUpdateRequest calls the generic DcimPlatformsUpdate builder with application/json body +func NewDcimPlatformsUpdateRequest(server string, id openapi_types.UUID, body DcimPlatformsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPlatformsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPlatformsUpdateRequestWithBody generates requests for DcimPlatformsUpdate with any type of body +func NewDcimPlatformsUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerConnectionsListRequest generates requests for DcimPowerConnectionsList +func NewDcimPowerConnectionsListRequest(server string, params *DcimPowerConnectionsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-connections/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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.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.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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerFeedsBulkDestroyRequest generates requests for DcimPowerFeedsBulkDestroy +func NewDcimPowerFeedsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-feeds/") + 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 +} + +// NewDcimPowerFeedsListRequest generates requests for DcimPowerFeedsList +func NewDcimPowerFeedsListRequest(server string, params *DcimPowerFeedsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-feeds/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Amperage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "amperage", runtime.ParamLocationQuery, *params.Amperage); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AmperageGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "amperage__gt", runtime.ParamLocationQuery, *params.AmperageGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AmperageGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "amperage__gte", runtime.ParamLocationQuery, *params.AmperageGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AmperageLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "amperage__lt", runtime.ParamLocationQuery, *params.AmperageLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AmperageLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "amperage__lte", runtime.ParamLocationQuery, *params.AmperageLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AmperageN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "amperage__n", runtime.ParamLocationQuery, *params.AmperageN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.MaxUtilization != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_utilization", runtime.ParamLocationQuery, *params.MaxUtilization); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxUtilizationGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_utilization__gt", runtime.ParamLocationQuery, *params.MaxUtilizationGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxUtilizationGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_utilization__gte", runtime.ParamLocationQuery, *params.MaxUtilizationGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxUtilizationLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_utilization__lt", runtime.ParamLocationQuery, *params.MaxUtilizationLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxUtilizationLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_utilization__lte", runtime.ParamLocationQuery, *params.MaxUtilizationLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxUtilizationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max_utilization__n", runtime.ParamLocationQuery, *params.MaxUtilizationN); err != nil { + return nil, err + } else if parsed, err := 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.Phase != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phase", runtime.ParamLocationQuery, *params.Phase); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhaseN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phase__n", runtime.ParamLocationQuery, *params.PhaseN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerPanelIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_panel_id__n", runtime.ParamLocationQuery, *params.PowerPanelIdN); err != nil { + return nil, err + } else if parsed, err := 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.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id__n", runtime.ParamLocationQuery, *params.RackIdN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.Supply != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "supply", runtime.ParamLocationQuery, *params.Supply); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupplyN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "supply__n", runtime.ParamLocationQuery, *params.SupplyN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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.Voltage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "voltage", runtime.ParamLocationQuery, *params.Voltage); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VoltageGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "voltage__gt", runtime.ParamLocationQuery, *params.VoltageGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VoltageGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "voltage__gte", runtime.ParamLocationQuery, *params.VoltageGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VoltageLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "voltage__lt", runtime.ParamLocationQuery, *params.VoltageLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VoltageLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "voltage__lte", runtime.ParamLocationQuery, *params.VoltageLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VoltageN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "voltage__n", runtime.ParamLocationQuery, *params.VoltageN); err != nil { + return nil, err + } else if 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 +} + +// NewDcimPowerFeedsBulkPartialUpdateRequest calls the generic DcimPowerFeedsBulkPartialUpdate builder with application/json body +func NewDcimPowerFeedsBulkPartialUpdateRequest(server string, body DcimPowerFeedsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerFeedsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerFeedsBulkPartialUpdateRequestWithBody generates requests for DcimPowerFeedsBulkPartialUpdate with any type of body +func NewDcimPowerFeedsBulkPartialUpdateRequestWithBody(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/power-feeds/") + 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 +} + +// NewDcimPowerFeedsCreateRequest calls the generic DcimPowerFeedsCreate builder with application/json body +func NewDcimPowerFeedsCreateRequest(server string, body DcimPowerFeedsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerFeedsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerFeedsCreateRequestWithBody generates requests for DcimPowerFeedsCreate with any type of body +func NewDcimPowerFeedsCreateRequestWithBody(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/power-feeds/") + 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 +} + +// NewDcimPowerFeedsBulkUpdateRequest calls the generic DcimPowerFeedsBulkUpdate builder with application/json body +func NewDcimPowerFeedsBulkUpdateRequest(server string, body DcimPowerFeedsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerFeedsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerFeedsBulkUpdateRequestWithBody generates requests for DcimPowerFeedsBulkUpdate with any type of body +func NewDcimPowerFeedsBulkUpdateRequestWithBody(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/power-feeds/") + 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 +} + +// NewDcimPowerFeedsDestroyRequest generates requests for DcimPowerFeedsDestroy +func NewDcimPowerFeedsDestroyRequest(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/power-feeds/%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 +} + +// NewDcimPowerFeedsRetrieveRequest generates requests for DcimPowerFeedsRetrieve +func NewDcimPowerFeedsRetrieveRequest(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/power-feeds/%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 +} + +// NewDcimPowerFeedsPartialUpdateRequest calls the generic DcimPowerFeedsPartialUpdate builder with application/json body +func NewDcimPowerFeedsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimPowerFeedsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerFeedsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerFeedsPartialUpdateRequestWithBody generates requests for DcimPowerFeedsPartialUpdate with any type of body +func NewDcimPowerFeedsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerFeedsUpdateRequest calls the generic DcimPowerFeedsUpdate builder with application/json body +func NewDcimPowerFeedsUpdateRequest(server string, id openapi_types.UUID, body DcimPowerFeedsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerFeedsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerFeedsUpdateRequestWithBody generates requests for DcimPowerFeedsUpdate with any type of body +func NewDcimPowerFeedsUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerFeedsTraceRetrieveRequest generates requests for DcimPowerFeedsTraceRetrieve +func NewDcimPowerFeedsTraceRetrieveRequest(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/power-feeds/%s/trace/", 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 +} + +// NewDcimPowerOutletTemplatesBulkDestroyRequest generates requests for DcimPowerOutletTemplatesBulkDestroy +func NewDcimPowerOutletTemplatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-outlet-templates/") + 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 +} + +// NewDcimPowerOutletTemplatesListRequest generates requests for DcimPowerOutletTemplatesList +func NewDcimPowerOutletTemplatesListRequest(server string, params *DcimPowerOutletTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-outlet-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DevicetypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicetypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_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.FeedLeg != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "feed_leg", runtime.ParamLocationQuery, *params.FeedLeg); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FeedLegN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "feed_leg__n", runtime.ParamLocationQuery, *params.FeedLegN); err != nil { + return nil, err + } else if parsed, err := 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.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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerOutletTemplatesBulkPartialUpdateRequest calls the generic DcimPowerOutletTemplatesBulkPartialUpdate builder with application/json body +func NewDcimPowerOutletTemplatesBulkPartialUpdateRequest(server string, body DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimPowerOutletTemplatesBulkPartialUpdate with any type of body +func NewDcimPowerOutletTemplatesBulkPartialUpdateRequestWithBody(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/power-outlet-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 +} + +// NewDcimPowerOutletTemplatesCreateRequest calls the generic DcimPowerOutletTemplatesCreate builder with application/json body +func NewDcimPowerOutletTemplatesCreateRequest(server string, body DcimPowerOutletTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletTemplatesCreateRequestWithBody generates requests for DcimPowerOutletTemplatesCreate with any type of body +func NewDcimPowerOutletTemplatesCreateRequestWithBody(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/power-outlet-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 +} + +// NewDcimPowerOutletTemplatesBulkUpdateRequest calls the generic DcimPowerOutletTemplatesBulkUpdate builder with application/json body +func NewDcimPowerOutletTemplatesBulkUpdateRequest(server string, body DcimPowerOutletTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletTemplatesBulkUpdateRequestWithBody generates requests for DcimPowerOutletTemplatesBulkUpdate with any type of body +func NewDcimPowerOutletTemplatesBulkUpdateRequestWithBody(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/power-outlet-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 +} + +// NewDcimPowerOutletTemplatesDestroyRequest generates requests for DcimPowerOutletTemplatesDestroy +func NewDcimPowerOutletTemplatesDestroyRequest(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/power-outlet-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 +} + +// NewDcimPowerOutletTemplatesRetrieveRequest generates requests for DcimPowerOutletTemplatesRetrieve +func NewDcimPowerOutletTemplatesRetrieveRequest(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/power-outlet-templates/%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 +} + +// NewDcimPowerOutletTemplatesPartialUpdateRequest calls the generic DcimPowerOutletTemplatesPartialUpdate builder with application/json body +func NewDcimPowerOutletTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimPowerOutletTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerOutletTemplatesPartialUpdateRequestWithBody generates requests for DcimPowerOutletTemplatesPartialUpdate with any type of body +func NewDcimPowerOutletTemplatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerOutletTemplatesUpdateRequest calls the generic DcimPowerOutletTemplatesUpdate builder with application/json body +func NewDcimPowerOutletTemplatesUpdateRequest(server string, id openapi_types.UUID, body DcimPowerOutletTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerOutletTemplatesUpdateRequestWithBody generates requests for DcimPowerOutletTemplatesUpdate with any type of body +func NewDcimPowerOutletTemplatesUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerOutletsBulkDestroyRequest generates requests for DcimPowerOutletsBulkDestroy +func NewDcimPowerOutletsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-outlets/") + 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 +} + +// NewDcimPowerOutletsListRequest generates requests for DcimPowerOutletsList +func NewDcimPowerOutletsListRequest(server string, params *DcimPowerOutletsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-outlets/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.FeedLeg != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "feed_leg", runtime.ParamLocationQuery, *params.FeedLeg); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FeedLegN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "feed_leg__n", runtime.ParamLocationQuery, *params.FeedLegN); err != nil { + return nil, err + } else if parsed, err := 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.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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerOutletsBulkPartialUpdateRequest calls the generic DcimPowerOutletsBulkPartialUpdate builder with application/json body +func NewDcimPowerOutletsBulkPartialUpdateRequest(server string, body DcimPowerOutletsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletsBulkPartialUpdateRequestWithBody generates requests for DcimPowerOutletsBulkPartialUpdate with any type of body +func NewDcimPowerOutletsBulkPartialUpdateRequestWithBody(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/power-outlets/") + 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 +} + +// NewDcimPowerOutletsCreateRequest calls the generic DcimPowerOutletsCreate builder with application/json body +func NewDcimPowerOutletsCreateRequest(server string, body DcimPowerOutletsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletsCreateRequestWithBody generates requests for DcimPowerOutletsCreate with any type of body +func NewDcimPowerOutletsCreateRequestWithBody(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/power-outlets/") + 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 +} + +// NewDcimPowerOutletsBulkUpdateRequest calls the generic DcimPowerOutletsBulkUpdate builder with application/json body +func NewDcimPowerOutletsBulkUpdateRequest(server string, body DcimPowerOutletsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletsBulkUpdateRequestWithBody generates requests for DcimPowerOutletsBulkUpdate with any type of body +func NewDcimPowerOutletsBulkUpdateRequestWithBody(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/power-outlets/") + 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 +} + +// NewDcimPowerOutletsDestroyRequest generates requests for DcimPowerOutletsDestroy +func NewDcimPowerOutletsDestroyRequest(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/power-outlets/%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 +} + +// NewDcimPowerOutletsRetrieveRequest generates requests for DcimPowerOutletsRetrieve +func NewDcimPowerOutletsRetrieveRequest(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/power-outlets/%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 +} + +// NewDcimPowerOutletsPartialUpdateRequest calls the generic DcimPowerOutletsPartialUpdate builder with application/json body +func NewDcimPowerOutletsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimPowerOutletsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerOutletsPartialUpdateRequestWithBody generates requests for DcimPowerOutletsPartialUpdate with any type of body +func NewDcimPowerOutletsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerOutletsUpdateRequest calls the generic DcimPowerOutletsUpdate builder with application/json body +func NewDcimPowerOutletsUpdateRequest(server string, id openapi_types.UUID, body DcimPowerOutletsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerOutletsUpdateRequestWithBody generates requests for DcimPowerOutletsUpdate with any type of body +func NewDcimPowerOutletsUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerOutletsTraceRetrieveRequest generates requests for DcimPowerOutletsTraceRetrieve +func NewDcimPowerOutletsTraceRetrieveRequest(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/power-outlets/%s/trace/", 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 +} + +// NewDcimPowerPanelsBulkDestroyRequest generates requests for DcimPowerPanelsBulkDestroy +func NewDcimPowerPanelsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-panels/") + 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 +} + +// NewDcimPowerPanelsListRequest generates requests for DcimPowerPanelsList +func NewDcimPowerPanelsListRequest(server string, params *DcimPowerPanelsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-panels/") + 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.RackGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_group_id", runtime.ParamLocationQuery, *params.RackGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_group_id__n", runtime.ParamLocationQuery, *params.RackGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewDcimPowerPanelsBulkPartialUpdateRequest calls the generic DcimPowerPanelsBulkPartialUpdate builder with application/json body +func NewDcimPowerPanelsBulkPartialUpdateRequest(server string, body DcimPowerPanelsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPanelsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPanelsBulkPartialUpdateRequestWithBody generates requests for DcimPowerPanelsBulkPartialUpdate with any type of body +func NewDcimPowerPanelsBulkPartialUpdateRequestWithBody(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/power-panels/") + 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 +} + +// NewDcimPowerPanelsCreateRequest calls the generic DcimPowerPanelsCreate builder with application/json body +func NewDcimPowerPanelsCreateRequest(server string, body DcimPowerPanelsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPanelsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPanelsCreateRequestWithBody generates requests for DcimPowerPanelsCreate with any type of body +func NewDcimPowerPanelsCreateRequestWithBody(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/power-panels/") + 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 +} + +// NewDcimPowerPanelsBulkUpdateRequest calls the generic DcimPowerPanelsBulkUpdate builder with application/json body +func NewDcimPowerPanelsBulkUpdateRequest(server string, body DcimPowerPanelsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPanelsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPanelsBulkUpdateRequestWithBody generates requests for DcimPowerPanelsBulkUpdate with any type of body +func NewDcimPowerPanelsBulkUpdateRequestWithBody(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/power-panels/") + 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 +} + +// NewDcimPowerPanelsDestroyRequest generates requests for DcimPowerPanelsDestroy +func NewDcimPowerPanelsDestroyRequest(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/power-panels/%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 +} + +// NewDcimPowerPanelsRetrieveRequest generates requests for DcimPowerPanelsRetrieve +func NewDcimPowerPanelsRetrieveRequest(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/power-panels/%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 +} + +// NewDcimPowerPanelsPartialUpdateRequest calls the generic DcimPowerPanelsPartialUpdate builder with application/json body +func NewDcimPowerPanelsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimPowerPanelsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPanelsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerPanelsPartialUpdateRequestWithBody generates requests for DcimPowerPanelsPartialUpdate with any type of body +func NewDcimPowerPanelsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerPanelsUpdateRequest calls the generic DcimPowerPanelsUpdate builder with application/json body +func NewDcimPowerPanelsUpdateRequest(server string, id openapi_types.UUID, body DcimPowerPanelsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPanelsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerPanelsUpdateRequestWithBody generates requests for DcimPowerPanelsUpdate with any type of body +func NewDcimPowerPanelsUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerPortTemplatesBulkDestroyRequest generates requests for DcimPowerPortTemplatesBulkDestroy +func NewDcimPowerPortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-port-templates/") + 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 +} + +// NewDcimPowerPortTemplatesListRequest generates requests for DcimPowerPortTemplatesList +func NewDcimPowerPortTemplatesListRequest(server string, params *DcimPowerPortTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AllocatedDraw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw", runtime.ParamLocationQuery, *params.AllocatedDraw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__gt", runtime.ParamLocationQuery, *params.AllocatedDrawGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__gte", runtime.ParamLocationQuery, *params.AllocatedDrawGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__lt", runtime.ParamLocationQuery, *params.AllocatedDrawLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__lte", runtime.ParamLocationQuery, *params.AllocatedDrawLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__n", runtime.ParamLocationQuery, *params.AllocatedDrawN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicetypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_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.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.MaximumDraw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw", runtime.ParamLocationQuery, *params.MaximumDraw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__gt", runtime.ParamLocationQuery, *params.MaximumDrawGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__gte", runtime.ParamLocationQuery, *params.MaximumDrawGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__lt", runtime.ParamLocationQuery, *params.MaximumDrawLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__lte", runtime.ParamLocationQuery, *params.MaximumDrawLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__n", runtime.ParamLocationQuery, *params.MaximumDrawN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerPortTemplatesBulkPartialUpdateRequest calls the generic DcimPowerPortTemplatesBulkPartialUpdate builder with application/json body +func NewDcimPowerPortTemplatesBulkPartialUpdateRequest(server string, body DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimPowerPortTemplatesBulkPartialUpdate with any type of body +func NewDcimPowerPortTemplatesBulkPartialUpdateRequestWithBody(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/power-port-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 +} + +// NewDcimPowerPortTemplatesCreateRequest calls the generic DcimPowerPortTemplatesCreate builder with application/json body +func NewDcimPowerPortTemplatesCreateRequest(server string, body DcimPowerPortTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortTemplatesCreateRequestWithBody generates requests for DcimPowerPortTemplatesCreate with any type of body +func NewDcimPowerPortTemplatesCreateRequestWithBody(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/power-port-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 +} + +// NewDcimPowerPortTemplatesBulkUpdateRequest calls the generic DcimPowerPortTemplatesBulkUpdate builder with application/json body +func NewDcimPowerPortTemplatesBulkUpdateRequest(server string, body DcimPowerPortTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortTemplatesBulkUpdateRequestWithBody generates requests for DcimPowerPortTemplatesBulkUpdate with any type of body +func NewDcimPowerPortTemplatesBulkUpdateRequestWithBody(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/power-port-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 +} + +// NewDcimPowerPortTemplatesDestroyRequest generates requests for DcimPowerPortTemplatesDestroy +func NewDcimPowerPortTemplatesDestroyRequest(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/power-port-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 +} + +// NewDcimPowerPortTemplatesRetrieveRequest generates requests for DcimPowerPortTemplatesRetrieve +func NewDcimPowerPortTemplatesRetrieveRequest(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/power-port-templates/%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 +} + +// NewDcimPowerPortTemplatesPartialUpdateRequest calls the generic DcimPowerPortTemplatesPartialUpdate builder with application/json body +func NewDcimPowerPortTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimPowerPortTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerPortTemplatesPartialUpdateRequestWithBody generates requests for DcimPowerPortTemplatesPartialUpdate with any type of body +func NewDcimPowerPortTemplatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerPortTemplatesUpdateRequest calls the generic DcimPowerPortTemplatesUpdate builder with application/json body +func NewDcimPowerPortTemplatesUpdateRequest(server string, id openapi_types.UUID, body DcimPowerPortTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerPortTemplatesUpdateRequestWithBody generates requests for DcimPowerPortTemplatesUpdate with any type of body +func NewDcimPowerPortTemplatesUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerPortsBulkDestroyRequest generates requests for DcimPowerPortsBulkDestroy +func NewDcimPowerPortsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-ports/") + 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 +} + +// NewDcimPowerPortsListRequest generates requests for DcimPowerPortsList +func NewDcimPowerPortsListRequest(server string, params *DcimPowerPortsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AllocatedDraw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw", runtime.ParamLocationQuery, *params.AllocatedDraw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__gt", runtime.ParamLocationQuery, *params.AllocatedDrawGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__gte", runtime.ParamLocationQuery, *params.AllocatedDrawGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__lt", runtime.ParamLocationQuery, *params.AllocatedDrawLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__lte", runtime.ParamLocationQuery, *params.AllocatedDrawLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AllocatedDrawN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "allocated_draw__n", runtime.ParamLocationQuery, *params.AllocatedDrawN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.MaximumDraw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw", runtime.ParamLocationQuery, *params.MaximumDraw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__gt", runtime.ParamLocationQuery, *params.MaximumDrawGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__gte", runtime.ParamLocationQuery, *params.MaximumDrawGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__lt", runtime.ParamLocationQuery, *params.MaximumDrawLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__lte", runtime.ParamLocationQuery, *params.MaximumDrawLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaximumDrawN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maximum_draw__n", runtime.ParamLocationQuery, *params.MaximumDrawN); err != nil { + return nil, err + } else if parsed, err := 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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerPortsBulkPartialUpdateRequest calls the generic DcimPowerPortsBulkPartialUpdate builder with application/json body +func NewDcimPowerPortsBulkPartialUpdateRequest(server string, body DcimPowerPortsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortsBulkPartialUpdateRequestWithBody generates requests for DcimPowerPortsBulkPartialUpdate with any type of body +func NewDcimPowerPortsBulkPartialUpdateRequestWithBody(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/power-ports/") + 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 +} + +// NewDcimPowerPortsCreateRequest calls the generic DcimPowerPortsCreate builder with application/json body +func NewDcimPowerPortsCreateRequest(server string, body DcimPowerPortsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortsCreateRequestWithBody generates requests for DcimPowerPortsCreate with any type of body +func NewDcimPowerPortsCreateRequestWithBody(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/power-ports/") + 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 +} + +// NewDcimPowerPortsBulkUpdateRequest calls the generic DcimPowerPortsBulkUpdate builder with application/json body +func NewDcimPowerPortsBulkUpdateRequest(server string, body DcimPowerPortsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortsBulkUpdateRequestWithBody generates requests for DcimPowerPortsBulkUpdate with any type of body +func NewDcimPowerPortsBulkUpdateRequestWithBody(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/power-ports/") + 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 +} + +// NewDcimPowerPortsDestroyRequest generates requests for DcimPowerPortsDestroy +func NewDcimPowerPortsDestroyRequest(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/power-ports/%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 +} + +// NewDcimPowerPortsRetrieveRequest generates requests for DcimPowerPortsRetrieve +func NewDcimPowerPortsRetrieveRequest(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/power-ports/%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 +} + +// NewDcimPowerPortsPartialUpdateRequest calls the generic DcimPowerPortsPartialUpdate builder with application/json body +func NewDcimPowerPortsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimPowerPortsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerPortsPartialUpdateRequestWithBody generates requests for DcimPowerPortsPartialUpdate with any type of body +func NewDcimPowerPortsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerPortsUpdateRequest calls the generic DcimPowerPortsUpdate builder with application/json body +func NewDcimPowerPortsUpdateRequest(server string, id openapi_types.UUID, body DcimPowerPortsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerPortsUpdateRequestWithBody generates requests for DcimPowerPortsUpdate with any type of body +func NewDcimPowerPortsUpdateRequestWithBody(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/", 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 +} + +// NewDcimPowerPortsTraceRetrieveRequest generates requests for DcimPowerPortsTraceRetrieve +func NewDcimPowerPortsTraceRetrieveRequest(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/power-ports/%s/trace/", 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 +} + +// NewDcimRackGroupsBulkDestroyRequest generates requests for DcimRackGroupsBulkDestroy +func NewDcimRackGroupsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-groups/") + 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 +} + +// NewDcimRackGroupsListRequest generates requests for DcimRackGroupsList +func NewDcimRackGroupsListRequest(server string, params *DcimRackGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-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.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.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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_id__n", runtime.ParamLocationQuery, *params.ParentIdN); err != nil { + return nil, err + } else if parsed, err := 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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewDcimRackGroupsBulkPartialUpdateRequest calls the generic DcimRackGroupsBulkPartialUpdate builder with application/json body +func NewDcimRackGroupsBulkPartialUpdateRequest(server string, body DcimRackGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackGroupsBulkPartialUpdateRequestWithBody generates requests for DcimRackGroupsBulkPartialUpdate with any type of body +func NewDcimRackGroupsBulkPartialUpdateRequestWithBody(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/rack-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 +} + +// NewDcimRackGroupsCreateRequest calls the generic DcimRackGroupsCreate builder with application/json body +func NewDcimRackGroupsCreateRequest(server string, body DcimRackGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackGroupsCreateRequestWithBody generates requests for DcimRackGroupsCreate with any type of body +func NewDcimRackGroupsCreateRequestWithBody(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/rack-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 +} + +// NewDcimRackGroupsBulkUpdateRequest calls the generic DcimRackGroupsBulkUpdate builder with application/json body +func NewDcimRackGroupsBulkUpdateRequest(server string, body DcimRackGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackGroupsBulkUpdateRequestWithBody generates requests for DcimRackGroupsBulkUpdate with any type of body +func NewDcimRackGroupsBulkUpdateRequestWithBody(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/rack-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 +} + +// NewDcimRackGroupsDestroyRequest generates requests for DcimRackGroupsDestroy +func NewDcimRackGroupsDestroyRequest(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/rack-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 +} + +// NewDcimRackGroupsRetrieveRequest generates requests for DcimRackGroupsRetrieve +func NewDcimRackGroupsRetrieveRequest(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/rack-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 +} + +// NewDcimRackGroupsPartialUpdateRequest calls the generic DcimRackGroupsPartialUpdate builder with application/json body +func NewDcimRackGroupsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimRackGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRackGroupsPartialUpdateRequestWithBody generates requests for DcimRackGroupsPartialUpdate with any type of body +func NewDcimRackGroupsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimRackGroupsUpdateRequest calls the generic DcimRackGroupsUpdate builder with application/json body +func NewDcimRackGroupsUpdateRequest(server string, id openapi_types.UUID, body DcimRackGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRackGroupsUpdateRequestWithBody generates requests for DcimRackGroupsUpdate with any type of body +func NewDcimRackGroupsUpdateRequestWithBody(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/", 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 +} + +// NewDcimRackReservationsBulkDestroyRequest generates requests for DcimRackReservationsBulkDestroy +func NewDcimRackReservationsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-reservations/") + 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 +} + +// NewDcimRackReservationsListRequest generates requests for DcimRackReservationsList +func NewDcimRackReservationsListRequest(server string, params *DcimRackReservationsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-reservations/") + 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.GroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id", runtime.ParamLocationQuery, *params.GroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__n", runtime.ParamLocationQuery, *params.GroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.RackId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id__n", runtime.ParamLocationQuery, *params.RackIdN); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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.UserId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_id", runtime.ParamLocationQuery, *params.UserId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_id__n", runtime.ParamLocationQuery, *params.UserIdN); err != nil { + return nil, err + } else if 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 +} + +// NewDcimRackReservationsBulkPartialUpdateRequest calls the generic DcimRackReservationsBulkPartialUpdate builder with application/json body +func NewDcimRackReservationsBulkPartialUpdateRequest(server string, body DcimRackReservationsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackReservationsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackReservationsBulkPartialUpdateRequestWithBody generates requests for DcimRackReservationsBulkPartialUpdate with any type of body +func NewDcimRackReservationsBulkPartialUpdateRequestWithBody(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/rack-reservations/") + 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 +} + +// NewDcimRackReservationsCreateRequest calls the generic DcimRackReservationsCreate builder with application/json body +func NewDcimRackReservationsCreateRequest(server string, body DcimRackReservationsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackReservationsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackReservationsCreateRequestWithBody generates requests for DcimRackReservationsCreate with any type of body +func NewDcimRackReservationsCreateRequestWithBody(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/rack-reservations/") + 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 +} + +// NewDcimRackReservationsBulkUpdateRequest calls the generic DcimRackReservationsBulkUpdate builder with application/json body +func NewDcimRackReservationsBulkUpdateRequest(server string, body DcimRackReservationsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackReservationsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackReservationsBulkUpdateRequestWithBody generates requests for DcimRackReservationsBulkUpdate with any type of body +func NewDcimRackReservationsBulkUpdateRequestWithBody(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/rack-reservations/") + 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 +} + +// NewDcimRackReservationsDestroyRequest generates requests for DcimRackReservationsDestroy +func NewDcimRackReservationsDestroyRequest(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/rack-reservations/%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 +} + +// NewDcimRackReservationsRetrieveRequest generates requests for DcimRackReservationsRetrieve +func NewDcimRackReservationsRetrieveRequest(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/rack-reservations/%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 +} + +// NewDcimRackReservationsPartialUpdateRequest calls the generic DcimRackReservationsPartialUpdate builder with application/json body +func NewDcimRackReservationsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimRackReservationsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackReservationsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRackReservationsPartialUpdateRequestWithBody generates requests for DcimRackReservationsPartialUpdate with any type of body +func NewDcimRackReservationsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimRackReservationsUpdateRequest calls the generic DcimRackReservationsUpdate builder with application/json body +func NewDcimRackReservationsUpdateRequest(server string, id openapi_types.UUID, body DcimRackReservationsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackReservationsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRackReservationsUpdateRequestWithBody generates requests for DcimRackReservationsUpdate with any type of body +func NewDcimRackReservationsUpdateRequestWithBody(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/", 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 +} + +// NewDcimRackRolesBulkDestroyRequest generates requests for DcimRackRolesBulkDestroy +func NewDcimRackRolesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-roles/") + 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 +} + +// NewDcimRackRolesListRequest generates requests for DcimRackRolesList +func NewDcimRackRolesListRequest(server string, params *DcimRackRolesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-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.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 +} + +// NewDcimRackRolesBulkPartialUpdateRequest calls the generic DcimRackRolesBulkPartialUpdate builder with application/json body +func NewDcimRackRolesBulkPartialUpdateRequest(server string, body DcimRackRolesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackRolesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackRolesBulkPartialUpdateRequestWithBody generates requests for DcimRackRolesBulkPartialUpdate with any type of body +func NewDcimRackRolesBulkPartialUpdateRequestWithBody(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/rack-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 +} + +// NewDcimRackRolesCreateRequest calls the generic DcimRackRolesCreate builder with application/json body +func NewDcimRackRolesCreateRequest(server string, body DcimRackRolesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackRolesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackRolesCreateRequestWithBody generates requests for DcimRackRolesCreate with any type of body +func NewDcimRackRolesCreateRequestWithBody(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/rack-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 +} + +// NewDcimRackRolesBulkUpdateRequest calls the generic DcimRackRolesBulkUpdate builder with application/json body +func NewDcimRackRolesBulkUpdateRequest(server string, body DcimRackRolesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackRolesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackRolesBulkUpdateRequestWithBody generates requests for DcimRackRolesBulkUpdate with any type of body +func NewDcimRackRolesBulkUpdateRequestWithBody(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/rack-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 +} + +// NewDcimRackRolesDestroyRequest generates requests for DcimRackRolesDestroy +func NewDcimRackRolesDestroyRequest(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/rack-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 +} + +// NewDcimRackRolesRetrieveRequest generates requests for DcimRackRolesRetrieve +func NewDcimRackRolesRetrieveRequest(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/rack-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 +} + +// NewDcimRackRolesPartialUpdateRequest calls the generic DcimRackRolesPartialUpdate builder with application/json body +func NewDcimRackRolesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimRackRolesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackRolesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRackRolesPartialUpdateRequestWithBody generates requests for DcimRackRolesPartialUpdate with any type of body +func NewDcimRackRolesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimRackRolesUpdateRequest calls the generic DcimRackRolesUpdate builder with application/json body +func NewDcimRackRolesUpdateRequest(server string, id openapi_types.UUID, body DcimRackRolesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackRolesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRackRolesUpdateRequestWithBody generates requests for DcimRackRolesUpdate with any type of body +func NewDcimRackRolesUpdateRequestWithBody(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/", 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 +} + +// NewDcimRacksBulkDestroyRequest generates requests for DcimRacksBulkDestroy +func NewDcimRacksBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/racks/") + 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 +} + +// NewDcimRacksListRequest generates requests for DcimRacksList +func NewDcimRacksListRequest(server string, params *DcimRacksListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/racks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AssetTag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag", runtime.ParamLocationQuery, *params.AssetTag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ic", runtime.ParamLocationQuery, *params.AssetTagIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ie", runtime.ParamLocationQuery, *params.AssetTagIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__iew", runtime.ParamLocationQuery, *params.AssetTagIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ire", runtime.ParamLocationQuery, *params.AssetTagIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__isw", runtime.ParamLocationQuery, *params.AssetTagIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__n", runtime.ParamLocationQuery, *params.AssetTagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nic", runtime.ParamLocationQuery, *params.AssetTagNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nie", runtime.ParamLocationQuery, *params.AssetTagNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__niew", runtime.ParamLocationQuery, *params.AssetTagNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nire", runtime.ParamLocationQuery, *params.AssetTagNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nisw", runtime.ParamLocationQuery, *params.AssetTagNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nre", runtime.ParamLocationQuery, *params.AssetTagNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__re", runtime.ParamLocationQuery, *params.AssetTagRe); err != nil { + return nil, err + } else if parsed, err := 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.DescUnits != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "desc_units", runtime.ParamLocationQuery, *params.DescUnits); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__ic", runtime.ParamLocationQuery, *params.FacilityIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__ie", runtime.ParamLocationQuery, *params.FacilityIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__iew", runtime.ParamLocationQuery, *params.FacilityIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__ire", runtime.ParamLocationQuery, *params.FacilityIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__isw", runtime.ParamLocationQuery, *params.FacilityIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__n", runtime.ParamLocationQuery, *params.FacilityIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nic", runtime.ParamLocationQuery, *params.FacilityIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nie", runtime.ParamLocationQuery, *params.FacilityIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__niew", runtime.ParamLocationQuery, *params.FacilityIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nire", runtime.ParamLocationQuery, *params.FacilityIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nisw", runtime.ParamLocationQuery, *params.FacilityIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nre", runtime.ParamLocationQuery, *params.FacilityIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__re", runtime.ParamLocationQuery, *params.FacilityIdRe); err != nil { + return nil, err + } else if parsed, err := 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.GroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id", runtime.ParamLocationQuery, *params.GroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__n", runtime.ParamLocationQuery, *params.GroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.OuterDepth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth", runtime.ParamLocationQuery, *params.OuterDepth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__gt", runtime.ParamLocationQuery, *params.OuterDepthGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__gte", runtime.ParamLocationQuery, *params.OuterDepthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__lt", runtime.ParamLocationQuery, *params.OuterDepthLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__lte", runtime.ParamLocationQuery, *params.OuterDepthLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__n", runtime.ParamLocationQuery, *params.OuterDepthN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterUnit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_unit", runtime.ParamLocationQuery, *params.OuterUnit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterUnitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_unit__n", runtime.ParamLocationQuery, *params.OuterUnitN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width", runtime.ParamLocationQuery, *params.OuterWidth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__gt", runtime.ParamLocationQuery, *params.OuterWidthGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__gte", runtime.ParamLocationQuery, *params.OuterWidthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__lt", runtime.ParamLocationQuery, *params.OuterWidthLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__lte", runtime.ParamLocationQuery, *params.OuterWidthLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__n", runtime.ParamLocationQuery, *params.OuterWidthN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.RoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id", runtime.ParamLocationQuery, *params.RoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id__n", runtime.ParamLocationQuery, *params.RoleIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Serial != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial", runtime.ParamLocationQuery, *params.Serial); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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) + } + } + } + + } + + if params.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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.UHeight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height", runtime.ParamLocationQuery, *params.UHeight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__gt", runtime.ParamLocationQuery, *params.UHeightGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__gte", runtime.ParamLocationQuery, *params.UHeightGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__lt", runtime.ParamLocationQuery, *params.UHeightLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__lte", runtime.ParamLocationQuery, *params.UHeightLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__n", runtime.ParamLocationQuery, *params.UHeightN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Width != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "width", runtime.ParamLocationQuery, *params.Width); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WidthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "width__n", runtime.ParamLocationQuery, *params.WidthN); err != nil { + return nil, err + } else if 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 +} + +// NewDcimRacksBulkPartialUpdateRequest calls the generic DcimRacksBulkPartialUpdate builder with application/json body +func NewDcimRacksBulkPartialUpdateRequest(server string, body DcimRacksBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRacksBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRacksBulkPartialUpdateRequestWithBody generates requests for DcimRacksBulkPartialUpdate with any type of body +func NewDcimRacksBulkPartialUpdateRequestWithBody(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/racks/") + 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 +} + +// NewDcimRacksCreateRequest calls the generic DcimRacksCreate builder with application/json body +func NewDcimRacksCreateRequest(server string, body DcimRacksCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRacksCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRacksCreateRequestWithBody generates requests for DcimRacksCreate with any type of body +func NewDcimRacksCreateRequestWithBody(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/racks/") + 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 +} + +// NewDcimRacksBulkUpdateRequest calls the generic DcimRacksBulkUpdate builder with application/json body +func NewDcimRacksBulkUpdateRequest(server string, body DcimRacksBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRacksBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRacksBulkUpdateRequestWithBody generates requests for DcimRacksBulkUpdate with any type of body +func NewDcimRacksBulkUpdateRequestWithBody(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/racks/") + 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 +} + +// NewDcimRacksDestroyRequest generates requests for DcimRacksDestroy +func NewDcimRacksDestroyRequest(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/racks/%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 +} + +// NewDcimRacksRetrieveRequest generates requests for DcimRacksRetrieve +func NewDcimRacksRetrieveRequest(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/racks/%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 +} + +// NewDcimRacksPartialUpdateRequest calls the generic DcimRacksPartialUpdate builder with application/json body +func NewDcimRacksPartialUpdateRequest(server string, id openapi_types.UUID, body DcimRacksPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRacksPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRacksPartialUpdateRequestWithBody generates requests for DcimRacksPartialUpdate with any type of body +func NewDcimRacksPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimRacksUpdateRequest calls the generic DcimRacksUpdate builder with application/json body +func NewDcimRacksUpdateRequest(server string, id openapi_types.UUID, body DcimRacksUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRacksUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRacksUpdateRequestWithBody generates requests for DcimRacksUpdate with any type of body +func NewDcimRacksUpdateRequestWithBody(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/", 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 +} + +// NewDcimRacksElevationListRequest generates requests for DcimRacksElevationList +func NewDcimRacksElevationListRequest(server string, id openapi_types.UUID, params *DcimRacksElevationListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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/elevation/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AssetTag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag", runtime.ParamLocationQuery, *params.AssetTag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ic", runtime.ParamLocationQuery, *params.AssetTagIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ie", runtime.ParamLocationQuery, *params.AssetTagIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__iew", runtime.ParamLocationQuery, *params.AssetTagIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__ire", runtime.ParamLocationQuery, *params.AssetTagIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__isw", runtime.ParamLocationQuery, *params.AssetTagIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__n", runtime.ParamLocationQuery, *params.AssetTagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nic", runtime.ParamLocationQuery, *params.AssetTagNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nie", runtime.ParamLocationQuery, *params.AssetTagNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__niew", runtime.ParamLocationQuery, *params.AssetTagNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nire", runtime.ParamLocationQuery, *params.AssetTagNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nisw", runtime.ParamLocationQuery, *params.AssetTagNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__nre", runtime.ParamLocationQuery, *params.AssetTagNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssetTagRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asset_tag__re", runtime.ParamLocationQuery, *params.AssetTagRe); err != nil { + return nil, err + } else if parsed, err := 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.DescUnits != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "desc_units", runtime.ParamLocationQuery, *params.DescUnits); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExpandDevices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expand_devices", runtime.ParamLocationQuery, *params.ExpandDevices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Face != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "face", runtime.ParamLocationQuery, *params.Face); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__ic", runtime.ParamLocationQuery, *params.FacilityIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__ie", runtime.ParamLocationQuery, *params.FacilityIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__iew", runtime.ParamLocationQuery, *params.FacilityIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__ire", runtime.ParamLocationQuery, *params.FacilityIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__isw", runtime.ParamLocationQuery, *params.FacilityIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__n", runtime.ParamLocationQuery, *params.FacilityIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nic", runtime.ParamLocationQuery, *params.FacilityIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nie", runtime.ParamLocationQuery, *params.FacilityIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__niew", runtime.ParamLocationQuery, *params.FacilityIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nire", runtime.ParamLocationQuery, *params.FacilityIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nisw", runtime.ParamLocationQuery, *params.FacilityIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__nre", runtime.ParamLocationQuery, *params.FacilityIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id__re", runtime.ParamLocationQuery, *params.FacilityIdRe); err != nil { + return nil, err + } else if parsed, err := 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.GroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id", runtime.ParamLocationQuery, *params.GroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__n", runtime.ParamLocationQuery, *params.GroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.IncludeImages != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_images", runtime.ParamLocationQuery, *params.IncludeImages); err != nil { + return nil, err + } else if parsed, err := 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.LegendWidth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "legend_width", runtime.ParamLocationQuery, *params.LegendWidth); err != nil { + return nil, err + } else if parsed, err := 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.OuterDepth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth", runtime.ParamLocationQuery, *params.OuterDepth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__gt", runtime.ParamLocationQuery, *params.OuterDepthGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__gte", runtime.ParamLocationQuery, *params.OuterDepthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__lt", runtime.ParamLocationQuery, *params.OuterDepthLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__lte", runtime.ParamLocationQuery, *params.OuterDepthLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterDepthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_depth__n", runtime.ParamLocationQuery, *params.OuterDepthN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterUnit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_unit", runtime.ParamLocationQuery, *params.OuterUnit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterUnitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_unit__n", runtime.ParamLocationQuery, *params.OuterUnitN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width", runtime.ParamLocationQuery, *params.OuterWidth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__gt", runtime.ParamLocationQuery, *params.OuterWidthGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__gte", runtime.ParamLocationQuery, *params.OuterWidthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__lt", runtime.ParamLocationQuery, *params.OuterWidthLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__lte", runtime.ParamLocationQuery, *params.OuterWidthLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OuterWidthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "outer_width__n", runtime.ParamLocationQuery, *params.OuterWidthN); err != nil { + return nil, err + } else if parsed, err := 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.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.Render != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "render", runtime.ParamLocationQuery, *params.Render); err != nil { + return nil, err + } else if parsed, err := 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.RoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id", runtime.ParamLocationQuery, *params.RoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id__n", runtime.ParamLocationQuery, *params.RoleIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Serial != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "serial", runtime.ParamLocationQuery, *params.Serial); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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) + } + } + } + + } + + if params.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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.UHeight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height", runtime.ParamLocationQuery, *params.UHeight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__gt", runtime.ParamLocationQuery, *params.UHeightGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__gte", runtime.ParamLocationQuery, *params.UHeightGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__lt", runtime.ParamLocationQuery, *params.UHeightLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__lte", runtime.ParamLocationQuery, *params.UHeightLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UHeightN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "u_height__n", runtime.ParamLocationQuery, *params.UHeightN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UnitHeight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "unit_height", runtime.ParamLocationQuery, *params.UnitHeight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UnitWidth != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "unit_width", runtime.ParamLocationQuery, *params.UnitWidth); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Width != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "width", runtime.ParamLocationQuery, *params.Width); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WidthN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "width__n", runtime.ParamLocationQuery, *params.WidthN); err != nil { + return nil, err + } else if 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 +} + +// NewDcimRearPortTemplatesBulkDestroyRequest generates requests for DcimRearPortTemplatesBulkDestroy +func NewDcimRearPortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rear-port-templates/") + 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 +} + +// NewDcimRearPortTemplatesListRequest generates requests for DcimRearPortTemplatesList +func NewDcimRearPortTemplatesListRequest(server string, params *DcimRearPortTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rear-port-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DevicetypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicetypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_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.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.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.Positions != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions", runtime.ParamLocationQuery, *params.Positions); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__gt", runtime.ParamLocationQuery, *params.PositionsGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__gte", runtime.ParamLocationQuery, *params.PositionsGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__lt", runtime.ParamLocationQuery, *params.PositionsLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__lte", runtime.ParamLocationQuery, *params.PositionsLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__n", runtime.ParamLocationQuery, *params.PositionsN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimRearPortTemplatesBulkPartialUpdateRequest calls the generic DcimRearPortTemplatesBulkPartialUpdate builder with application/json body +func NewDcimRearPortTemplatesBulkPartialUpdateRequest(server string, body DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortTemplatesBulkPartialUpdateRequestWithBody generates requests for DcimRearPortTemplatesBulkPartialUpdate with any type of body +func NewDcimRearPortTemplatesBulkPartialUpdateRequestWithBody(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/rear-port-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 +} + +// NewDcimRearPortTemplatesCreateRequest calls the generic DcimRearPortTemplatesCreate builder with application/json body +func NewDcimRearPortTemplatesCreateRequest(server string, body DcimRearPortTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortTemplatesCreateRequestWithBody generates requests for DcimRearPortTemplatesCreate with any type of body +func NewDcimRearPortTemplatesCreateRequestWithBody(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/rear-port-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 +} + +// NewDcimRearPortTemplatesBulkUpdateRequest calls the generic DcimRearPortTemplatesBulkUpdate builder with application/json body +func NewDcimRearPortTemplatesBulkUpdateRequest(server string, body DcimRearPortTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortTemplatesBulkUpdateRequestWithBody generates requests for DcimRearPortTemplatesBulkUpdate with any type of body +func NewDcimRearPortTemplatesBulkUpdateRequestWithBody(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/rear-port-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 +} + +// NewDcimRearPortTemplatesDestroyRequest generates requests for DcimRearPortTemplatesDestroy +func NewDcimRearPortTemplatesDestroyRequest(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/rear-port-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 +} + +// NewDcimRearPortTemplatesRetrieveRequest generates requests for DcimRearPortTemplatesRetrieve +func NewDcimRearPortTemplatesRetrieveRequest(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/rear-port-templates/%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 +} + +// NewDcimRearPortTemplatesPartialUpdateRequest calls the generic DcimRearPortTemplatesPartialUpdate builder with application/json body +func NewDcimRearPortTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimRearPortTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRearPortTemplatesPartialUpdateRequestWithBody generates requests for DcimRearPortTemplatesPartialUpdate with any type of body +func NewDcimRearPortTemplatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimRearPortTemplatesUpdateRequest calls the generic DcimRearPortTemplatesUpdate builder with application/json body +func NewDcimRearPortTemplatesUpdateRequest(server string, id openapi_types.UUID, body DcimRearPortTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRearPortTemplatesUpdateRequestWithBody generates requests for DcimRearPortTemplatesUpdate with any type of body +func NewDcimRearPortTemplatesUpdateRequestWithBody(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/", 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 +} + +// NewDcimRearPortsBulkDestroyRequest generates requests for DcimRearPortsBulkDestroy +func NewDcimRearPortsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rear-ports/") + 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 +} + +// NewDcimRearPortsListRequest generates requests for DcimRearPortsList +func NewDcimRearPortsListRequest(server string, params *DcimRearPortsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rear-ports/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.Positions != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions", runtime.ParamLocationQuery, *params.Positions); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__gt", runtime.ParamLocationQuery, *params.PositionsGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__gte", runtime.ParamLocationQuery, *params.PositionsGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__lt", runtime.ParamLocationQuery, *params.PositionsLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__lte", runtime.ParamLocationQuery, *params.PositionsLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PositionsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "positions__n", runtime.ParamLocationQuery, *params.PositionsN); err != nil { + return nil, err + } else if parsed, err := 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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimRearPortsBulkPartialUpdateRequest calls the generic DcimRearPortsBulkPartialUpdate builder with application/json body +func NewDcimRearPortsBulkPartialUpdateRequest(server string, body DcimRearPortsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortsBulkPartialUpdateRequestWithBody generates requests for DcimRearPortsBulkPartialUpdate with any type of body +func NewDcimRearPortsBulkPartialUpdateRequestWithBody(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/rear-ports/") + 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 +} + +// NewDcimRearPortsCreateRequest calls the generic DcimRearPortsCreate builder with application/json body +func NewDcimRearPortsCreateRequest(server string, body DcimRearPortsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortsCreateRequestWithBody generates requests for DcimRearPortsCreate with any type of body +func NewDcimRearPortsCreateRequestWithBody(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/rear-ports/") + 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 +} + +// NewDcimRearPortsBulkUpdateRequest calls the generic DcimRearPortsBulkUpdate builder with application/json body +func NewDcimRearPortsBulkUpdateRequest(server string, body DcimRearPortsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortsBulkUpdateRequestWithBody generates requests for DcimRearPortsBulkUpdate with any type of body +func NewDcimRearPortsBulkUpdateRequestWithBody(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/rear-ports/") + 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 +} + +// NewDcimRearPortsDestroyRequest generates requests for DcimRearPortsDestroy +func NewDcimRearPortsDestroyRequest(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/rear-ports/%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 +} + +// NewDcimRearPortsRetrieveRequest generates requests for DcimRearPortsRetrieve +func NewDcimRearPortsRetrieveRequest(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/rear-ports/%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 +} + +// NewDcimRearPortsPartialUpdateRequest calls the generic DcimRearPortsPartialUpdate builder with application/json body +func NewDcimRearPortsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimRearPortsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRearPortsPartialUpdateRequestWithBody generates requests for DcimRearPortsPartialUpdate with any type of body +func NewDcimRearPortsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimRearPortsUpdateRequest calls the generic DcimRearPortsUpdate builder with application/json body +func NewDcimRearPortsUpdateRequest(server string, id openapi_types.UUID, body DcimRearPortsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRearPortsUpdateRequestWithBody generates requests for DcimRearPortsUpdate with any type of body +func NewDcimRearPortsUpdateRequestWithBody(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/", 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 +} + +// NewDcimRearPortsPathsRetrieveRequest generates requests for DcimRearPortsPathsRetrieve +func NewDcimRearPortsPathsRetrieveRequest(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/rear-ports/%s/paths/", 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 +} + +// NewDcimRegionsBulkDestroyRequest generates requests for DcimRegionsBulkDestroy +func NewDcimRegionsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/regions/") + 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 +} + +// NewDcimRegionsListRequest generates requests for DcimRegionsList +func NewDcimRegionsListRequest(server string, params *DcimRegionsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/regions/") + 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.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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_id__n", runtime.ParamLocationQuery, *params.ParentIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewDcimRegionsBulkPartialUpdateRequest calls the generic DcimRegionsBulkPartialUpdate builder with application/json body +func NewDcimRegionsBulkPartialUpdateRequest(server string, body DcimRegionsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRegionsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRegionsBulkPartialUpdateRequestWithBody generates requests for DcimRegionsBulkPartialUpdate with any type of body +func NewDcimRegionsBulkPartialUpdateRequestWithBody(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/regions/") + 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 +} + +// NewDcimRegionsCreateRequest calls the generic DcimRegionsCreate builder with application/json body +func NewDcimRegionsCreateRequest(server string, body DcimRegionsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRegionsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRegionsCreateRequestWithBody generates requests for DcimRegionsCreate with any type of body +func NewDcimRegionsCreateRequestWithBody(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/regions/") + 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 +} + +// NewDcimRegionsBulkUpdateRequest calls the generic DcimRegionsBulkUpdate builder with application/json body +func NewDcimRegionsBulkUpdateRequest(server string, body DcimRegionsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRegionsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRegionsBulkUpdateRequestWithBody generates requests for DcimRegionsBulkUpdate with any type of body +func NewDcimRegionsBulkUpdateRequestWithBody(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/regions/") + 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 +} + +// NewDcimRegionsDestroyRequest generates requests for DcimRegionsDestroy +func NewDcimRegionsDestroyRequest(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/regions/%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 +} + +// NewDcimRegionsRetrieveRequest generates requests for DcimRegionsRetrieve +func NewDcimRegionsRetrieveRequest(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/regions/%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 +} + +// NewDcimRegionsPartialUpdateRequest calls the generic DcimRegionsPartialUpdate builder with application/json body +func NewDcimRegionsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimRegionsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRegionsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRegionsPartialUpdateRequestWithBody generates requests for DcimRegionsPartialUpdate with any type of body +func NewDcimRegionsPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimRegionsUpdateRequest calls the generic DcimRegionsUpdate builder with application/json body +func NewDcimRegionsUpdateRequest(server string, id openapi_types.UUID, body DcimRegionsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRegionsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRegionsUpdateRequestWithBody generates requests for DcimRegionsUpdate with any type of body +func NewDcimRegionsUpdateRequestWithBody(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/", 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 +} + +// NewDcimSitesBulkDestroyRequest generates requests for DcimSitesBulkDestroy +func NewDcimSitesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/sites/") + 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 +} + +// NewDcimSitesListRequest generates requests for DcimSitesList +func NewDcimSitesListRequest(server string, params *DcimSitesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/sites/") + 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.ContactEmail != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email", runtime.ParamLocationQuery, *params.ContactEmail); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__ic", runtime.ParamLocationQuery, *params.ContactEmailIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__ie", runtime.ParamLocationQuery, *params.ContactEmailIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__iew", runtime.ParamLocationQuery, *params.ContactEmailIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__ire", runtime.ParamLocationQuery, *params.ContactEmailIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__isw", runtime.ParamLocationQuery, *params.ContactEmailIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__n", runtime.ParamLocationQuery, *params.ContactEmailN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__nic", runtime.ParamLocationQuery, *params.ContactEmailNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__nie", runtime.ParamLocationQuery, *params.ContactEmailNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__niew", runtime.ParamLocationQuery, *params.ContactEmailNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__nire", runtime.ParamLocationQuery, *params.ContactEmailNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__nisw", runtime.ParamLocationQuery, *params.ContactEmailNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__nre", runtime.ParamLocationQuery, *params.ContactEmailNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactEmailRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email__re", runtime.ParamLocationQuery, *params.ContactEmailRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name", runtime.ParamLocationQuery, *params.ContactName); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__ic", runtime.ParamLocationQuery, *params.ContactNameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__ie", runtime.ParamLocationQuery, *params.ContactNameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__iew", runtime.ParamLocationQuery, *params.ContactNameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__ire", runtime.ParamLocationQuery, *params.ContactNameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__isw", runtime.ParamLocationQuery, *params.ContactNameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__n", runtime.ParamLocationQuery, *params.ContactNameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__nic", runtime.ParamLocationQuery, *params.ContactNameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__nie", runtime.ParamLocationQuery, *params.ContactNameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__niew", runtime.ParamLocationQuery, *params.ContactNameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__nire", runtime.ParamLocationQuery, *params.ContactNameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__nisw", runtime.ParamLocationQuery, *params.ContactNameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__nre", runtime.ParamLocationQuery, *params.ContactNameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactNameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_name__re", runtime.ParamLocationQuery, *params.ContactNameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhone != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone", runtime.ParamLocationQuery, *params.ContactPhone); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__ic", runtime.ParamLocationQuery, *params.ContactPhoneIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__ie", runtime.ParamLocationQuery, *params.ContactPhoneIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__iew", runtime.ParamLocationQuery, *params.ContactPhoneIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__ire", runtime.ParamLocationQuery, *params.ContactPhoneIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__isw", runtime.ParamLocationQuery, *params.ContactPhoneIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__n", runtime.ParamLocationQuery, *params.ContactPhoneN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__nic", runtime.ParamLocationQuery, *params.ContactPhoneNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__nie", runtime.ParamLocationQuery, *params.ContactPhoneNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__niew", runtime.ParamLocationQuery, *params.ContactPhoneNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__nire", runtime.ParamLocationQuery, *params.ContactPhoneNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__nisw", runtime.ParamLocationQuery, *params.ContactPhoneNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__nre", runtime.ParamLocationQuery, *params.ContactPhoneNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContactPhoneRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_phone__re", runtime.ParamLocationQuery, *params.ContactPhoneRe); err != nil { + return nil, err + } else if parsed, err := 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.Facility != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility", runtime.ParamLocationQuery, *params.Facility); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__ic", runtime.ParamLocationQuery, *params.FacilityIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__ie", runtime.ParamLocationQuery, *params.FacilityIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__iew", runtime.ParamLocationQuery, *params.FacilityIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__ire", runtime.ParamLocationQuery, *params.FacilityIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__isw", runtime.ParamLocationQuery, *params.FacilityIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__n", runtime.ParamLocationQuery, *params.FacilityN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__nic", runtime.ParamLocationQuery, *params.FacilityNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__nie", runtime.ParamLocationQuery, *params.FacilityNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__niew", runtime.ParamLocationQuery, *params.FacilityNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__nire", runtime.ParamLocationQuery, *params.FacilityNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__nisw", runtime.ParamLocationQuery, *params.FacilityNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__nre", runtime.ParamLocationQuery, *params.FacilityNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FacilityRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility__re", runtime.ParamLocationQuery, *params.FacilityRe); err != nil { + return nil, err + } else if parsed, err := 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.Latitude != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "latitude", runtime.ParamLocationQuery, *params.Latitude); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LatitudeGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "latitude__gt", runtime.ParamLocationQuery, *params.LatitudeGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LatitudeGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "latitude__gte", runtime.ParamLocationQuery, *params.LatitudeGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LatitudeLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "latitude__lt", runtime.ParamLocationQuery, *params.LatitudeLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LatitudeLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "latitude__lte", runtime.ParamLocationQuery, *params.LatitudeLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LatitudeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "latitude__n", runtime.ParamLocationQuery, *params.LatitudeN); err != nil { + return nil, err + } else if parsed, err := 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.Longitude != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longitude", runtime.ParamLocationQuery, *params.Longitude); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LongitudeGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longitude__gt", runtime.ParamLocationQuery, *params.LongitudeGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LongitudeGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longitude__gte", runtime.ParamLocationQuery, *params.LongitudeGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LongitudeLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longitude__lt", runtime.ParamLocationQuery, *params.LongitudeLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LongitudeLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longitude__lte", runtime.ParamLocationQuery, *params.LongitudeLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LongitudeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longitude__n", runtime.ParamLocationQuery, *params.LongitudeN); err != nil { + return nil, err + } else if parsed, err := 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.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.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) + } + } + } + + } + + 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 +} + +// NewDcimSitesBulkPartialUpdateRequest calls the generic DcimSitesBulkPartialUpdate builder with application/json body +func NewDcimSitesBulkPartialUpdateRequest(server string, body DcimSitesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSitesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimSitesBulkPartialUpdateRequestWithBody generates requests for DcimSitesBulkPartialUpdate with any type of body +func NewDcimSitesBulkPartialUpdateRequestWithBody(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/sites/") + 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 +} + +// NewDcimSitesCreateRequest calls the generic DcimSitesCreate builder with application/json body +func NewDcimSitesCreateRequest(server string, body DcimSitesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSitesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimSitesCreateRequestWithBody generates requests for DcimSitesCreate with any type of body +func NewDcimSitesCreateRequestWithBody(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/sites/") + 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 +} + +// NewDcimSitesBulkUpdateRequest calls the generic DcimSitesBulkUpdate builder with application/json body +func NewDcimSitesBulkUpdateRequest(server string, body DcimSitesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSitesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimSitesBulkUpdateRequestWithBody generates requests for DcimSitesBulkUpdate with any type of body +func NewDcimSitesBulkUpdateRequestWithBody(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/sites/") + 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 +} + +// NewDcimSitesDestroyRequest generates requests for DcimSitesDestroy +func NewDcimSitesDestroyRequest(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/sites/%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 +} + +// NewDcimSitesRetrieveRequest generates requests for DcimSitesRetrieve +func NewDcimSitesRetrieveRequest(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/sites/%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 +} + +// NewDcimSitesPartialUpdateRequest calls the generic DcimSitesPartialUpdate builder with application/json body +func NewDcimSitesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimSitesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSitesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimSitesPartialUpdateRequestWithBody generates requests for DcimSitesPartialUpdate with any type of body +func NewDcimSitesPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimSitesUpdateRequest calls the generic DcimSitesUpdate builder with application/json body +func NewDcimSitesUpdateRequest(server string, id openapi_types.UUID, body DcimSitesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSitesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimSitesUpdateRequestWithBody generates requests for DcimSitesUpdate with any type of body +func NewDcimSitesUpdateRequestWithBody(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/", 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 +} + +// NewDcimVirtualChassisBulkDestroyRequest generates requests for DcimVirtualChassisBulkDestroy +func NewDcimVirtualChassisBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/virtual-chassis/") + 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 +} + +// NewDcimVirtualChassisListRequest generates requests for DcimVirtualChassisList +func NewDcimVirtualChassisListRequest(server string, params *DcimVirtualChassisListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/virtual-chassis/") + 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.Domain != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain", runtime.ParamLocationQuery, *params.Domain); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__ic", runtime.ParamLocationQuery, *params.DomainIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__ie", runtime.ParamLocationQuery, *params.DomainIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__iew", runtime.ParamLocationQuery, *params.DomainIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__ire", runtime.ParamLocationQuery, *params.DomainIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__isw", runtime.ParamLocationQuery, *params.DomainIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__n", runtime.ParamLocationQuery, *params.DomainN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__nic", runtime.ParamLocationQuery, *params.DomainNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__nie", runtime.ParamLocationQuery, *params.DomainNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__niew", runtime.ParamLocationQuery, *params.DomainNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__nire", runtime.ParamLocationQuery, *params.DomainNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__nisw", runtime.ParamLocationQuery, *params.DomainNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__nre", runtime.ParamLocationQuery, *params.DomainNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DomainRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "domain__re", runtime.ParamLocationQuery, *params.DomainRe); err != nil { + return nil, err + } else if parsed, err := 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.Master != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "master", runtime.ParamLocationQuery, *params.Master); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MasterN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "master__n", runtime.ParamLocationQuery, *params.MasterN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MasterId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "master_id", runtime.ParamLocationQuery, *params.MasterId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MasterIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "master_id__n", runtime.ParamLocationQuery, *params.MasterIdN); err != nil { + return nil, err + } else if parsed, err := 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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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.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 +} + +// NewDcimVirtualChassisBulkPartialUpdateRequest calls the generic DcimVirtualChassisBulkPartialUpdate builder with application/json body +func NewDcimVirtualChassisBulkPartialUpdateRequest(server string, body DcimVirtualChassisBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualChassisBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimVirtualChassisBulkPartialUpdateRequestWithBody generates requests for DcimVirtualChassisBulkPartialUpdate with any type of body +func NewDcimVirtualChassisBulkPartialUpdateRequestWithBody(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/virtual-chassis/") + 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 +} + +// NewDcimVirtualChassisCreateRequest calls the generic DcimVirtualChassisCreate builder with application/json body +func NewDcimVirtualChassisCreateRequest(server string, body DcimVirtualChassisCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualChassisCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimVirtualChassisCreateRequestWithBody generates requests for DcimVirtualChassisCreate with any type of body +func NewDcimVirtualChassisCreateRequestWithBody(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/virtual-chassis/") + 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 +} + +// NewDcimVirtualChassisBulkUpdateRequest calls the generic DcimVirtualChassisBulkUpdate builder with application/json body +func NewDcimVirtualChassisBulkUpdateRequest(server string, body DcimVirtualChassisBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualChassisBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimVirtualChassisBulkUpdateRequestWithBody generates requests for DcimVirtualChassisBulkUpdate with any type of body +func NewDcimVirtualChassisBulkUpdateRequestWithBody(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/virtual-chassis/") + 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 +} + +// NewDcimVirtualChassisDestroyRequest generates requests for DcimVirtualChassisDestroy +func NewDcimVirtualChassisDestroyRequest(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/virtual-chassis/%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 +} + +// NewDcimVirtualChassisRetrieveRequest generates requests for DcimVirtualChassisRetrieve +func NewDcimVirtualChassisRetrieveRequest(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/virtual-chassis/%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 +} + +// NewDcimVirtualChassisPartialUpdateRequest calls the generic DcimVirtualChassisPartialUpdate builder with application/json body +func NewDcimVirtualChassisPartialUpdateRequest(server string, id openapi_types.UUID, body DcimVirtualChassisPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualChassisPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimVirtualChassisPartialUpdateRequestWithBody generates requests for DcimVirtualChassisPartialUpdate with any type of body +func NewDcimVirtualChassisPartialUpdateRequestWithBody(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/", 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 +} + +// NewDcimVirtualChassisUpdateRequest calls the generic DcimVirtualChassisUpdate builder with application/json body +func NewDcimVirtualChassisUpdateRequest(server string, id openapi_types.UUID, body DcimVirtualChassisUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualChassisUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimVirtualChassisUpdateRequestWithBody generates requests for DcimVirtualChassisUpdate with any type of body +func NewDcimVirtualChassisUpdateRequestWithBody(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/", 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 +} + +// NewExtrasComputedFieldsBulkDestroyRequest generates requests for ExtrasComputedFieldsBulkDestroy +func NewExtrasComputedFieldsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/computed-fields/") + 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 +} + +// NewExtrasComputedFieldsListRequest generates requests for ExtrasComputedFieldsList +func NewExtrasComputedFieldsListRequest(server string, params *ExtrasComputedFieldsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/computed-fields/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.FallbackValue != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value", runtime.ParamLocationQuery, *params.FallbackValue); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__ic", runtime.ParamLocationQuery, *params.FallbackValueIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__ie", runtime.ParamLocationQuery, *params.FallbackValueIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__iew", runtime.ParamLocationQuery, *params.FallbackValueIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__ire", runtime.ParamLocationQuery, *params.FallbackValueIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__isw", runtime.ParamLocationQuery, *params.FallbackValueIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__n", runtime.ParamLocationQuery, *params.FallbackValueN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__nic", runtime.ParamLocationQuery, *params.FallbackValueNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__nie", runtime.ParamLocationQuery, *params.FallbackValueNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__niew", runtime.ParamLocationQuery, *params.FallbackValueNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__nire", runtime.ParamLocationQuery, *params.FallbackValueNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__nisw", runtime.ParamLocationQuery, *params.FallbackValueNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__nre", runtime.ParamLocationQuery, *params.FallbackValueNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FallbackValueRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fallback_value__re", runtime.ParamLocationQuery, *params.FallbackValueRe); err != nil { + return nil, err + } else if parsed, err := 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.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.Template != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template", runtime.ParamLocationQuery, *params.Template); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__ic", runtime.ParamLocationQuery, *params.TemplateIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__ie", runtime.ParamLocationQuery, *params.TemplateIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__iew", runtime.ParamLocationQuery, *params.TemplateIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__ire", runtime.ParamLocationQuery, *params.TemplateIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__isw", runtime.ParamLocationQuery, *params.TemplateIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__n", runtime.ParamLocationQuery, *params.TemplateN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__nic", runtime.ParamLocationQuery, *params.TemplateNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__nie", runtime.ParamLocationQuery, *params.TemplateNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__niew", runtime.ParamLocationQuery, *params.TemplateNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__nire", runtime.ParamLocationQuery, *params.TemplateNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__nisw", runtime.ParamLocationQuery, *params.TemplateNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__nre", runtime.ParamLocationQuery, *params.TemplateNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TemplateRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "template__re", runtime.ParamLocationQuery, *params.TemplateRe); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasComputedFieldsBulkPartialUpdateRequest calls the generic ExtrasComputedFieldsBulkPartialUpdate builder with application/json body +func NewExtrasComputedFieldsBulkPartialUpdateRequest(server string, body ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasComputedFieldsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasComputedFieldsBulkPartialUpdateRequestWithBody generates requests for ExtrasComputedFieldsBulkPartialUpdate with any type of body +func NewExtrasComputedFieldsBulkPartialUpdateRequestWithBody(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/computed-fields/") + 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 +} + +// NewExtrasComputedFieldsCreateRequest calls the generic ExtrasComputedFieldsCreate builder with application/json body +func NewExtrasComputedFieldsCreateRequest(server string, body ExtrasComputedFieldsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasComputedFieldsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasComputedFieldsCreateRequestWithBody generates requests for ExtrasComputedFieldsCreate with any type of body +func NewExtrasComputedFieldsCreateRequestWithBody(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/computed-fields/") + 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 +} + +// NewExtrasComputedFieldsBulkUpdateRequest calls the generic ExtrasComputedFieldsBulkUpdate builder with application/json body +func NewExtrasComputedFieldsBulkUpdateRequest(server string, body ExtrasComputedFieldsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasComputedFieldsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasComputedFieldsBulkUpdateRequestWithBody generates requests for ExtrasComputedFieldsBulkUpdate with any type of body +func NewExtrasComputedFieldsBulkUpdateRequestWithBody(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/computed-fields/") + 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 +} + +// NewExtrasComputedFieldsDestroyRequest generates requests for ExtrasComputedFieldsDestroy +func NewExtrasComputedFieldsDestroyRequest(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/computed-fields/%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 +} + +// NewExtrasComputedFieldsRetrieveRequest generates requests for ExtrasComputedFieldsRetrieve +func NewExtrasComputedFieldsRetrieveRequest(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/computed-fields/%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 +} + +// NewExtrasComputedFieldsPartialUpdateRequest calls the generic ExtrasComputedFieldsPartialUpdate builder with application/json body +func NewExtrasComputedFieldsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasComputedFieldsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasComputedFieldsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasComputedFieldsPartialUpdateRequestWithBody generates requests for ExtrasComputedFieldsPartialUpdate with any type of body +func NewExtrasComputedFieldsPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasComputedFieldsUpdateRequest calls the generic ExtrasComputedFieldsUpdate builder with application/json body +func NewExtrasComputedFieldsUpdateRequest(server string, id openapi_types.UUID, body ExtrasComputedFieldsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasComputedFieldsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasComputedFieldsUpdateRequestWithBody generates requests for ExtrasComputedFieldsUpdate with any type of body +func NewExtrasComputedFieldsUpdateRequestWithBody(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/", 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 +} + +// NewExtrasConfigContextSchemasBulkDestroyRequest generates requests for ExtrasConfigContextSchemasBulkDestroy +func NewExtrasConfigContextSchemasBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/config-context-schemas/") + 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 +} + +// NewExtrasConfigContextSchemasListRequest generates requests for ExtrasConfigContextSchemasList +func NewExtrasConfigContextSchemasListRequest(server string, params *ExtrasConfigContextSchemasListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/config-context-schemas/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + 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.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.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.OwnerContentType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_content_type", runtime.ParamLocationQuery, *params.OwnerContentType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerContentTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_content_type__n", runtime.ParamLocationQuery, *params.OwnerContentTypeN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasConfigContextSchemasBulkPartialUpdateRequest calls the generic ExtrasConfigContextSchemasBulkPartialUpdate builder with application/json body +func NewExtrasConfigContextSchemasBulkPartialUpdateRequest(server string, body ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextSchemasBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigContextSchemasBulkPartialUpdateRequestWithBody generates requests for ExtrasConfigContextSchemasBulkPartialUpdate with any type of body +func NewExtrasConfigContextSchemasBulkPartialUpdateRequestWithBody(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/config-context-schemas/") + 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 +} + +// NewExtrasConfigContextSchemasCreateRequest calls the generic ExtrasConfigContextSchemasCreate builder with application/json body +func NewExtrasConfigContextSchemasCreateRequest(server string, body ExtrasConfigContextSchemasCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextSchemasCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigContextSchemasCreateRequestWithBody generates requests for ExtrasConfigContextSchemasCreate with any type of body +func NewExtrasConfigContextSchemasCreateRequestWithBody(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/config-context-schemas/") + 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 +} + +// NewExtrasConfigContextSchemasBulkUpdateRequest calls the generic ExtrasConfigContextSchemasBulkUpdate builder with application/json body +func NewExtrasConfigContextSchemasBulkUpdateRequest(server string, body ExtrasConfigContextSchemasBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextSchemasBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigContextSchemasBulkUpdateRequestWithBody generates requests for ExtrasConfigContextSchemasBulkUpdate with any type of body +func NewExtrasConfigContextSchemasBulkUpdateRequestWithBody(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/config-context-schemas/") + 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 +} + +// NewExtrasConfigContextSchemasDestroyRequest generates requests for ExtrasConfigContextSchemasDestroy +func NewExtrasConfigContextSchemasDestroyRequest(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/config-context-schemas/%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 +} + +// NewExtrasConfigContextSchemasRetrieveRequest generates requests for ExtrasConfigContextSchemasRetrieve +func NewExtrasConfigContextSchemasRetrieveRequest(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/config-context-schemas/%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 +} + +// NewExtrasConfigContextSchemasPartialUpdateRequest calls the generic ExtrasConfigContextSchemasPartialUpdate builder with application/json body +func NewExtrasConfigContextSchemasPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasConfigContextSchemasPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextSchemasPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigContextSchemasPartialUpdateRequestWithBody generates requests for ExtrasConfigContextSchemasPartialUpdate with any type of body +func NewExtrasConfigContextSchemasPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasConfigContextSchemasUpdateRequest calls the generic ExtrasConfigContextSchemasUpdate builder with application/json body +func NewExtrasConfigContextSchemasUpdateRequest(server string, id openapi_types.UUID, body ExtrasConfigContextSchemasUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextSchemasUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigContextSchemasUpdateRequestWithBody generates requests for ExtrasConfigContextSchemasUpdate with any type of body +func NewExtrasConfigContextSchemasUpdateRequestWithBody(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/", 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 +} + +// NewExtrasConfigContextsBulkDestroyRequest generates requests for ExtrasConfigContextsBulkDestroy +func NewExtrasConfigContextsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/config-contexts/") + 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 +} + +// NewExtrasConfigContextsListRequest generates requests for ExtrasConfigContextsList +func NewExtrasConfigContextsListRequest(server string, params *ExtrasConfigContextsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/config-contexts/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.ClusterGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group", runtime.ParamLocationQuery, *params.ClusterGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group__n", runtime.ParamLocationQuery, *params.ClusterGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group_id", runtime.ParamLocationQuery, *params.ClusterGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group_id__n", runtime.ParamLocationQuery, *params.ClusterGroupIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id", runtime.ParamLocationQuery, *params.ClusterId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id__n", runtime.ParamLocationQuery, *params.ClusterIdN); err != nil { + return nil, err + } else if parsed, err := 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, "device_type_id", runtime.ParamLocationQuery, *params.DeviceTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.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.IsActive != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_active", runtime.ParamLocationQuery, *params.IsActive); err != nil { + return nil, err + } else if parsed, err := 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.OwnerContentType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_content_type", runtime.ParamLocationQuery, *params.OwnerContentType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerContentTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_content_type__n", runtime.ParamLocationQuery, *params.OwnerContentTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id", runtime.ParamLocationQuery, *params.OwnerObjectId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__ic", runtime.ParamLocationQuery, *params.OwnerObjectIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__ie", runtime.ParamLocationQuery, *params.OwnerObjectIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__iew", runtime.ParamLocationQuery, *params.OwnerObjectIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__ire", runtime.ParamLocationQuery, *params.OwnerObjectIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__isw", runtime.ParamLocationQuery, *params.OwnerObjectIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__n", runtime.ParamLocationQuery, *params.OwnerObjectIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nic", runtime.ParamLocationQuery, *params.OwnerObjectIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nie", runtime.ParamLocationQuery, *params.OwnerObjectIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__niew", runtime.ParamLocationQuery, *params.OwnerObjectIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nire", runtime.ParamLocationQuery, *params.OwnerObjectIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nisw", runtime.ParamLocationQuery, *params.OwnerObjectIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nre", runtime.ParamLocationQuery, *params.OwnerObjectIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__re", runtime.ParamLocationQuery, *params.OwnerObjectIdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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) + } + } + } + + } + + if params.PlatformId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id", runtime.ParamLocationQuery, *params.PlatformId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PlatformIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id__n", runtime.ParamLocationQuery, *params.PlatformIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.RoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id", runtime.ParamLocationQuery, *params.RoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id__n", runtime.ParamLocationQuery, *params.RoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasConfigContextsBulkPartialUpdateRequest calls the generic ExtrasConfigContextsBulkPartialUpdate builder with application/json body +func NewExtrasConfigContextsBulkPartialUpdateRequest(server string, body ExtrasConfigContextsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigContextsBulkPartialUpdateRequestWithBody generates requests for ExtrasConfigContextsBulkPartialUpdate with any type of body +func NewExtrasConfigContextsBulkPartialUpdateRequestWithBody(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/config-contexts/") + 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 +} + +// NewExtrasConfigContextsCreateRequest calls the generic ExtrasConfigContextsCreate builder with application/json body +func NewExtrasConfigContextsCreateRequest(server string, body ExtrasConfigContextsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigContextsCreateRequestWithBody generates requests for ExtrasConfigContextsCreate with any type of body +func NewExtrasConfigContextsCreateRequestWithBody(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/config-contexts/") + 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 +} + +// NewExtrasConfigContextsBulkUpdateRequest calls the generic ExtrasConfigContextsBulkUpdate builder with application/json body +func NewExtrasConfigContextsBulkUpdateRequest(server string, body ExtrasConfigContextsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigContextsBulkUpdateRequestWithBody generates requests for ExtrasConfigContextsBulkUpdate with any type of body +func NewExtrasConfigContextsBulkUpdateRequestWithBody(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/config-contexts/") + 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 +} + +// NewExtrasConfigContextsDestroyRequest generates requests for ExtrasConfigContextsDestroy +func NewExtrasConfigContextsDestroyRequest(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/config-contexts/%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 +} + +// NewExtrasConfigContextsRetrieveRequest generates requests for ExtrasConfigContextsRetrieve +func NewExtrasConfigContextsRetrieveRequest(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/config-contexts/%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 +} + +// NewExtrasConfigContextsPartialUpdateRequest calls the generic ExtrasConfigContextsPartialUpdate builder with application/json body +func NewExtrasConfigContextsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasConfigContextsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigContextsPartialUpdateRequestWithBody generates requests for ExtrasConfigContextsPartialUpdate with any type of body +func NewExtrasConfigContextsPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasConfigContextsUpdateRequest calls the generic ExtrasConfigContextsUpdate builder with application/json body +func NewExtrasConfigContextsUpdateRequest(server string, id openapi_types.UUID, body ExtrasConfigContextsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigContextsUpdateRequestWithBody generates requests for ExtrasConfigContextsUpdate with any type of body +func NewExtrasConfigContextsUpdateRequestWithBody(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/", 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 +} + +// NewExtrasContentTypesListRequest generates requests for ExtrasContentTypesList +func NewExtrasContentTypesListRequest(server string, params *ExtrasContentTypesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/content-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AppLabel != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label", runtime.ParamLocationQuery, *params.AppLabel); err != nil { + return nil, err + } else if parsed, err := 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.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.Model != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model", runtime.ParamLocationQuery, *params.Model); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasContentTypesRetrieveRequest generates requests for ExtrasContentTypesRetrieve +func NewExtrasContentTypesRetrieveRequest(server string, id int) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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/content-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 +} + +// NewExtrasCustomFieldChoicesBulkDestroyRequest generates requests for ExtrasCustomFieldChoicesBulkDestroy +func NewExtrasCustomFieldChoicesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-field-choices/") + 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 +} + +// NewExtrasCustomFieldChoicesListRequest generates requests for ExtrasCustomFieldChoicesList +func NewExtrasCustomFieldChoicesListRequest(server string, params *ExtrasCustomFieldChoicesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-field-choices/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Field != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field", runtime.ParamLocationQuery, *params.Field); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__n", runtime.ParamLocationQuery, *params.FieldN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field_id", runtime.ParamLocationQuery, *params.FieldId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field_id__n", runtime.ParamLocationQuery, *params.FieldIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.Value != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value", runtime.ParamLocationQuery, *params.Value); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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) + } + } + } + + } + + 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 +} + +// NewExtrasCustomFieldChoicesBulkPartialUpdateRequest calls the generic ExtrasCustomFieldChoicesBulkPartialUpdate builder with application/json body +func NewExtrasCustomFieldChoicesBulkPartialUpdateRequest(server string, body ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoicesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoicesBulkPartialUpdateRequestWithBody generates requests for ExtrasCustomFieldChoicesBulkPartialUpdate with any type of body +func NewExtrasCustomFieldChoicesBulkPartialUpdateRequestWithBody(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/custom-field-choices/") + 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 +} + +// NewExtrasCustomFieldChoicesCreateRequest calls the generic ExtrasCustomFieldChoicesCreate builder with application/json body +func NewExtrasCustomFieldChoicesCreateRequest(server string, body ExtrasCustomFieldChoicesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoicesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoicesCreateRequestWithBody generates requests for ExtrasCustomFieldChoicesCreate with any type of body +func NewExtrasCustomFieldChoicesCreateRequestWithBody(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/custom-field-choices/") + 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 +} + +// NewExtrasCustomFieldChoicesBulkUpdateRequest calls the generic ExtrasCustomFieldChoicesBulkUpdate builder with application/json body +func NewExtrasCustomFieldChoicesBulkUpdateRequest(server string, body ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoicesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoicesBulkUpdateRequestWithBody generates requests for ExtrasCustomFieldChoicesBulkUpdate with any type of body +func NewExtrasCustomFieldChoicesBulkUpdateRequestWithBody(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/custom-field-choices/") + 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 +} + +// NewExtrasCustomFieldChoicesDestroyRequest generates requests for ExtrasCustomFieldChoicesDestroy +func NewExtrasCustomFieldChoicesDestroyRequest(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/custom-field-choices/%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 +} + +// NewExtrasCustomFieldChoicesRetrieveRequest generates requests for ExtrasCustomFieldChoicesRetrieve +func NewExtrasCustomFieldChoicesRetrieveRequest(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/custom-field-choices/%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 +} + +// NewExtrasCustomFieldChoicesPartialUpdateRequest calls the generic ExtrasCustomFieldChoicesPartialUpdate builder with application/json body +func NewExtrasCustomFieldChoicesPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoicesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoicesPartialUpdateRequestWithBody generates requests for ExtrasCustomFieldChoicesPartialUpdate with any type of body +func NewExtrasCustomFieldChoicesPartialUpdateRequestWithBody(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-field-choices/%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 +} + +// NewExtrasCustomFieldChoicesUpdateRequest calls the generic ExtrasCustomFieldChoicesUpdate builder with application/json body +func NewExtrasCustomFieldChoicesUpdateRequest(server string, id openapi_types.UUID, body ExtrasCustomFieldChoicesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoicesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoicesUpdateRequestWithBody generates requests for ExtrasCustomFieldChoicesUpdate with any type of body +func NewExtrasCustomFieldChoicesUpdateRequestWithBody(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-field-choices/%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 +} + +// NewExtrasCustomFieldsBulkDestroyRequest generates requests for ExtrasCustomFieldsBulkDestroy +func NewExtrasCustomFieldsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-fields/") + 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 +} + +// NewExtrasCustomFieldsListRequest generates requests for ExtrasCustomFieldsList +func NewExtrasCustomFieldsListRequest(server string, params *ExtrasCustomFieldsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-fields/") + 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.FilterLogic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "filter_logic", runtime.ParamLocationQuery, *params.FilterLogic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FilterLogicN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "filter_logic__n", runtime.ParamLocationQuery, *params.FilterLogicN); err != nil { + return nil, err + } else if parsed, err := 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.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.Required != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "required", runtime.ParamLocationQuery, *params.Required); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasCustomFieldsBulkPartialUpdateRequest calls the generic ExtrasCustomFieldsBulkPartialUpdate builder with application/json body +func NewExtrasCustomFieldsBulkPartialUpdateRequest(server string, body ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldsBulkPartialUpdateRequestWithBody generates requests for ExtrasCustomFieldsBulkPartialUpdate with any type of body +func NewExtrasCustomFieldsBulkPartialUpdateRequestWithBody(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/custom-fields/") + 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 +} + +// NewExtrasCustomFieldsCreateRequest calls the generic ExtrasCustomFieldsCreate builder with application/json body +func NewExtrasCustomFieldsCreateRequest(server string, body ExtrasCustomFieldsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldsCreateRequestWithBody generates requests for ExtrasCustomFieldsCreate with any type of body +func NewExtrasCustomFieldsCreateRequestWithBody(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/custom-fields/") + 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 +} + +// NewExtrasCustomFieldsBulkUpdateRequest calls the generic ExtrasCustomFieldsBulkUpdate builder with application/json body +func NewExtrasCustomFieldsBulkUpdateRequest(server string, body ExtrasCustomFieldsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldsBulkUpdateRequestWithBody generates requests for ExtrasCustomFieldsBulkUpdate with any type of body +func NewExtrasCustomFieldsBulkUpdateRequestWithBody(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/custom-fields/") + 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 +} + +// NewExtrasCustomFieldsDestroyRequest generates requests for ExtrasCustomFieldsDestroy +func NewExtrasCustomFieldsDestroyRequest(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/custom-fields/%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 +} + +// NewExtrasCustomFieldsRetrieveRequest generates requests for ExtrasCustomFieldsRetrieve +func NewExtrasCustomFieldsRetrieveRequest(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/custom-fields/%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 +} + +// NewExtrasCustomFieldsPartialUpdateRequest calls the generic ExtrasCustomFieldsPartialUpdate builder with application/json body +func NewExtrasCustomFieldsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasCustomFieldsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomFieldsPartialUpdateRequestWithBody generates requests for ExtrasCustomFieldsPartialUpdate with any type of body +func NewExtrasCustomFieldsPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasCustomFieldsUpdateRequest calls the generic ExtrasCustomFieldsUpdate builder with application/json body +func NewExtrasCustomFieldsUpdateRequest(server string, id openapi_types.UUID, body ExtrasCustomFieldsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomFieldsUpdateRequestWithBody generates requests for ExtrasCustomFieldsUpdate with any type of body +func NewExtrasCustomFieldsUpdateRequestWithBody(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/", 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 +} + +// NewExtrasCustomLinksBulkDestroyRequest generates requests for ExtrasCustomLinksBulkDestroy +func NewExtrasCustomLinksBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-links/") + 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 +} + +// NewExtrasCustomLinksListRequest generates requests for ExtrasCustomLinksList +func NewExtrasCustomLinksListRequest(server string, params *ExtrasCustomLinksListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-links/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.ButtonClass != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "button_class", runtime.ParamLocationQuery, *params.ButtonClass); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ButtonClassN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "button_class__n", runtime.ParamLocationQuery, *params.ButtonClassN); err != nil { + return nil, err + } else if parsed, err := 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.GroupName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name", runtime.ParamLocationQuery, *params.GroupName); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__ic", runtime.ParamLocationQuery, *params.GroupNameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__ie", runtime.ParamLocationQuery, *params.GroupNameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__iew", runtime.ParamLocationQuery, *params.GroupNameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__ire", runtime.ParamLocationQuery, *params.GroupNameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__isw", runtime.ParamLocationQuery, *params.GroupNameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__n", runtime.ParamLocationQuery, *params.GroupNameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__nic", runtime.ParamLocationQuery, *params.GroupNameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__nie", runtime.ParamLocationQuery, *params.GroupNameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__niew", runtime.ParamLocationQuery, *params.GroupNameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__nire", runtime.ParamLocationQuery, *params.GroupNameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__nisw", runtime.ParamLocationQuery, *params.GroupNameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__nre", runtime.ParamLocationQuery, *params.GroupNameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupNameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_name__re", runtime.ParamLocationQuery, *params.GroupNameRe); err != nil { + return nil, err + } else if parsed, err := 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.NewWindow != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "new_window", runtime.ParamLocationQuery, *params.NewWindow); err != nil { + return nil, err + } else if parsed, err := 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.TargetUrl != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url", runtime.ParamLocationQuery, *params.TargetUrl); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__ic", runtime.ParamLocationQuery, *params.TargetUrlIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__ie", runtime.ParamLocationQuery, *params.TargetUrlIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__iew", runtime.ParamLocationQuery, *params.TargetUrlIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__ire", runtime.ParamLocationQuery, *params.TargetUrlIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__isw", runtime.ParamLocationQuery, *params.TargetUrlIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__n", runtime.ParamLocationQuery, *params.TargetUrlN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__nic", runtime.ParamLocationQuery, *params.TargetUrlNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__nie", runtime.ParamLocationQuery, *params.TargetUrlNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__niew", runtime.ParamLocationQuery, *params.TargetUrlNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__nire", runtime.ParamLocationQuery, *params.TargetUrlNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__nisw", runtime.ParamLocationQuery, *params.TargetUrlNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__nre", runtime.ParamLocationQuery, *params.TargetUrlNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TargetUrlRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_url__re", runtime.ParamLocationQuery, *params.TargetUrlRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Text != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text", runtime.ParamLocationQuery, *params.Text); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__ic", runtime.ParamLocationQuery, *params.TextIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__ie", runtime.ParamLocationQuery, *params.TextIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__iew", runtime.ParamLocationQuery, *params.TextIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__ire", runtime.ParamLocationQuery, *params.TextIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__isw", runtime.ParamLocationQuery, *params.TextIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__n", runtime.ParamLocationQuery, *params.TextN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__nic", runtime.ParamLocationQuery, *params.TextNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__nie", runtime.ParamLocationQuery, *params.TextNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__niew", runtime.ParamLocationQuery, *params.TextNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__nire", runtime.ParamLocationQuery, *params.TextNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__nisw", runtime.ParamLocationQuery, *params.TextNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__nre", runtime.ParamLocationQuery, *params.TextNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TextRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "text__re", runtime.ParamLocationQuery, *params.TextRe); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasCustomLinksBulkPartialUpdateRequest calls the generic ExtrasCustomLinksBulkPartialUpdate builder with application/json body +func NewExtrasCustomLinksBulkPartialUpdateRequest(server string, body ExtrasCustomLinksBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomLinksBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomLinksBulkPartialUpdateRequestWithBody generates requests for ExtrasCustomLinksBulkPartialUpdate with any type of body +func NewExtrasCustomLinksBulkPartialUpdateRequestWithBody(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/custom-links/") + 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 +} + +// NewExtrasCustomLinksCreateRequest calls the generic ExtrasCustomLinksCreate builder with application/json body +func NewExtrasCustomLinksCreateRequest(server string, body ExtrasCustomLinksCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomLinksCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomLinksCreateRequestWithBody generates requests for ExtrasCustomLinksCreate with any type of body +func NewExtrasCustomLinksCreateRequestWithBody(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/custom-links/") + 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 +} + +// NewExtrasCustomLinksBulkUpdateRequest calls the generic ExtrasCustomLinksBulkUpdate builder with application/json body +func NewExtrasCustomLinksBulkUpdateRequest(server string, body ExtrasCustomLinksBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomLinksBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomLinksBulkUpdateRequestWithBody generates requests for ExtrasCustomLinksBulkUpdate with any type of body +func NewExtrasCustomLinksBulkUpdateRequestWithBody(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/custom-links/") + 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 +} + +// NewExtrasCustomLinksDestroyRequest generates requests for ExtrasCustomLinksDestroy +func NewExtrasCustomLinksDestroyRequest(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/custom-links/%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 +} + +// NewExtrasCustomLinksRetrieveRequest generates requests for ExtrasCustomLinksRetrieve +func NewExtrasCustomLinksRetrieveRequest(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/custom-links/%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 +} + +// NewExtrasCustomLinksPartialUpdateRequest calls the generic ExtrasCustomLinksPartialUpdate builder with application/json body +func NewExtrasCustomLinksPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasCustomLinksPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomLinksPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomLinksPartialUpdateRequestWithBody generates requests for ExtrasCustomLinksPartialUpdate with any type of body +func NewExtrasCustomLinksPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasCustomLinksUpdateRequest calls the generic ExtrasCustomLinksUpdate builder with application/json body +func NewExtrasCustomLinksUpdateRequest(server string, id openapi_types.UUID, body ExtrasCustomLinksUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomLinksUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomLinksUpdateRequestWithBody generates requests for ExtrasCustomLinksUpdate with any type of body +func NewExtrasCustomLinksUpdateRequestWithBody(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/", 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 generates requests for ExtrasDynamicGroupsBulkDestroy +func NewExtrasDynamicGroupsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-groups/") + 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 +} + +// NewExtrasDynamicGroupsListRequest generates requests for ExtrasDynamicGroupsList +func NewExtrasDynamicGroupsListRequest(server string, params *ExtrasDynamicGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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 +} + +// NewExtrasDynamicGroupsBulkPartialUpdateRequest calls the generic ExtrasDynamicGroupsBulkPartialUpdate builder with application/json body +func NewExtrasDynamicGroupsBulkPartialUpdateRequest(server string, body ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupsBulkPartialUpdateRequestWithBody generates requests for ExtrasDynamicGroupsBulkPartialUpdate with any type of body +func NewExtrasDynamicGroupsBulkPartialUpdateRequestWithBody(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-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 +} + +// NewExtrasDynamicGroupsCreateRequest calls the generic ExtrasDynamicGroupsCreate builder with application/json body +func NewExtrasDynamicGroupsCreateRequest(server string, body ExtrasDynamicGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupsCreateRequestWithBody generates requests for ExtrasDynamicGroupsCreate with any type of body +func NewExtrasDynamicGroupsCreateRequestWithBody(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-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 +} + +// NewExtrasDynamicGroupsBulkUpdateRequest calls the generic ExtrasDynamicGroupsBulkUpdate builder with application/json body +func NewExtrasDynamicGroupsBulkUpdateRequest(server string, body ExtrasDynamicGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupsBulkUpdateRequestWithBody generates requests for ExtrasDynamicGroupsBulkUpdate with any type of body +func NewExtrasDynamicGroupsBulkUpdateRequestWithBody(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-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 +} + +// NewExtrasDynamicGroupsDestroyRequest generates requests for ExtrasDynamicGroupsDestroy +func NewExtrasDynamicGroupsDestroyRequest(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-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 +} + +// NewExtrasDynamicGroupsRetrieveRequest generates requests for ExtrasDynamicGroupsRetrieve +func NewExtrasDynamicGroupsRetrieveRequest(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-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 +} + +// NewExtrasDynamicGroupsPartialUpdateRequest calls the generic ExtrasDynamicGroupsPartialUpdate builder with application/json body +func NewExtrasDynamicGroupsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasDynamicGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupsPartialUpdateRequestWithBody generates requests for ExtrasDynamicGroupsPartialUpdate with any type of body +func NewExtrasDynamicGroupsPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasDynamicGroupsUpdateRequest calls the generic ExtrasDynamicGroupsUpdate builder with application/json body +func NewExtrasDynamicGroupsUpdateRequest(server string, id openapi_types.UUID, body ExtrasDynamicGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupsUpdateRequestWithBody generates requests for ExtrasDynamicGroupsUpdate with any type of body +func NewExtrasDynamicGroupsUpdateRequestWithBody(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/", 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 +} + +// NewExtrasDynamicGroupsMembersRetrieveRequest generates requests for ExtrasDynamicGroupsMembersRetrieve +func NewExtrasDynamicGroupsMembersRetrieveRequest(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-groups/%s/members/", 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 +} + +// NewExtrasExportTemplatesBulkDestroyRequest generates requests for ExtrasExportTemplatesBulkDestroy +func NewExtrasExportTemplatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/export-templates/") + 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 +} + +// NewExtrasExportTemplatesListRequest generates requests for ExtrasExportTemplatesList +func NewExtrasExportTemplatesListRequest(server string, params *ExtrasExportTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/export-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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.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.OwnerContentType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_content_type", runtime.ParamLocationQuery, *params.OwnerContentType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerContentTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_content_type__n", runtime.ParamLocationQuery, *params.OwnerContentTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id", runtime.ParamLocationQuery, *params.OwnerObjectId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__ic", runtime.ParamLocationQuery, *params.OwnerObjectIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__ie", runtime.ParamLocationQuery, *params.OwnerObjectIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__iew", runtime.ParamLocationQuery, *params.OwnerObjectIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__ire", runtime.ParamLocationQuery, *params.OwnerObjectIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__isw", runtime.ParamLocationQuery, *params.OwnerObjectIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__n", runtime.ParamLocationQuery, *params.OwnerObjectIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nic", runtime.ParamLocationQuery, *params.OwnerObjectIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nie", runtime.ParamLocationQuery, *params.OwnerObjectIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__niew", runtime.ParamLocationQuery, *params.OwnerObjectIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nire", runtime.ParamLocationQuery, *params.OwnerObjectIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nisw", runtime.ParamLocationQuery, *params.OwnerObjectIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__nre", runtime.ParamLocationQuery, *params.OwnerObjectIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OwnerObjectIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "owner_object_id__re", runtime.ParamLocationQuery, *params.OwnerObjectIdRe); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasExportTemplatesBulkPartialUpdateRequest calls the generic ExtrasExportTemplatesBulkPartialUpdate builder with application/json body +func NewExtrasExportTemplatesBulkPartialUpdateRequest(server string, body ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasExportTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasExportTemplatesBulkPartialUpdateRequestWithBody generates requests for ExtrasExportTemplatesBulkPartialUpdate with any type of body +func NewExtrasExportTemplatesBulkPartialUpdateRequestWithBody(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/export-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 +} + +// NewExtrasExportTemplatesCreateRequest calls the generic ExtrasExportTemplatesCreate builder with application/json body +func NewExtrasExportTemplatesCreateRequest(server string, body ExtrasExportTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasExportTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasExportTemplatesCreateRequestWithBody generates requests for ExtrasExportTemplatesCreate with any type of body +func NewExtrasExportTemplatesCreateRequestWithBody(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/export-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 +} + +// NewExtrasExportTemplatesBulkUpdateRequest calls the generic ExtrasExportTemplatesBulkUpdate builder with application/json body +func NewExtrasExportTemplatesBulkUpdateRequest(server string, body ExtrasExportTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasExportTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasExportTemplatesBulkUpdateRequestWithBody generates requests for ExtrasExportTemplatesBulkUpdate with any type of body +func NewExtrasExportTemplatesBulkUpdateRequestWithBody(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/export-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 +} + +// NewExtrasExportTemplatesDestroyRequest generates requests for ExtrasExportTemplatesDestroy +func NewExtrasExportTemplatesDestroyRequest(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/export-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 +} + +// NewExtrasExportTemplatesRetrieveRequest generates requests for ExtrasExportTemplatesRetrieve +func NewExtrasExportTemplatesRetrieveRequest(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/export-templates/%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 +} + +// NewExtrasExportTemplatesPartialUpdateRequest calls the generic ExtrasExportTemplatesPartialUpdate builder with application/json body +func NewExtrasExportTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasExportTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasExportTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasExportTemplatesPartialUpdateRequestWithBody generates requests for ExtrasExportTemplatesPartialUpdate with any type of body +func NewExtrasExportTemplatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasExportTemplatesUpdateRequest calls the generic ExtrasExportTemplatesUpdate builder with application/json body +func NewExtrasExportTemplatesUpdateRequest(server string, id openapi_types.UUID, body ExtrasExportTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasExportTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasExportTemplatesUpdateRequestWithBody generates requests for ExtrasExportTemplatesUpdate with any type of body +func NewExtrasExportTemplatesUpdateRequestWithBody(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/", 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 +} + +// NewExtrasGitRepositoriesBulkDestroyRequest generates requests for ExtrasGitRepositoriesBulkDestroy +func NewExtrasGitRepositoriesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/git-repositories/") + 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 +} + +// NewExtrasGitRepositoriesListRequest generates requests for ExtrasGitRepositoriesList +func NewExtrasGitRepositoriesListRequest(server string, params *ExtrasGitRepositoriesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/git-repositories/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Branch != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch", runtime.ParamLocationQuery, *params.Branch); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__ic", runtime.ParamLocationQuery, *params.BranchIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__ie", runtime.ParamLocationQuery, *params.BranchIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__iew", runtime.ParamLocationQuery, *params.BranchIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__ire", runtime.ParamLocationQuery, *params.BranchIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__isw", runtime.ParamLocationQuery, *params.BranchIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__n", runtime.ParamLocationQuery, *params.BranchN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__nic", runtime.ParamLocationQuery, *params.BranchNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__nie", runtime.ParamLocationQuery, *params.BranchNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__niew", runtime.ParamLocationQuery, *params.BranchNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__nire", runtime.ParamLocationQuery, *params.BranchNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__nisw", runtime.ParamLocationQuery, *params.BranchNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__nre", runtime.ParamLocationQuery, *params.BranchNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BranchRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "branch__re", runtime.ParamLocationQuery, *params.BranchRe); err != nil { + return nil, err + } else if parsed, err := 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.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.RemoteUrl != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url", runtime.ParamLocationQuery, *params.RemoteUrl); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__ic", runtime.ParamLocationQuery, *params.RemoteUrlIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__ie", runtime.ParamLocationQuery, *params.RemoteUrlIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__iew", runtime.ParamLocationQuery, *params.RemoteUrlIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__ire", runtime.ParamLocationQuery, *params.RemoteUrlIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__isw", runtime.ParamLocationQuery, *params.RemoteUrlIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__n", runtime.ParamLocationQuery, *params.RemoteUrlN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__nic", runtime.ParamLocationQuery, *params.RemoteUrlNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__nie", runtime.ParamLocationQuery, *params.RemoteUrlNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__niew", runtime.ParamLocationQuery, *params.RemoteUrlNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__nire", runtime.ParamLocationQuery, *params.RemoteUrlNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__nisw", runtime.ParamLocationQuery, *params.RemoteUrlNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__nre", runtime.ParamLocationQuery, *params.RemoteUrlNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RemoteUrlRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remote_url__re", runtime.ParamLocationQuery, *params.RemoteUrlRe); err != nil { + return nil, err + } else if parsed, err := 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.SecretsGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secrets_group_id", runtime.ParamLocationQuery, *params.SecretsGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretsGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secrets_group_id__n", runtime.ParamLocationQuery, *params.SecretsGroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.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 +} + +// NewExtrasGitRepositoriesBulkPartialUpdateRequest calls the generic ExtrasGitRepositoriesBulkPartialUpdate builder with application/json body +func NewExtrasGitRepositoriesBulkPartialUpdateRequest(server string, body ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGitRepositoriesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasGitRepositoriesBulkPartialUpdateRequestWithBody generates requests for ExtrasGitRepositoriesBulkPartialUpdate with any type of body +func NewExtrasGitRepositoriesBulkPartialUpdateRequestWithBody(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/git-repositories/") + 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 +} + +// NewExtrasGitRepositoriesCreateRequest calls the generic ExtrasGitRepositoriesCreate builder with application/json body +func NewExtrasGitRepositoriesCreateRequest(server string, body ExtrasGitRepositoriesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGitRepositoriesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasGitRepositoriesCreateRequestWithBody generates requests for ExtrasGitRepositoriesCreate with any type of body +func NewExtrasGitRepositoriesCreateRequestWithBody(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/git-repositories/") + 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 +} + +// NewExtrasGitRepositoriesBulkUpdateRequest calls the generic ExtrasGitRepositoriesBulkUpdate builder with application/json body +func NewExtrasGitRepositoriesBulkUpdateRequest(server string, body ExtrasGitRepositoriesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGitRepositoriesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasGitRepositoriesBulkUpdateRequestWithBody generates requests for ExtrasGitRepositoriesBulkUpdate with any type of body +func NewExtrasGitRepositoriesBulkUpdateRequestWithBody(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/git-repositories/") + 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 +} + +// NewExtrasGitRepositoriesDestroyRequest generates requests for ExtrasGitRepositoriesDestroy +func NewExtrasGitRepositoriesDestroyRequest(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/git-repositories/%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 +} + +// NewExtrasGitRepositoriesRetrieveRequest generates requests for ExtrasGitRepositoriesRetrieve +func NewExtrasGitRepositoriesRetrieveRequest(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/git-repositories/%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 +} + +// NewExtrasGitRepositoriesPartialUpdateRequest calls the generic ExtrasGitRepositoriesPartialUpdate builder with application/json body +func NewExtrasGitRepositoriesPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasGitRepositoriesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGitRepositoriesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasGitRepositoriesPartialUpdateRequestWithBody generates requests for ExtrasGitRepositoriesPartialUpdate with any type of body +func NewExtrasGitRepositoriesPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasGitRepositoriesUpdateRequest calls the generic ExtrasGitRepositoriesUpdate builder with application/json body +func NewExtrasGitRepositoriesUpdateRequest(server string, id openapi_types.UUID, body ExtrasGitRepositoriesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGitRepositoriesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasGitRepositoriesUpdateRequestWithBody generates requests for ExtrasGitRepositoriesUpdate with any type of body +func NewExtrasGitRepositoriesUpdateRequestWithBody(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/", 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 +} + +// 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 + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGitRepositoriesSyncCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasGitRepositoriesSyncCreateRequestWithBody generates requests for ExtrasGitRepositoriesSyncCreate with any type of body +func NewExtrasGitRepositoriesSyncCreateRequestWithBody(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/sync/", 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 +} + +// NewExtrasGraphqlQueriesBulkDestroyRequest generates requests for ExtrasGraphqlQueriesBulkDestroy +func NewExtrasGraphqlQueriesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/graphql-queries/") + 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 +} + +// NewExtrasGraphqlQueriesListRequest generates requests for ExtrasGraphqlQueriesList +func NewExtrasGraphqlQueriesListRequest(server string, params *ExtrasGraphqlQueriesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/graphql-queries/") + 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.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 +} + +// NewExtrasGraphqlQueriesBulkPartialUpdateRequest calls the generic ExtrasGraphqlQueriesBulkPartialUpdate builder with application/json body +func NewExtrasGraphqlQueriesBulkPartialUpdateRequest(server string, body ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGraphqlQueriesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasGraphqlQueriesBulkPartialUpdateRequestWithBody generates requests for ExtrasGraphqlQueriesBulkPartialUpdate with any type of body +func NewExtrasGraphqlQueriesBulkPartialUpdateRequestWithBody(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/graphql-queries/") + 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 +} + +// NewExtrasGraphqlQueriesCreateRequest calls the generic ExtrasGraphqlQueriesCreate builder with application/json body +func NewExtrasGraphqlQueriesCreateRequest(server string, body ExtrasGraphqlQueriesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGraphqlQueriesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasGraphqlQueriesCreateRequestWithBody generates requests for ExtrasGraphqlQueriesCreate with any type of body +func NewExtrasGraphqlQueriesCreateRequestWithBody(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/graphql-queries/") + 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 +} + +// NewExtrasGraphqlQueriesBulkUpdateRequest calls the generic ExtrasGraphqlQueriesBulkUpdate builder with application/json body +func NewExtrasGraphqlQueriesBulkUpdateRequest(server string, body ExtrasGraphqlQueriesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGraphqlQueriesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasGraphqlQueriesBulkUpdateRequestWithBody generates requests for ExtrasGraphqlQueriesBulkUpdate with any type of body +func NewExtrasGraphqlQueriesBulkUpdateRequestWithBody(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/graphql-queries/") + 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 +} + +// NewExtrasGraphqlQueriesDestroyRequest generates requests for ExtrasGraphqlQueriesDestroy +func NewExtrasGraphqlQueriesDestroyRequest(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/graphql-queries/%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 +} + +// NewExtrasGraphqlQueriesRetrieveRequest generates requests for ExtrasGraphqlQueriesRetrieve +func NewExtrasGraphqlQueriesRetrieveRequest(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/graphql-queries/%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 +} + +// NewExtrasGraphqlQueriesPartialUpdateRequest calls the generic ExtrasGraphqlQueriesPartialUpdate builder with application/json body +func NewExtrasGraphqlQueriesPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasGraphqlQueriesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGraphqlQueriesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasGraphqlQueriesPartialUpdateRequestWithBody generates requests for ExtrasGraphqlQueriesPartialUpdate with any type of body +func NewExtrasGraphqlQueriesPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasGraphqlQueriesUpdateRequest calls the generic ExtrasGraphqlQueriesUpdate builder with application/json body +func NewExtrasGraphqlQueriesUpdateRequest(server string, id openapi_types.UUID, body ExtrasGraphqlQueriesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGraphqlQueriesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasGraphqlQueriesUpdateRequestWithBody generates requests for ExtrasGraphqlQueriesUpdate with any type of body +func NewExtrasGraphqlQueriesUpdateRequestWithBody(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/", 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 +} + +// 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 + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGraphqlQueriesRunCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasGraphqlQueriesRunCreateRequestWithBody generates requests for ExtrasGraphqlQueriesRunCreate with any type of body +func NewExtrasGraphqlQueriesRunCreateRequestWithBody(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/run/", 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 +} + +// NewExtrasImageAttachmentsBulkDestroyRequest generates requests for ExtrasImageAttachmentsBulkDestroy +func NewExtrasImageAttachmentsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/image-attachments/") + 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 +} + +// NewExtrasImageAttachmentsListRequest generates requests for ExtrasImageAttachmentsList +func NewExtrasImageAttachmentsListRequest(server string, params *ExtrasImageAttachmentsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/image-attachments/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.ContentTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id", runtime.ParamLocationQuery, *params.ContentTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type_id__n", runtime.ParamLocationQuery, *params.ContentTypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.ObjectId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id", runtime.ParamLocationQuery, *params.ObjectId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__ic", runtime.ParamLocationQuery, *params.ObjectIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__ie", runtime.ParamLocationQuery, *params.ObjectIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__iew", runtime.ParamLocationQuery, *params.ObjectIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__ire", runtime.ParamLocationQuery, *params.ObjectIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__isw", runtime.ParamLocationQuery, *params.ObjectIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__n", runtime.ParamLocationQuery, *params.ObjectIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__nic", runtime.ParamLocationQuery, *params.ObjectIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__nie", runtime.ParamLocationQuery, *params.ObjectIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__niew", runtime.ParamLocationQuery, *params.ObjectIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__nire", runtime.ParamLocationQuery, *params.ObjectIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__nisw", runtime.ParamLocationQuery, *params.ObjectIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__nre", runtime.ParamLocationQuery, *params.ObjectIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_id__re", runtime.ParamLocationQuery, *params.ObjectIdRe); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasImageAttachmentsBulkPartialUpdateRequest calls the generic ExtrasImageAttachmentsBulkPartialUpdate builder with application/json body +func NewExtrasImageAttachmentsBulkPartialUpdateRequest(server string, body ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasImageAttachmentsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasImageAttachmentsBulkPartialUpdateRequestWithBody generates requests for ExtrasImageAttachmentsBulkPartialUpdate with any type of body +func NewExtrasImageAttachmentsBulkPartialUpdateRequestWithBody(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/image-attachments/") + 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 +} + +// NewExtrasImageAttachmentsCreateRequest calls the generic ExtrasImageAttachmentsCreate builder with application/json body +func NewExtrasImageAttachmentsCreateRequest(server string, body ExtrasImageAttachmentsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasImageAttachmentsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasImageAttachmentsCreateRequestWithBody generates requests for ExtrasImageAttachmentsCreate with any type of body +func NewExtrasImageAttachmentsCreateRequestWithBody(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/image-attachments/") + 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 +} + +// NewExtrasImageAttachmentsBulkUpdateRequest calls the generic ExtrasImageAttachmentsBulkUpdate builder with application/json body +func NewExtrasImageAttachmentsBulkUpdateRequest(server string, body ExtrasImageAttachmentsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasImageAttachmentsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasImageAttachmentsBulkUpdateRequestWithBody generates requests for ExtrasImageAttachmentsBulkUpdate with any type of body +func NewExtrasImageAttachmentsBulkUpdateRequestWithBody(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/image-attachments/") + 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 +} + +// NewExtrasImageAttachmentsDestroyRequest generates requests for ExtrasImageAttachmentsDestroy +func NewExtrasImageAttachmentsDestroyRequest(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/image-attachments/%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 +} + +// NewExtrasImageAttachmentsRetrieveRequest generates requests for ExtrasImageAttachmentsRetrieve +func NewExtrasImageAttachmentsRetrieveRequest(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/image-attachments/%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 +} + +// NewExtrasImageAttachmentsPartialUpdateRequest calls the generic ExtrasImageAttachmentsPartialUpdate builder with application/json body +func NewExtrasImageAttachmentsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasImageAttachmentsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasImageAttachmentsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasImageAttachmentsPartialUpdateRequestWithBody generates requests for ExtrasImageAttachmentsPartialUpdate with any type of body +func NewExtrasImageAttachmentsPartialUpdateRequestWithBody(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/image-attachments/%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 +} + +// NewExtrasImageAttachmentsUpdateRequest calls the generic ExtrasImageAttachmentsUpdate builder with application/json body +func NewExtrasImageAttachmentsUpdateRequest(server string, id openapi_types.UUID, body ExtrasImageAttachmentsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasImageAttachmentsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasImageAttachmentsUpdateRequestWithBody generates requests for ExtrasImageAttachmentsUpdate with any type of body +func NewExtrasImageAttachmentsUpdateRequestWithBody(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/image-attachments/%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 +} + +// NewExtrasJobLogsListRequest generates requests for ExtrasJobLogsList +func NewExtrasJobLogsListRequest(server string, params *ExtrasJobLogsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-logs/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AbsoluteUrl != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url", runtime.ParamLocationQuery, *params.AbsoluteUrl); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__ic", runtime.ParamLocationQuery, *params.AbsoluteUrlIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__ie", runtime.ParamLocationQuery, *params.AbsoluteUrlIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__iew", runtime.ParamLocationQuery, *params.AbsoluteUrlIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__ire", runtime.ParamLocationQuery, *params.AbsoluteUrlIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__isw", runtime.ParamLocationQuery, *params.AbsoluteUrlIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__n", runtime.ParamLocationQuery, *params.AbsoluteUrlN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__nic", runtime.ParamLocationQuery, *params.AbsoluteUrlNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__nie", runtime.ParamLocationQuery, *params.AbsoluteUrlNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__niew", runtime.ParamLocationQuery, *params.AbsoluteUrlNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__nire", runtime.ParamLocationQuery, *params.AbsoluteUrlNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__nisw", runtime.ParamLocationQuery, *params.AbsoluteUrlNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__nre", runtime.ParamLocationQuery, *params.AbsoluteUrlNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AbsoluteUrlRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "absolute_url__re", runtime.ParamLocationQuery, *params.AbsoluteUrlRe); err != nil { + return nil, err + } else if parsed, err := 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.CreatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gt", runtime.ParamLocationQuery, *params.CreatedGt); err != nil { + return nil, err + } else if parsed, err := 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.CreatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lt", runtime.ParamLocationQuery, *params.CreatedLt); err != nil { + return nil, err + } else if parsed, err := 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.CreatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__n", runtime.ParamLocationQuery, *params.CreatedN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Grouping != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping", runtime.ParamLocationQuery, *params.Grouping); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__ic", runtime.ParamLocationQuery, *params.GroupingIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__ie", runtime.ParamLocationQuery, *params.GroupingIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__iew", runtime.ParamLocationQuery, *params.GroupingIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__ire", runtime.ParamLocationQuery, *params.GroupingIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__isw", runtime.ParamLocationQuery, *params.GroupingIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__n", runtime.ParamLocationQuery, *params.GroupingN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nic", runtime.ParamLocationQuery, *params.GroupingNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nie", runtime.ParamLocationQuery, *params.GroupingNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__niew", runtime.ParamLocationQuery, *params.GroupingNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nire", runtime.ParamLocationQuery, *params.GroupingNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nisw", runtime.ParamLocationQuery, *params.GroupingNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nre", runtime.ParamLocationQuery, *params.GroupingNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__re", runtime.ParamLocationQuery, *params.GroupingRe); err != nil { + return nil, err + } else if parsed, err := 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.JobResult != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_result", runtime.ParamLocationQuery, *params.JobResult); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobResultN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_result__n", runtime.ParamLocationQuery, *params.JobResultN); err != nil { + return nil, err + } else if parsed, err := 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.LogLevel != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_level", runtime.ParamLocationQuery, *params.LogLevel); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogLevelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_level__n", runtime.ParamLocationQuery, *params.LogLevelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObject != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object", runtime.ParamLocationQuery, *params.LogObject); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__ic", runtime.ParamLocationQuery, *params.LogObjectIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__ie", runtime.ParamLocationQuery, *params.LogObjectIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__iew", runtime.ParamLocationQuery, *params.LogObjectIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__ire", runtime.ParamLocationQuery, *params.LogObjectIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__isw", runtime.ParamLocationQuery, *params.LogObjectIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__n", runtime.ParamLocationQuery, *params.LogObjectN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__nic", runtime.ParamLocationQuery, *params.LogObjectNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__nie", runtime.ParamLocationQuery, *params.LogObjectNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__niew", runtime.ParamLocationQuery, *params.LogObjectNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__nire", runtime.ParamLocationQuery, *params.LogObjectNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__nisw", runtime.ParamLocationQuery, *params.LogObjectNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__nre", runtime.ParamLocationQuery, *params.LogObjectNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LogObjectRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log_object__re", runtime.ParamLocationQuery, *params.LogObjectRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Message != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message", runtime.ParamLocationQuery, *params.Message); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__ic", runtime.ParamLocationQuery, *params.MessageIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__ie", runtime.ParamLocationQuery, *params.MessageIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__iew", runtime.ParamLocationQuery, *params.MessageIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__ire", runtime.ParamLocationQuery, *params.MessageIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__isw", runtime.ParamLocationQuery, *params.MessageIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__n", runtime.ParamLocationQuery, *params.MessageN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__nic", runtime.ParamLocationQuery, *params.MessageNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__nie", runtime.ParamLocationQuery, *params.MessageNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__niew", runtime.ParamLocationQuery, *params.MessageNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__nire", runtime.ParamLocationQuery, *params.MessageNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__nisw", runtime.ParamLocationQuery, *params.MessageNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__nre", runtime.ParamLocationQuery, *params.MessageNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MessageRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "message__re", runtime.ParamLocationQuery, *params.MessageRe); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasJobLogsRetrieveRequest generates requests for ExtrasJobLogsRetrieve +func NewExtrasJobLogsRetrieveRequest(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-logs/%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 +} + +// NewExtrasJobResultsBulkDestroyRequest generates requests for ExtrasJobResultsBulkDestroy +func NewExtrasJobResultsBulkDestroyRequest(server string) (*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("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasJobResultsListRequest generates requests for ExtrasJobResultsList +func NewExtrasJobResultsListRequest(server string, params *ExtrasJobResultsListParams) (*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 + } + + queryValues := queryURL.Query() + + if params.Completed != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "completed", runtime.ParamLocationQuery, *params.Completed); err != nil { + return nil, err + } else if parsed, err := 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.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.JobModel != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_model", runtime.ParamLocationQuery, *params.JobModel); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobModelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_model__n", runtime.ParamLocationQuery, *params.JobModelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobModelId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_model_id", runtime.ParamLocationQuery, *params.JobModelId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobModelIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_model_id__n", runtime.ParamLocationQuery, *params.JobModelIdN); err != nil { + return nil, err + } else if parsed, err := 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.ObjType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "obj_type", runtime.ParamLocationQuery, *params.ObjType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "obj_type__n", runtime.ParamLocationQuery, *params.ObjTypeN); err != nil { + return nil, err + } else if parsed, err := 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.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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + 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 + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasJobResultsRetrieveRequest generates requests for ExtrasJobResultsRetrieve +func NewExtrasJobResultsRetrieveRequest(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-results/%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 +} + +// 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 + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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/logs/", 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 +} + +// NewExtrasJobsBulkDestroyRequest generates requests for ExtrasJobsBulkDestroy +func NewExtrasJobsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/jobs/") + 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 +} + +// NewExtrasJobsListRequest generates requests for ExtrasJobsList +func NewExtrasJobsListRequest(server string, params *ExtrasJobsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/jobs/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.ApprovalRequired != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "approval_required", runtime.ParamLocationQuery, *params.ApprovalRequired); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ApprovalRequiredOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "approval_required_override", runtime.ParamLocationQuery, *params.ApprovalRequiredOverride); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommitDefault != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "commit_default", runtime.ParamLocationQuery, *params.CommitDefault); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommitDefaultOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "commit_default_override", runtime.ParamLocationQuery, *params.CommitDefaultOverride); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description_override", runtime.ParamLocationQuery, *params.DescriptionOverride); err != nil { + return nil, err + } else if parsed, err := 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.Grouping != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping", runtime.ParamLocationQuery, *params.Grouping); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__ic", runtime.ParamLocationQuery, *params.GroupingIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__ie", runtime.ParamLocationQuery, *params.GroupingIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__iew", runtime.ParamLocationQuery, *params.GroupingIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__ire", runtime.ParamLocationQuery, *params.GroupingIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__isw", runtime.ParamLocationQuery, *params.GroupingIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__n", runtime.ParamLocationQuery, *params.GroupingN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nic", runtime.ParamLocationQuery, *params.GroupingNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nie", runtime.ParamLocationQuery, *params.GroupingNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__niew", runtime.ParamLocationQuery, *params.GroupingNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nire", runtime.ParamLocationQuery, *params.GroupingNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nisw", runtime.ParamLocationQuery, *params.GroupingNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__nre", runtime.ParamLocationQuery, *params.GroupingNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping__re", runtime.ParamLocationQuery, *params.GroupingRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupingOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grouping_override", runtime.ParamLocationQuery, *params.GroupingOverride); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HiddenOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hidden_override", runtime.ParamLocationQuery, *params.HiddenOverride); err != nil { + return nil, err + } else if parsed, err := 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.Installed != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "installed", runtime.ParamLocationQuery, *params.Installed); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__ic", runtime.ParamLocationQuery, *params.JobClassNameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__ie", runtime.ParamLocationQuery, *params.JobClassNameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__iew", runtime.ParamLocationQuery, *params.JobClassNameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__ire", runtime.ParamLocationQuery, *params.JobClassNameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__isw", runtime.ParamLocationQuery, *params.JobClassNameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__n", runtime.ParamLocationQuery, *params.JobClassNameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__nic", runtime.ParamLocationQuery, *params.JobClassNameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__nie", runtime.ParamLocationQuery, *params.JobClassNameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__niew", runtime.ParamLocationQuery, *params.JobClassNameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__nire", runtime.ParamLocationQuery, *params.JobClassNameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__nisw", runtime.ParamLocationQuery, *params.JobClassNameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__nre", runtime.ParamLocationQuery, *params.JobClassNameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobClassNameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name__re", runtime.ParamLocationQuery, *params.JobClassNameRe); err != nil { + return nil, err + } else if parsed, err := 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.ModuleName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name", runtime.ParamLocationQuery, *params.ModuleName); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__ic", runtime.ParamLocationQuery, *params.ModuleNameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__ie", runtime.ParamLocationQuery, *params.ModuleNameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__iew", runtime.ParamLocationQuery, *params.ModuleNameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__ire", runtime.ParamLocationQuery, *params.ModuleNameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__isw", runtime.ParamLocationQuery, *params.ModuleNameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__n", runtime.ParamLocationQuery, *params.ModuleNameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__nic", runtime.ParamLocationQuery, *params.ModuleNameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__nie", runtime.ParamLocationQuery, *params.ModuleNameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__niew", runtime.ParamLocationQuery, *params.ModuleNameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__nire", runtime.ParamLocationQuery, *params.ModuleNameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__nisw", runtime.ParamLocationQuery, *params.ModuleNameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__nre", runtime.ParamLocationQuery, *params.ModuleNameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModuleNameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "module_name__re", runtime.ParamLocationQuery, *params.ModuleNameRe); err != nil { + return nil, err + } else if parsed, err := 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.NameOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name_override", runtime.ParamLocationQuery, *params.NameOverride); err != nil { + return nil, err + } else if parsed, err := 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.ReadOnly != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "read_only", runtime.ParamLocationQuery, *params.ReadOnly); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ReadOnlyOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "read_only_override", runtime.ParamLocationQuery, *params.ReadOnlyOverride); err != nil { + return nil, err + } else if parsed, err := 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.SoftTimeLimit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "soft_time_limit", runtime.ParamLocationQuery, *params.SoftTimeLimit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SoftTimeLimitGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "soft_time_limit__gt", runtime.ParamLocationQuery, *params.SoftTimeLimitGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SoftTimeLimitGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "soft_time_limit__gte", runtime.ParamLocationQuery, *params.SoftTimeLimitGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SoftTimeLimitLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "soft_time_limit__lt", runtime.ParamLocationQuery, *params.SoftTimeLimitLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SoftTimeLimitLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "soft_time_limit__lte", runtime.ParamLocationQuery, *params.SoftTimeLimitLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SoftTimeLimitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "soft_time_limit__n", runtime.ParamLocationQuery, *params.SoftTimeLimitN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SoftTimeLimitOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "soft_time_limit_override", runtime.ParamLocationQuery, *params.SoftTimeLimitOverride); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Source != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source", runtime.ParamLocationQuery, *params.Source); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source__n", runtime.ParamLocationQuery, *params.SourceN); err != nil { + return nil, err + } else if parsed, err := 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.TimeLimit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_limit", runtime.ParamLocationQuery, *params.TimeLimit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeLimitGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_limit__gt", runtime.ParamLocationQuery, *params.TimeLimitGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeLimitGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_limit__gte", runtime.ParamLocationQuery, *params.TimeLimitGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeLimitLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_limit__lt", runtime.ParamLocationQuery, *params.TimeLimitLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeLimitLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_limit__lte", runtime.ParamLocationQuery, *params.TimeLimitLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeLimitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_limit__n", runtime.ParamLocationQuery, *params.TimeLimitN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeLimitOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_limit_override", runtime.ParamLocationQuery, *params.TimeLimitOverride); err != nil { + return nil, err + } else if 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 +} + +// NewExtrasJobsBulkPartialUpdateRequest calls the generic ExtrasJobsBulkPartialUpdate builder with application/json body +func NewExtrasJobsBulkPartialUpdateRequest(server string, body ExtrasJobsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJobsBulkPartialUpdateRequestWithBody generates requests for ExtrasJobsBulkPartialUpdate with any type of body +func NewExtrasJobsBulkPartialUpdateRequestWithBody(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/jobs/") + 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 +} + +// NewExtrasJobsBulkUpdateRequest calls the generic ExtrasJobsBulkUpdate builder with application/json body +func NewExtrasJobsBulkUpdateRequest(server string, body ExtrasJobsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJobsBulkUpdateRequestWithBody generates requests for ExtrasJobsBulkUpdate with any type of body +func NewExtrasJobsBulkUpdateRequestWithBody(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/jobs/") + 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 +} + +// NewExtrasJobsReadDeprecatedRequest generates requests for ExtrasJobsReadDeprecated +func NewExtrasJobsReadDeprecatedRequest(server string, classPath string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "class_path", runtime.ParamLocationPath, classPath) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/jobs/%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 +} + +// NewExtrasJobsRunDeprecatedRequest calls the generic ExtrasJobsRunDeprecated builder with application/json body +func NewExtrasJobsRunDeprecatedRequest(server string, classPath string, body ExtrasJobsRunDeprecatedJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobsRunDeprecatedRequestWithBody(server, classPath, "application/json", bodyReader) +} + +// NewExtrasJobsRunDeprecatedRequestWithBody generates requests for ExtrasJobsRunDeprecated with any type of body +func NewExtrasJobsRunDeprecatedRequestWithBody(server string, classPath string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "class_path", runtime.ParamLocationPath, classPath) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/jobs/%s/run/", 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 +} + +// NewExtrasJobsDestroyRequest generates requests for ExtrasJobsDestroy +func NewExtrasJobsDestroyRequest(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/jobs/%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 +} + +// NewExtrasJobsRetrieveRequest generates requests for ExtrasJobsRetrieve +func NewExtrasJobsRetrieveRequest(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/jobs/%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 +} + +// NewExtrasJobsPartialUpdateRequest calls the generic ExtrasJobsPartialUpdate builder with application/json body +func NewExtrasJobsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasJobsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasJobsPartialUpdateRequestWithBody generates requests for ExtrasJobsPartialUpdate with any type of body +func NewExtrasJobsPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasJobsUpdateRequest calls the generic ExtrasJobsUpdate builder with application/json body +func NewExtrasJobsUpdateRequest(server string, id openapi_types.UUID, body ExtrasJobsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasJobsUpdateRequestWithBody generates requests for ExtrasJobsUpdate with any type of body +func NewExtrasJobsUpdateRequestWithBody(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/", 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 +} + +// 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 + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobsRunCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasJobsRunCreateRequestWithBody generates requests for ExtrasJobsRunCreate with any type of body +func NewExtrasJobsRunCreateRequestWithBody(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/run/", 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 +} + +// NewExtrasJobsVariablesListRequest generates requests for ExtrasJobsVariablesList +func NewExtrasJobsVariablesListRequest(server string, id openapi_types.UUID, params *ExtrasJobsVariablesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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/variables/", 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 +} + +// NewExtrasObjectChangesListRequest generates requests for ExtrasObjectChangesList +func NewExtrasObjectChangesListRequest(server string, params *ExtrasObjectChangesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/object-changes/") + 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.ChangedObjectId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id", runtime.ParamLocationQuery, *params.ChangedObjectId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__ic", runtime.ParamLocationQuery, *params.ChangedObjectIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__ie", runtime.ParamLocationQuery, *params.ChangedObjectIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__iew", runtime.ParamLocationQuery, *params.ChangedObjectIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__ire", runtime.ParamLocationQuery, *params.ChangedObjectIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__isw", runtime.ParamLocationQuery, *params.ChangedObjectIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__n", runtime.ParamLocationQuery, *params.ChangedObjectIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__nic", runtime.ParamLocationQuery, *params.ChangedObjectIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__nie", runtime.ParamLocationQuery, *params.ChangedObjectIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__niew", runtime.ParamLocationQuery, *params.ChangedObjectIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__nire", runtime.ParamLocationQuery, *params.ChangedObjectIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__nisw", runtime.ParamLocationQuery, *params.ChangedObjectIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__nre", runtime.ParamLocationQuery, *params.ChangedObjectIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_id__re", runtime.ParamLocationQuery, *params.ChangedObjectIdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_type", runtime.ParamLocationQuery, *params.ChangedObjectType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_type__n", runtime.ParamLocationQuery, *params.ChangedObjectTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_type_id", runtime.ParamLocationQuery, *params.ChangedObjectTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChangedObjectTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "changed_object_type_id__n", runtime.ParamLocationQuery, *params.ChangedObjectTypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.ObjectRepr != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr", runtime.ParamLocationQuery, *params.ObjectRepr); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__ic", runtime.ParamLocationQuery, *params.ObjectReprIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__ie", runtime.ParamLocationQuery, *params.ObjectReprIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__iew", runtime.ParamLocationQuery, *params.ObjectReprIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__ire", runtime.ParamLocationQuery, *params.ObjectReprIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__isw", runtime.ParamLocationQuery, *params.ObjectReprIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__n", runtime.ParamLocationQuery, *params.ObjectReprN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__nic", runtime.ParamLocationQuery, *params.ObjectReprNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__nie", runtime.ParamLocationQuery, *params.ObjectReprNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__niew", runtime.ParamLocationQuery, *params.ObjectReprNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__nire", runtime.ParamLocationQuery, *params.ObjectReprNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__nisw", runtime.ParamLocationQuery, *params.ObjectReprNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__nre", runtime.ParamLocationQuery, *params.ObjectReprNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectReprRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_repr__re", runtime.ParamLocationQuery, *params.ObjectReprRe); err != nil { + return nil, err + } else if parsed, err := 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.Time != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time", runtime.ParamLocationQuery, *params.Time); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time__gt", runtime.ParamLocationQuery, *params.TimeGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time__gte", runtime.ParamLocationQuery, *params.TimeGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time__lt", runtime.ParamLocationQuery, *params.TimeLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time__lte", runtime.ParamLocationQuery, *params.TimeLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time__n", runtime.ParamLocationQuery, *params.TimeN); err != nil { + return nil, err + } else if parsed, err := 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.UserId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_id", runtime.ParamLocationQuery, *params.UserId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_id__n", runtime.ParamLocationQuery, *params.UserIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasObjectChangesRetrieveRequest generates requests for ExtrasObjectChangesRetrieve +func NewExtrasObjectChangesRetrieveRequest(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/object-changes/%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 +} + +// NewExtrasRelationshipAssociationsBulkDestroyRequest generates requests for ExtrasRelationshipAssociationsBulkDestroy +func NewExtrasRelationshipAssociationsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/relationship-associations/") + 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 +} + +// NewExtrasRelationshipAssociationsListRequest generates requests for ExtrasRelationshipAssociationsList +func NewExtrasRelationshipAssociationsListRequest(server string, params *ExtrasRelationshipAssociationsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/relationship-associations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DestinationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id", runtime.ParamLocationQuery, *params.DestinationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__ic", runtime.ParamLocationQuery, *params.DestinationIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__ie", runtime.ParamLocationQuery, *params.DestinationIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__iew", runtime.ParamLocationQuery, *params.DestinationIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__ire", runtime.ParamLocationQuery, *params.DestinationIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__isw", runtime.ParamLocationQuery, *params.DestinationIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__n", runtime.ParamLocationQuery, *params.DestinationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__nic", runtime.ParamLocationQuery, *params.DestinationIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__nie", runtime.ParamLocationQuery, *params.DestinationIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__niew", runtime.ParamLocationQuery, *params.DestinationIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__nire", runtime.ParamLocationQuery, *params.DestinationIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__nisw", runtime.ParamLocationQuery, *params.DestinationIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__nre", runtime.ParamLocationQuery, *params.DestinationIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_id__re", runtime.ParamLocationQuery, *params.DestinationIdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_type", runtime.ParamLocationQuery, *params.DestinationType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_type__n", runtime.ParamLocationQuery, *params.DestinationTypeN); err != nil { + return nil, err + } else if parsed, err := 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.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.Relationship != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "relationship", runtime.ParamLocationQuery, *params.Relationship); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RelationshipN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "relationship__n", runtime.ParamLocationQuery, *params.RelationshipN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id", runtime.ParamLocationQuery, *params.SourceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__ic", runtime.ParamLocationQuery, *params.SourceIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__ie", runtime.ParamLocationQuery, *params.SourceIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__iew", runtime.ParamLocationQuery, *params.SourceIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__ire", runtime.ParamLocationQuery, *params.SourceIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__isw", runtime.ParamLocationQuery, *params.SourceIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__n", runtime.ParamLocationQuery, *params.SourceIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__nic", runtime.ParamLocationQuery, *params.SourceIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__nie", runtime.ParamLocationQuery, *params.SourceIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__niew", runtime.ParamLocationQuery, *params.SourceIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__nire", runtime.ParamLocationQuery, *params.SourceIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__nisw", runtime.ParamLocationQuery, *params.SourceIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__nre", runtime.ParamLocationQuery, *params.SourceIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_id__re", runtime.ParamLocationQuery, *params.SourceIdRe); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_type__n", runtime.ParamLocationQuery, *params.SourceTypeN); err != nil { + return nil, err + } else if 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 +} + +// NewExtrasRelationshipAssociationsBulkPartialUpdateRequest calls the generic ExtrasRelationshipAssociationsBulkPartialUpdate builder with application/json body +func NewExtrasRelationshipAssociationsBulkPartialUpdateRequest(server string, body ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipAssociationsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasRelationshipAssociationsBulkPartialUpdateRequestWithBody generates requests for ExtrasRelationshipAssociationsBulkPartialUpdate with any type of body +func NewExtrasRelationshipAssociationsBulkPartialUpdateRequestWithBody(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/relationship-associations/") + 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 +} + +// NewExtrasRelationshipAssociationsCreateRequest calls the generic ExtrasRelationshipAssociationsCreate builder with application/json body +func NewExtrasRelationshipAssociationsCreateRequest(server string, body ExtrasRelationshipAssociationsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipAssociationsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasRelationshipAssociationsCreateRequestWithBody generates requests for ExtrasRelationshipAssociationsCreate with any type of body +func NewExtrasRelationshipAssociationsCreateRequestWithBody(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/relationship-associations/") + 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 +} + +// NewExtrasRelationshipAssociationsBulkUpdateRequest calls the generic ExtrasRelationshipAssociationsBulkUpdate builder with application/json body +func NewExtrasRelationshipAssociationsBulkUpdateRequest(server string, body ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipAssociationsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasRelationshipAssociationsBulkUpdateRequestWithBody generates requests for ExtrasRelationshipAssociationsBulkUpdate with any type of body +func NewExtrasRelationshipAssociationsBulkUpdateRequestWithBody(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/relationship-associations/") + 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 +} + +// NewExtrasRelationshipAssociationsDestroyRequest generates requests for ExtrasRelationshipAssociationsDestroy +func NewExtrasRelationshipAssociationsDestroyRequest(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/relationship-associations/%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 +} + +// NewExtrasRelationshipAssociationsRetrieveRequest generates requests for ExtrasRelationshipAssociationsRetrieve +func NewExtrasRelationshipAssociationsRetrieveRequest(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/relationship-associations/%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 +} + +// NewExtrasRelationshipAssociationsPartialUpdateRequest calls the generic ExtrasRelationshipAssociationsPartialUpdate builder with application/json body +func NewExtrasRelationshipAssociationsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipAssociationsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasRelationshipAssociationsPartialUpdateRequestWithBody generates requests for ExtrasRelationshipAssociationsPartialUpdate with any type of body +func NewExtrasRelationshipAssociationsPartialUpdateRequestWithBody(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/relationship-associations/%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 +} + +// NewExtrasRelationshipAssociationsUpdateRequest calls the generic ExtrasRelationshipAssociationsUpdate builder with application/json body +func NewExtrasRelationshipAssociationsUpdateRequest(server string, id openapi_types.UUID, body ExtrasRelationshipAssociationsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipAssociationsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasRelationshipAssociationsUpdateRequestWithBody generates requests for ExtrasRelationshipAssociationsUpdate with any type of body +func NewExtrasRelationshipAssociationsUpdateRequestWithBody(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/relationship-associations/%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 +} + +// NewExtrasRelationshipsBulkDestroyRequest generates requests for ExtrasRelationshipsBulkDestroy +func NewExtrasRelationshipsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/relationships/") + 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 +} + +// NewExtrasRelationshipsListRequest generates requests for ExtrasRelationshipsList +func NewExtrasRelationshipsListRequest(server string, params *ExtrasRelationshipsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/relationships/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DestinationType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_type", runtime.ParamLocationQuery, *params.DestinationType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DestinationTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "destination_type__n", runtime.ParamLocationQuery, *params.DestinationTypeN); err != nil { + return nil, err + } else if parsed, err := 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.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.SourceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_type", runtime.ParamLocationQuery, *params.SourceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SourceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_type__n", runtime.ParamLocationQuery, *params.SourceTypeN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasRelationshipsBulkPartialUpdateRequest calls the generic ExtrasRelationshipsBulkPartialUpdate builder with application/json body +func NewExtrasRelationshipsBulkPartialUpdateRequest(server string, body ExtrasRelationshipsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasRelationshipsBulkPartialUpdateRequestWithBody generates requests for ExtrasRelationshipsBulkPartialUpdate with any type of body +func NewExtrasRelationshipsBulkPartialUpdateRequestWithBody(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/relationships/") + 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 +} + +// NewExtrasRelationshipsCreateRequest calls the generic ExtrasRelationshipsCreate builder with application/json body +func NewExtrasRelationshipsCreateRequest(server string, body ExtrasRelationshipsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasRelationshipsCreateRequestWithBody generates requests for ExtrasRelationshipsCreate with any type of body +func NewExtrasRelationshipsCreateRequestWithBody(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/relationships/") + 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 +} + +// NewExtrasRelationshipsBulkUpdateRequest calls the generic ExtrasRelationshipsBulkUpdate builder with application/json body +func NewExtrasRelationshipsBulkUpdateRequest(server string, body ExtrasRelationshipsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasRelationshipsBulkUpdateRequestWithBody generates requests for ExtrasRelationshipsBulkUpdate with any type of body +func NewExtrasRelationshipsBulkUpdateRequestWithBody(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/relationships/") + 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 +} + +// NewExtrasRelationshipsDestroyRequest generates requests for ExtrasRelationshipsDestroy +func NewExtrasRelationshipsDestroyRequest(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/relationships/%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 +} + +// NewExtrasRelationshipsRetrieveRequest generates requests for ExtrasRelationshipsRetrieve +func NewExtrasRelationshipsRetrieveRequest(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/relationships/%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 +} + +// NewExtrasRelationshipsPartialUpdateRequest calls the generic ExtrasRelationshipsPartialUpdate builder with application/json body +func NewExtrasRelationshipsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasRelationshipsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasRelationshipsPartialUpdateRequestWithBody generates requests for ExtrasRelationshipsPartialUpdate with any type of body +func NewExtrasRelationshipsPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasRelationshipsUpdateRequest calls the generic ExtrasRelationshipsUpdate builder with application/json body +func NewExtrasRelationshipsUpdateRequest(server string, id openapi_types.UUID, body ExtrasRelationshipsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasRelationshipsUpdateRequestWithBody generates requests for ExtrasRelationshipsUpdate with any type of body +func NewExtrasRelationshipsUpdateRequestWithBody(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/", 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 +} + +// NewExtrasScheduledJobsListRequest generates requests for ExtrasScheduledJobsList +func NewExtrasScheduledJobsListRequest(server string, params *ExtrasScheduledJobsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/scheduled-jobs/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.FirstRun != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_run", runtime.ParamLocationQuery, *params.FirstRun); err != nil { + return nil, err + } else if parsed, err := 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.JobModel != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_model", runtime.ParamLocationQuery, *params.JobModel); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobModelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_model__n", runtime.ParamLocationQuery, *params.JobModelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobModelId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_model_id", runtime.ParamLocationQuery, *params.JobModelId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobModelIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_model_id__n", runtime.ParamLocationQuery, *params.JobModelIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastRun != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_run", runtime.ParamLocationQuery, *params.LastRun); err != nil { + return nil, err + } else if parsed, err := 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.TotalRunCount != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "total_run_count", runtime.ParamLocationQuery, *params.TotalRunCount); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TotalRunCountGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "total_run_count__gt", runtime.ParamLocationQuery, *params.TotalRunCountGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TotalRunCountGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "total_run_count__gte", runtime.ParamLocationQuery, *params.TotalRunCountGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TotalRunCountLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "total_run_count__lt", runtime.ParamLocationQuery, *params.TotalRunCountLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TotalRunCountLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "total_run_count__lte", runtime.ParamLocationQuery, *params.TotalRunCountLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TotalRunCountN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "total_run_count__n", runtime.ParamLocationQuery, *params.TotalRunCountN); err != nil { + return nil, err + } else if 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 +} + +// NewExtrasScheduledJobsRetrieveRequest generates requests for ExtrasScheduledJobsRetrieve +func NewExtrasScheduledJobsRetrieveRequest(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/scheduled-jobs/%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 +} + +// NewExtrasScheduledJobsApproveCreateRequest generates requests for ExtrasScheduledJobsApproveCreate +func NewExtrasScheduledJobsApproveCreateRequest(server string, id openapi_types.UUID, params *ExtrasScheduledJobsApproveCreateParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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/scheduled-jobs/%s/approve/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Force != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { + return nil, err + } else if 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("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasScheduledJobsDenyCreateRequest generates requests for ExtrasScheduledJobsDenyCreate +func NewExtrasScheduledJobsDenyCreateRequest(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/scheduled-jobs/%s/deny/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasScheduledJobsDryRunCreateRequest generates requests for ExtrasScheduledJobsDryRunCreate +func NewExtrasScheduledJobsDryRunCreateRequest(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/scheduled-jobs/%s/dry-run/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasSecretsGroupsAssociationsBulkDestroyRequest generates requests for ExtrasSecretsGroupsAssociationsBulkDestroy +func NewExtrasSecretsGroupsAssociationsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets-groups-associations/") + 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 +} + +// NewExtrasSecretsGroupsAssociationsListRequest generates requests for ExtrasSecretsGroupsAssociationsList +func NewExtrasSecretsGroupsAssociationsListRequest(server string, params *ExtrasSecretsGroupsAssociationsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets-groups-associations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AccessType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "access_type", runtime.ParamLocationQuery, *params.AccessType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AccessTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "access_type__n", runtime.ParamLocationQuery, *params.AccessTypeN); err != nil { + return nil, err + } else if parsed, err := 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.GroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id", runtime.ParamLocationQuery, *params.GroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__n", runtime.ParamLocationQuery, *params.GroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.Secret != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret", runtime.ParamLocationQuery, *params.Secret); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret__n", runtime.ParamLocationQuery, *params.SecretN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret_id", runtime.ParamLocationQuery, *params.SecretId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret_id__n", runtime.ParamLocationQuery, *params.SecretIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret_type", runtime.ParamLocationQuery, *params.SecretType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secret_type__n", runtime.ParamLocationQuery, *params.SecretTypeN); err != nil { + return nil, err + } else if 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 +} + +// NewExtrasSecretsGroupsAssociationsBulkPartialUpdateRequest calls the generic ExtrasSecretsGroupsAssociationsBulkPartialUpdate builder with application/json body +func NewExtrasSecretsGroupsAssociationsBulkPartialUpdateRequest(server string, body ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsAssociationsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsAssociationsBulkPartialUpdateRequestWithBody generates requests for ExtrasSecretsGroupsAssociationsBulkPartialUpdate with any type of body +func NewExtrasSecretsGroupsAssociationsBulkPartialUpdateRequestWithBody(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/secrets-groups-associations/") + 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 +} + +// NewExtrasSecretsGroupsAssociationsCreateRequest calls the generic ExtrasSecretsGroupsAssociationsCreate builder with application/json body +func NewExtrasSecretsGroupsAssociationsCreateRequest(server string, body ExtrasSecretsGroupsAssociationsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsAssociationsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsAssociationsCreateRequestWithBody generates requests for ExtrasSecretsGroupsAssociationsCreate with any type of body +func NewExtrasSecretsGroupsAssociationsCreateRequestWithBody(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/secrets-groups-associations/") + 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 +} + +// NewExtrasSecretsGroupsAssociationsBulkUpdateRequest calls the generic ExtrasSecretsGroupsAssociationsBulkUpdate builder with application/json body +func NewExtrasSecretsGroupsAssociationsBulkUpdateRequest(server string, body ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsAssociationsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsAssociationsBulkUpdateRequestWithBody generates requests for ExtrasSecretsGroupsAssociationsBulkUpdate with any type of body +func NewExtrasSecretsGroupsAssociationsBulkUpdateRequestWithBody(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/secrets-groups-associations/") + 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 +} + +// NewExtrasSecretsGroupsAssociationsDestroyRequest generates requests for ExtrasSecretsGroupsAssociationsDestroy +func NewExtrasSecretsGroupsAssociationsDestroyRequest(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/secrets-groups-associations/%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 +} + +// NewExtrasSecretsGroupsAssociationsRetrieveRequest generates requests for ExtrasSecretsGroupsAssociationsRetrieve +func NewExtrasSecretsGroupsAssociationsRetrieveRequest(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/secrets-groups-associations/%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 +} + +// NewExtrasSecretsGroupsAssociationsPartialUpdateRequest calls the generic ExtrasSecretsGroupsAssociationsPartialUpdate builder with application/json body +func NewExtrasSecretsGroupsAssociationsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsAssociationsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsAssociationsPartialUpdateRequestWithBody generates requests for ExtrasSecretsGroupsAssociationsPartialUpdate with any type of body +func NewExtrasSecretsGroupsAssociationsPartialUpdateRequestWithBody(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-associations/%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 +} + +// NewExtrasSecretsGroupsAssociationsUpdateRequest calls the generic ExtrasSecretsGroupsAssociationsUpdate builder with application/json body +func NewExtrasSecretsGroupsAssociationsUpdateRequest(server string, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsAssociationsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsAssociationsUpdateRequestWithBody generates requests for ExtrasSecretsGroupsAssociationsUpdate with any type of body +func NewExtrasSecretsGroupsAssociationsUpdateRequestWithBody(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-associations/%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 +} + +// NewExtrasSecretsGroupsBulkDestroyRequest generates requests for ExtrasSecretsGroupsBulkDestroy +func NewExtrasSecretsGroupsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets-groups/") + 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 +} + +// NewExtrasSecretsGroupsListRequest generates requests for ExtrasSecretsGroupsList +func NewExtrasSecretsGroupsListRequest(server string, params *ExtrasSecretsGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets-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.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 +} + +// NewExtrasSecretsGroupsBulkPartialUpdateRequest calls the generic ExtrasSecretsGroupsBulkPartialUpdate builder with application/json body +func NewExtrasSecretsGroupsBulkPartialUpdateRequest(server string, body ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsBulkPartialUpdateRequestWithBody generates requests for ExtrasSecretsGroupsBulkPartialUpdate with any type of body +func NewExtrasSecretsGroupsBulkPartialUpdateRequestWithBody(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/secrets-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 +} + +// NewExtrasSecretsGroupsCreateRequest calls the generic ExtrasSecretsGroupsCreate builder with application/json body +func NewExtrasSecretsGroupsCreateRequest(server string, body ExtrasSecretsGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsCreateRequestWithBody generates requests for ExtrasSecretsGroupsCreate with any type of body +func NewExtrasSecretsGroupsCreateRequestWithBody(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/secrets-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 +} + +// NewExtrasSecretsGroupsBulkUpdateRequest calls the generic ExtrasSecretsGroupsBulkUpdate builder with application/json body +func NewExtrasSecretsGroupsBulkUpdateRequest(server string, body ExtrasSecretsGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsBulkUpdateRequestWithBody generates requests for ExtrasSecretsGroupsBulkUpdate with any type of body +func NewExtrasSecretsGroupsBulkUpdateRequestWithBody(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/secrets-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 +} + +// NewExtrasSecretsGroupsDestroyRequest generates requests for ExtrasSecretsGroupsDestroy +func NewExtrasSecretsGroupsDestroyRequest(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/secrets-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 +} + +// NewExtrasSecretsGroupsRetrieveRequest generates requests for ExtrasSecretsGroupsRetrieve +func NewExtrasSecretsGroupsRetrieveRequest(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/secrets-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 +} + +// NewExtrasSecretsGroupsPartialUpdateRequest calls the generic ExtrasSecretsGroupsPartialUpdate builder with application/json body +func NewExtrasSecretsGroupsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasSecretsGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsPartialUpdateRequestWithBody generates requests for ExtrasSecretsGroupsPartialUpdate with any type of body +func NewExtrasSecretsGroupsPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasSecretsGroupsUpdateRequest calls the generic ExtrasSecretsGroupsUpdate builder with application/json body +func NewExtrasSecretsGroupsUpdateRequest(server string, id openapi_types.UUID, body ExtrasSecretsGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsUpdateRequestWithBody generates requests for ExtrasSecretsGroupsUpdate with any type of body +func NewExtrasSecretsGroupsUpdateRequestWithBody(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/", 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 +} + +// NewExtrasSecretsBulkDestroyRequest generates requests for ExtrasSecretsBulkDestroy +func NewExtrasSecretsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets/") + 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 +} + +// NewExtrasSecretsListRequest generates requests for ExtrasSecretsList +func NewExtrasSecretsListRequest(server string, params *ExtrasSecretsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets/") + 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.Provider != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider", runtime.ParamLocationQuery, *params.Provider); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__ic", runtime.ParamLocationQuery, *params.ProviderIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__ie", runtime.ParamLocationQuery, *params.ProviderIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__iew", runtime.ParamLocationQuery, *params.ProviderIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__ire", runtime.ParamLocationQuery, *params.ProviderIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__isw", runtime.ParamLocationQuery, *params.ProviderIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.ProviderNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__nic", runtime.ParamLocationQuery, *params.ProviderNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__nie", runtime.ParamLocationQuery, *params.ProviderNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__niew", runtime.ParamLocationQuery, *params.ProviderNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__nire", runtime.ParamLocationQuery, *params.ProviderNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__nisw", runtime.ParamLocationQuery, *params.ProviderNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__nre", runtime.ParamLocationQuery, *params.ProviderNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProviderRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__re", runtime.ParamLocationQuery, *params.ProviderRe); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewExtrasSecretsBulkPartialUpdateRequest calls the generic ExtrasSecretsBulkPartialUpdate builder with application/json body +func NewExtrasSecretsBulkPartialUpdateRequest(server string, body ExtrasSecretsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsBulkPartialUpdateRequestWithBody generates requests for ExtrasSecretsBulkPartialUpdate with any type of body +func NewExtrasSecretsBulkPartialUpdateRequestWithBody(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/secrets/") + 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 +} + +// NewExtrasSecretsCreateRequest calls the generic ExtrasSecretsCreate builder with application/json body +func NewExtrasSecretsCreateRequest(server string, body ExtrasSecretsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsCreateRequestWithBody generates requests for ExtrasSecretsCreate with any type of body +func NewExtrasSecretsCreateRequestWithBody(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/secrets/") + 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 +} + +// NewExtrasSecretsBulkUpdateRequest calls the generic ExtrasSecretsBulkUpdate builder with application/json body +func NewExtrasSecretsBulkUpdateRequest(server string, body ExtrasSecretsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsBulkUpdateRequestWithBody generates requests for ExtrasSecretsBulkUpdate with any type of body +func NewExtrasSecretsBulkUpdateRequestWithBody(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/secrets/") + 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 +} + +// NewExtrasSecretsDestroyRequest generates requests for ExtrasSecretsDestroy +func NewExtrasSecretsDestroyRequest(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/secrets/%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 +} + +// NewExtrasSecretsRetrieveRequest generates requests for ExtrasSecretsRetrieve +func NewExtrasSecretsRetrieveRequest(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/secrets/%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 +} + +// NewExtrasSecretsPartialUpdateRequest calls the generic ExtrasSecretsPartialUpdate builder with application/json body +func NewExtrasSecretsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasSecretsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSecretsPartialUpdateRequestWithBody generates requests for ExtrasSecretsPartialUpdate with any type of body +func NewExtrasSecretsPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasSecretsUpdateRequest calls the generic ExtrasSecretsUpdate builder with application/json body +func NewExtrasSecretsUpdateRequest(server string, id openapi_types.UUID, body ExtrasSecretsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSecretsUpdateRequestWithBody generates requests for ExtrasSecretsUpdate with any type of body +func NewExtrasSecretsUpdateRequestWithBody(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/", 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 +} + +// NewExtrasStatusesBulkDestroyRequest generates requests for ExtrasStatusesBulkDestroy +func NewExtrasStatusesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/statuses/") + 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 +} + +// NewExtrasStatusesListRequest generates requests for ExtrasStatusesList +func NewExtrasStatusesListRequest(server string, params *ExtrasStatusesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/statuses/") + 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.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 { + return nil, err + } else if parsed, err := 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.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 +} + +// NewExtrasStatusesBulkPartialUpdateRequest calls the generic ExtrasStatusesBulkPartialUpdate builder with application/json body +func NewExtrasStatusesBulkPartialUpdateRequest(server string, body ExtrasStatusesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasStatusesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasStatusesBulkPartialUpdateRequestWithBody generates requests for ExtrasStatusesBulkPartialUpdate with any type of body +func NewExtrasStatusesBulkPartialUpdateRequestWithBody(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/statuses/") + 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 +} + +// NewExtrasStatusesCreateRequest calls the generic ExtrasStatusesCreate builder with application/json body +func NewExtrasStatusesCreateRequest(server string, body ExtrasStatusesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasStatusesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasStatusesCreateRequestWithBody generates requests for ExtrasStatusesCreate with any type of body +func NewExtrasStatusesCreateRequestWithBody(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/statuses/") + 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 +} + +// NewExtrasStatusesBulkUpdateRequest calls the generic ExtrasStatusesBulkUpdate builder with application/json body +func NewExtrasStatusesBulkUpdateRequest(server string, body ExtrasStatusesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasStatusesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasStatusesBulkUpdateRequestWithBody generates requests for ExtrasStatusesBulkUpdate with any type of body +func NewExtrasStatusesBulkUpdateRequestWithBody(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/statuses/") + 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 +} + +// NewExtrasStatusesDestroyRequest generates requests for ExtrasStatusesDestroy +func NewExtrasStatusesDestroyRequest(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/statuses/%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 +} + +// NewExtrasStatusesRetrieveRequest generates requests for ExtrasStatusesRetrieve +func NewExtrasStatusesRetrieveRequest(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/statuses/%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 +} + +// NewExtrasStatusesPartialUpdateRequest calls the generic ExtrasStatusesPartialUpdate builder with application/json body +func NewExtrasStatusesPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasStatusesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasStatusesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasStatusesPartialUpdateRequestWithBody generates requests for ExtrasStatusesPartialUpdate with any type of body +func NewExtrasStatusesPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasStatusesUpdateRequest calls the generic ExtrasStatusesUpdate builder with application/json body +func NewExtrasStatusesUpdateRequest(server string, id openapi_types.UUID, body ExtrasStatusesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasStatusesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasStatusesUpdateRequestWithBody generates requests for ExtrasStatusesUpdate with any type of body +func NewExtrasStatusesUpdateRequestWithBody(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/", 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 +} + +// NewExtrasTagsBulkDestroyRequest generates requests for ExtrasTagsBulkDestroy +func NewExtrasTagsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/tags/") + 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 +} + +// NewExtrasTagsListRequest generates requests for ExtrasTagsList +func NewExtrasTagsListRequest(server string, params *ExtrasTagsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/tags/") + 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.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 { + return nil, err + } else if parsed, err := 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.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 +} + +// NewExtrasTagsBulkPartialUpdateRequest calls the generic ExtrasTagsBulkPartialUpdate builder with application/json body +func NewExtrasTagsBulkPartialUpdateRequest(server string, body ExtrasTagsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasTagsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasTagsBulkPartialUpdateRequestWithBody generates requests for ExtrasTagsBulkPartialUpdate with any type of body +func NewExtrasTagsBulkPartialUpdateRequestWithBody(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/tags/") + 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 +} + +// NewExtrasTagsCreateRequest calls the generic ExtrasTagsCreate builder with application/json body +func NewExtrasTagsCreateRequest(server string, body ExtrasTagsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasTagsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasTagsCreateRequestWithBody generates requests for ExtrasTagsCreate with any type of body +func NewExtrasTagsCreateRequestWithBody(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/tags/") + 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 +} + +// NewExtrasTagsBulkUpdateRequest calls the generic ExtrasTagsBulkUpdate builder with application/json body +func NewExtrasTagsBulkUpdateRequest(server string, body ExtrasTagsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasTagsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasTagsBulkUpdateRequestWithBody generates requests for ExtrasTagsBulkUpdate with any type of body +func NewExtrasTagsBulkUpdateRequestWithBody(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/tags/") + 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 +} + +// NewExtrasTagsDestroyRequest generates requests for ExtrasTagsDestroy +func NewExtrasTagsDestroyRequest(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/tags/%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 +} + +// NewExtrasTagsRetrieveRequest generates requests for ExtrasTagsRetrieve +func NewExtrasTagsRetrieveRequest(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/tags/%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 +} + +// NewExtrasTagsPartialUpdateRequest calls the generic ExtrasTagsPartialUpdate builder with application/json body +func NewExtrasTagsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasTagsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasTagsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasTagsPartialUpdateRequestWithBody generates requests for ExtrasTagsPartialUpdate with any type of body +func NewExtrasTagsPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasTagsUpdateRequest calls the generic ExtrasTagsUpdate builder with application/json body +func NewExtrasTagsUpdateRequest(server string, id openapi_types.UUID, body ExtrasTagsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasTagsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasTagsUpdateRequestWithBody generates requests for ExtrasTagsUpdate with any type of body +func NewExtrasTagsUpdateRequestWithBody(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/", 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 +} + +// NewExtrasWebhooksBulkDestroyRequest generates requests for ExtrasWebhooksBulkDestroy +func NewExtrasWebhooksBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/webhooks/") + 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 +} + +// NewExtrasWebhooksListRequest generates requests for ExtrasWebhooksList +func NewExtrasWebhooksListRequest(server string, params *ExtrasWebhooksListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/webhooks/") + 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.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.PayloadUrl != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url", runtime.ParamLocationQuery, *params.PayloadUrl); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__ic", runtime.ParamLocationQuery, *params.PayloadUrlIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__ie", runtime.ParamLocationQuery, *params.PayloadUrlIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__iew", runtime.ParamLocationQuery, *params.PayloadUrlIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__ire", runtime.ParamLocationQuery, *params.PayloadUrlIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__isw", runtime.ParamLocationQuery, *params.PayloadUrlIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__n", runtime.ParamLocationQuery, *params.PayloadUrlN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__nic", runtime.ParamLocationQuery, *params.PayloadUrlNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__nie", runtime.ParamLocationQuery, *params.PayloadUrlNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__niew", runtime.ParamLocationQuery, *params.PayloadUrlNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__nire", runtime.ParamLocationQuery, *params.PayloadUrlNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__nisw", runtime.ParamLocationQuery, *params.PayloadUrlNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__nre", runtime.ParamLocationQuery, *params.PayloadUrlNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PayloadUrlRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "payload_url__re", runtime.ParamLocationQuery, *params.PayloadUrlRe); err != nil { + return nil, err + } else if parsed, err := 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.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 +} + +// NewExtrasWebhooksBulkPartialUpdateRequest calls the generic ExtrasWebhooksBulkPartialUpdate builder with application/json body +func NewExtrasWebhooksBulkPartialUpdateRequest(server string, body ExtrasWebhooksBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasWebhooksBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasWebhooksBulkPartialUpdateRequestWithBody generates requests for ExtrasWebhooksBulkPartialUpdate with any type of body +func NewExtrasWebhooksBulkPartialUpdateRequestWithBody(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/webhooks/") + 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 +} + +// NewExtrasWebhooksCreateRequest calls the generic ExtrasWebhooksCreate builder with application/json body +func NewExtrasWebhooksCreateRequest(server string, body ExtrasWebhooksCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasWebhooksCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasWebhooksCreateRequestWithBody generates requests for ExtrasWebhooksCreate with any type of body +func NewExtrasWebhooksCreateRequestWithBody(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/webhooks/") + 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 +} + +// NewExtrasWebhooksBulkUpdateRequest calls the generic ExtrasWebhooksBulkUpdate builder with application/json body +func NewExtrasWebhooksBulkUpdateRequest(server string, body ExtrasWebhooksBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasWebhooksBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasWebhooksBulkUpdateRequestWithBody generates requests for ExtrasWebhooksBulkUpdate with any type of body +func NewExtrasWebhooksBulkUpdateRequestWithBody(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/webhooks/") + 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 +} + +// NewExtrasWebhooksDestroyRequest generates requests for ExtrasWebhooksDestroy +func NewExtrasWebhooksDestroyRequest(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/webhooks/%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 +} + +// NewExtrasWebhooksRetrieveRequest generates requests for ExtrasWebhooksRetrieve +func NewExtrasWebhooksRetrieveRequest(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/webhooks/%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 +} + +// NewExtrasWebhooksPartialUpdateRequest calls the generic ExtrasWebhooksPartialUpdate builder with application/json body +func NewExtrasWebhooksPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasWebhooksPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasWebhooksPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasWebhooksPartialUpdateRequestWithBody generates requests for ExtrasWebhooksPartialUpdate with any type of body +func NewExtrasWebhooksPartialUpdateRequestWithBody(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/", 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 +} + +// NewExtrasWebhooksUpdateRequest calls the generic ExtrasWebhooksUpdate builder with application/json body +func NewExtrasWebhooksUpdateRequest(server string, id openapi_types.UUID, body ExtrasWebhooksUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasWebhooksUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasWebhooksUpdateRequestWithBody generates requests for ExtrasWebhooksUpdate with any type of body +func NewExtrasWebhooksUpdateRequestWithBody(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/", 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 +} + +// NewGraphqlCreateRequest calls the generic GraphqlCreate builder with application/json body +func NewGraphqlCreateRequest(server string, body GraphqlCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewGraphqlCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewGraphqlCreateRequestWithBody generates requests for GraphqlCreate with any type of body +func NewGraphqlCreateRequestWithBody(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("/graphql/") + 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 +} + +// NewIpamAggregatesBulkDestroyRequest generates requests for IpamAggregatesBulkDestroy +func NewIpamAggregatesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/aggregates/") + 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 +} + +// NewIpamAggregatesListRequest generates requests for IpamAggregatesList +func NewIpamAggregatesListRequest(server string, params *IpamAggregatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/aggregates/") + 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.DateAdded != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "date_added", runtime.ParamLocationQuery, *params.DateAdded); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DateAddedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "date_added__gt", runtime.ParamLocationQuery, *params.DateAddedGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DateAddedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "date_added__gte", runtime.ParamLocationQuery, *params.DateAddedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DateAddedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "date_added__lt", runtime.ParamLocationQuery, *params.DateAddedLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DateAddedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "date_added__lte", runtime.ParamLocationQuery, *params.DateAddedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DateAddedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "date_added__n", runtime.ParamLocationQuery, *params.DateAddedN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Family != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "family", runtime.ParamLocationQuery, *params.Family); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Rir != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rir", runtime.ParamLocationQuery, *params.Rir); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RirN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rir__n", runtime.ParamLocationQuery, *params.RirN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RirId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rir_id", runtime.ParamLocationQuery, *params.RirId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RirIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rir_id__n", runtime.ParamLocationQuery, *params.RirIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewIpamAggregatesBulkPartialUpdateRequest calls the generic IpamAggregatesBulkPartialUpdate builder with application/json body +func NewIpamAggregatesBulkPartialUpdateRequest(server string, body IpamAggregatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAggregatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAggregatesBulkPartialUpdateRequestWithBody generates requests for IpamAggregatesBulkPartialUpdate with any type of body +func NewIpamAggregatesBulkPartialUpdateRequestWithBody(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("/ipam/aggregates/") + 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 +} + +// NewIpamAggregatesCreateRequest calls the generic IpamAggregatesCreate builder with application/json body +func NewIpamAggregatesCreateRequest(server string, body IpamAggregatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAggregatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAggregatesCreateRequestWithBody generates requests for IpamAggregatesCreate with any type of body +func NewIpamAggregatesCreateRequestWithBody(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("/ipam/aggregates/") + 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 +} + +// NewIpamAggregatesBulkUpdateRequest calls the generic IpamAggregatesBulkUpdate builder with application/json body +func NewIpamAggregatesBulkUpdateRequest(server string, body IpamAggregatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAggregatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAggregatesBulkUpdateRequestWithBody generates requests for IpamAggregatesBulkUpdate with any type of body +func NewIpamAggregatesBulkUpdateRequestWithBody(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("/ipam/aggregates/") + 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 +} + +// NewIpamAggregatesDestroyRequest generates requests for IpamAggregatesDestroy +func NewIpamAggregatesDestroyRequest(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("/ipam/aggregates/%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 +} + +// NewIpamAggregatesRetrieveRequest generates requests for IpamAggregatesRetrieve +func NewIpamAggregatesRetrieveRequest(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("/ipam/aggregates/%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 +} + +// NewIpamAggregatesPartialUpdateRequest calls the generic IpamAggregatesPartialUpdate builder with application/json body +func NewIpamAggregatesPartialUpdateRequest(server string, id openapi_types.UUID, body IpamAggregatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAggregatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamAggregatesPartialUpdateRequestWithBody generates requests for IpamAggregatesPartialUpdate with any type of body +func NewIpamAggregatesPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamAggregatesUpdateRequest calls the generic IpamAggregatesUpdate builder with application/json body +func NewIpamAggregatesUpdateRequest(server string, id openapi_types.UUID, body IpamAggregatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAggregatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamAggregatesUpdateRequestWithBody generates requests for IpamAggregatesUpdate with any type of body +func NewIpamAggregatesUpdateRequestWithBody(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/", 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 +} + +// NewIpamIpAddressesBulkDestroyRequest generates requests for IpamIpAddressesBulkDestroy +func NewIpamIpAddressesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/ip-addresses/") + 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 +} + +// NewIpamIpAddressesListRequest generates requests for IpamIpAddressesList +func NewIpamIpAddressesListRequest(server string, params *IpamIpAddressesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/ip-addresses/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Address != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address", runtime.ParamLocationQuery, *params.Address); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedToInterface != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_to_interface", runtime.ParamLocationQuery, *params.AssignedToInterface); err != nil { + return nil, err + } else if parsed, err := 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.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.DnsName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name", runtime.ParamLocationQuery, *params.DnsName); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__ic", runtime.ParamLocationQuery, *params.DnsNameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__ie", runtime.ParamLocationQuery, *params.DnsNameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__iew", runtime.ParamLocationQuery, *params.DnsNameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__ire", runtime.ParamLocationQuery, *params.DnsNameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__isw", runtime.ParamLocationQuery, *params.DnsNameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__n", runtime.ParamLocationQuery, *params.DnsNameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__nic", runtime.ParamLocationQuery, *params.DnsNameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__nie", runtime.ParamLocationQuery, *params.DnsNameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__niew", runtime.ParamLocationQuery, *params.DnsNameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__nire", runtime.ParamLocationQuery, *params.DnsNameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__nisw", runtime.ParamLocationQuery, *params.DnsNameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__nre", runtime.ParamLocationQuery, *params.DnsNameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DnsNameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dns_name__re", runtime.ParamLocationQuery, *params.DnsNameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Family != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "family", runtime.ParamLocationQuery, *params.Family); err != nil { + return nil, err + } else if parsed, err := 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.Interface != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface", runtime.ParamLocationQuery, *params.Interface); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface__n", runtime.ParamLocationQuery, *params.InterfaceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_id", runtime.ParamLocationQuery, *params.InterfaceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_id__n", runtime.ParamLocationQuery, *params.InterfaceIdN); err != nil { + return nil, err + } else if parsed, err := 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.MaskLength != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mask_length", runtime.ParamLocationQuery, *params.MaskLength); err != nil { + return nil, err + } else if parsed, err := 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.PresentInVrf != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "present_in_vrf", runtime.ParamLocationQuery, *params.PresentInVrf); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PresentInVrfId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "present_in_vrf_id", runtime.ParamLocationQuery, *params.PresentInVrfId); err != nil { + return nil, err + } else if parsed, err := 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.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) + } + } + } + + } + + 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) + } + } + } + + } + + if params.VirtualMachine != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine", runtime.ParamLocationQuery, *params.VirtualMachine); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachineId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine_id", runtime.ParamLocationQuery, *params.VirtualMachineId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Vminterface != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vminterface", runtime.ParamLocationQuery, *params.Vminterface); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VminterfaceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vminterface__n", runtime.ParamLocationQuery, *params.VminterfaceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VminterfaceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vminterface_id", runtime.ParamLocationQuery, *params.VminterfaceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VminterfaceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vminterface_id__n", runtime.ParamLocationQuery, *params.VminterfaceIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.VrfId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrf_id", runtime.ParamLocationQuery, *params.VrfId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VrfIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrf_id__n", runtime.ParamLocationQuery, *params.VrfIdN); err != nil { + return nil, err + } else if 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 +} + +// NewIpamIpAddressesBulkPartialUpdateRequest calls the generic IpamIpAddressesBulkPartialUpdate builder with application/json body +func NewIpamIpAddressesBulkPartialUpdateRequest(server string, body IpamIpAddressesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpAddressesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamIpAddressesBulkPartialUpdateRequestWithBody generates requests for IpamIpAddressesBulkPartialUpdate with any type of body +func NewIpamIpAddressesBulkPartialUpdateRequestWithBody(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("/ipam/ip-addresses/") + 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 +} + +// NewIpamIpAddressesCreateRequest calls the generic IpamIpAddressesCreate builder with application/json body +func NewIpamIpAddressesCreateRequest(server string, body IpamIpAddressesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpAddressesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamIpAddressesCreateRequestWithBody generates requests for IpamIpAddressesCreate with any type of body +func NewIpamIpAddressesCreateRequestWithBody(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("/ipam/ip-addresses/") + 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 +} + +// NewIpamIpAddressesBulkUpdateRequest calls the generic IpamIpAddressesBulkUpdate builder with application/json body +func NewIpamIpAddressesBulkUpdateRequest(server string, body IpamIpAddressesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpAddressesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamIpAddressesBulkUpdateRequestWithBody generates requests for IpamIpAddressesBulkUpdate with any type of body +func NewIpamIpAddressesBulkUpdateRequestWithBody(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("/ipam/ip-addresses/") + 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 +} + +// NewIpamIpAddressesDestroyRequest generates requests for IpamIpAddressesDestroy +func NewIpamIpAddressesDestroyRequest(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("/ipam/ip-addresses/%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 +} + +// NewIpamIpAddressesRetrieveRequest generates requests for IpamIpAddressesRetrieve +func NewIpamIpAddressesRetrieveRequest(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("/ipam/ip-addresses/%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 +} + +// NewIpamIpAddressesPartialUpdateRequest calls the generic IpamIpAddressesPartialUpdate builder with application/json body +func NewIpamIpAddressesPartialUpdateRequest(server string, id openapi_types.UUID, body IpamIpAddressesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpAddressesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamIpAddressesPartialUpdateRequestWithBody generates requests for IpamIpAddressesPartialUpdate with any type of body +func NewIpamIpAddressesPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamIpAddressesUpdateRequest calls the generic IpamIpAddressesUpdate builder with application/json body +func NewIpamIpAddressesUpdateRequest(server string, id openapi_types.UUID, body IpamIpAddressesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpAddressesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamIpAddressesUpdateRequestWithBody generates requests for IpamIpAddressesUpdate with any type of body +func NewIpamIpAddressesUpdateRequestWithBody(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/", 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 +} + +// NewIpamPrefixesBulkDestroyRequest generates requests for IpamPrefixesBulkDestroy +func NewIpamPrefixesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/prefixes/") + 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 +} + +// NewIpamPrefixesListRequest generates requests for IpamPrefixesList +func NewIpamPrefixesListRequest(server string, params *IpamPrefixesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/prefixes/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Contains != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contains", runtime.ParamLocationQuery, *params.Contains); err != nil { + return nil, err + } else if parsed, err := 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.Family != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "family", runtime.ParamLocationQuery, *params.Family); err != nil { + return nil, err + } else if parsed, err := 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.IsPool != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_pool", runtime.ParamLocationQuery, *params.IsPool); err != nil { + return nil, err + } else if parsed, err := 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.MaskLength != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mask_length", runtime.ParamLocationQuery, *params.MaskLength); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaskLengthGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mask_length__gte", runtime.ParamLocationQuery, *params.MaskLengthGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaskLengthLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mask_length__lte", runtime.ParamLocationQuery, *params.MaskLengthLte); err != nil { + return nil, err + } else if parsed, err := 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.PresentInVrf != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "present_in_vrf", runtime.ParamLocationQuery, *params.PresentInVrf); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PresentInVrfId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "present_in_vrf_id", runtime.ParamLocationQuery, *params.PresentInVrfId); err != nil { + return nil, err + } else if parsed, err := 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.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.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.RoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id", runtime.ParamLocationQuery, *params.RoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id__n", runtime.ParamLocationQuery, *params.RoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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) + } + } + } + + } + + if params.VlanId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_id", runtime.ParamLocationQuery, *params.VlanId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_id__n", runtime.ParamLocationQuery, *params.VlanIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanVid != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_vid", runtime.ParamLocationQuery, *params.VlanVid); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.VrfId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrf_id", runtime.ParamLocationQuery, *params.VrfId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VrfIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrf_id__n", runtime.ParamLocationQuery, *params.VrfIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Within != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "within", runtime.ParamLocationQuery, *params.Within); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WithinInclude != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "within_include", runtime.ParamLocationQuery, *params.WithinInclude); err != nil { + return nil, err + } else if 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 +} + +// NewIpamPrefixesBulkPartialUpdateRequest calls the generic IpamPrefixesBulkPartialUpdate builder with application/json body +func NewIpamPrefixesBulkPartialUpdateRequest(server string, body IpamPrefixesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamPrefixesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamPrefixesBulkPartialUpdateRequestWithBody generates requests for IpamPrefixesBulkPartialUpdate with any type of body +func NewIpamPrefixesBulkPartialUpdateRequestWithBody(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("/ipam/prefixes/") + 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 +} + +// NewIpamPrefixesCreateRequest calls the generic IpamPrefixesCreate builder with application/json body +func NewIpamPrefixesCreateRequest(server string, body IpamPrefixesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamPrefixesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamPrefixesCreateRequestWithBody generates requests for IpamPrefixesCreate with any type of body +func NewIpamPrefixesCreateRequestWithBody(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("/ipam/prefixes/") + 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 +} + +// NewIpamPrefixesBulkUpdateRequest calls the generic IpamPrefixesBulkUpdate builder with application/json body +func NewIpamPrefixesBulkUpdateRequest(server string, body IpamPrefixesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamPrefixesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamPrefixesBulkUpdateRequestWithBody generates requests for IpamPrefixesBulkUpdate with any type of body +func NewIpamPrefixesBulkUpdateRequestWithBody(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("/ipam/prefixes/") + 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 +} + +// NewIpamPrefixesDestroyRequest generates requests for IpamPrefixesDestroy +func NewIpamPrefixesDestroyRequest(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("/ipam/prefixes/%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 +} + +// NewIpamPrefixesRetrieveRequest generates requests for IpamPrefixesRetrieve +func NewIpamPrefixesRetrieveRequest(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("/ipam/prefixes/%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 +} + +// NewIpamPrefixesPartialUpdateRequest calls the generic IpamPrefixesPartialUpdate builder with application/json body +func NewIpamPrefixesPartialUpdateRequest(server string, id openapi_types.UUID, body IpamPrefixesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamPrefixesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamPrefixesPartialUpdateRequestWithBody generates requests for IpamPrefixesPartialUpdate with any type of body +func NewIpamPrefixesPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamPrefixesUpdateRequest calls the generic IpamPrefixesUpdate builder with application/json body +func NewIpamPrefixesUpdateRequest(server string, id openapi_types.UUID, body IpamPrefixesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamPrefixesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamPrefixesUpdateRequestWithBody generates requests for IpamPrefixesUpdate with any type of body +func NewIpamPrefixesUpdateRequestWithBody(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/", 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 +} + +// NewIpamPrefixesAvailableIpsListRequest generates requests for IpamPrefixesAvailableIpsList +func NewIpamPrefixesAvailableIpsListRequest(server string, id openapi_types.UUID, params *IpamPrefixesAvailableIpsListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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/available-ips/", 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 +} + +// 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) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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/available-ips/", 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("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamPrefixesAvailablePrefixesListRequest generates requests for IpamPrefixesAvailablePrefixesList +func NewIpamPrefixesAvailablePrefixesListRequest(server string, id openapi_types.UUID, params *IpamPrefixesAvailablePrefixesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "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/available-prefixes/", 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 +} + +// NewIpamPrefixesAvailablePrefixesCreateRequest calls the generic IpamPrefixesAvailablePrefixesCreate builder with application/json body +func NewIpamPrefixesAvailablePrefixesCreateRequest(server string, id openapi_types.UUID, body IpamPrefixesAvailablePrefixesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamPrefixesAvailablePrefixesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamPrefixesAvailablePrefixesCreateRequestWithBody generates requests for IpamPrefixesAvailablePrefixesCreate with any type of body +func NewIpamPrefixesAvailablePrefixesCreateRequestWithBody(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/available-prefixes/", 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 generates requests for IpamRirsBulkDestroy +func NewIpamRirsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/rirs/") + 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 +} + +// NewIpamRirsListRequest generates requests for IpamRirsList +func NewIpamRirsListRequest(server string, params *IpamRirsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/rirs/") + 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.IsPrivate != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_private", runtime.ParamLocationQuery, *params.IsPrivate); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewIpamRirsBulkPartialUpdateRequest calls the generic IpamRirsBulkPartialUpdate builder with application/json body +func NewIpamRirsBulkPartialUpdateRequest(server string, body IpamRirsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRirsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRirsBulkPartialUpdateRequestWithBody generates requests for IpamRirsBulkPartialUpdate with any type of body +func NewIpamRirsBulkPartialUpdateRequestWithBody(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("/ipam/rirs/") + 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 +} + +// NewIpamRirsCreateRequest calls the generic IpamRirsCreate builder with application/json body +func NewIpamRirsCreateRequest(server string, body IpamRirsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRirsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRirsCreateRequestWithBody generates requests for IpamRirsCreate with any type of body +func NewIpamRirsCreateRequestWithBody(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("/ipam/rirs/") + 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 +} + +// NewIpamRirsBulkUpdateRequest calls the generic IpamRirsBulkUpdate builder with application/json body +func NewIpamRirsBulkUpdateRequest(server string, body IpamRirsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRirsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRirsBulkUpdateRequestWithBody generates requests for IpamRirsBulkUpdate with any type of body +func NewIpamRirsBulkUpdateRequestWithBody(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("/ipam/rirs/") + 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 +} + +// NewIpamRirsDestroyRequest generates requests for IpamRirsDestroy +func NewIpamRirsDestroyRequest(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("/ipam/rirs/%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 +} + +// NewIpamRirsRetrieveRequest generates requests for IpamRirsRetrieve +func NewIpamRirsRetrieveRequest(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("/ipam/rirs/%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 +} + +// NewIpamRirsPartialUpdateRequest calls the generic IpamRirsPartialUpdate builder with application/json body +func NewIpamRirsPartialUpdateRequest(server string, id openapi_types.UUID, body IpamRirsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRirsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamRirsPartialUpdateRequestWithBody generates requests for IpamRirsPartialUpdate with any type of body +func NewIpamRirsPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamRirsUpdateRequest calls the generic IpamRirsUpdate builder with application/json body +func NewIpamRirsUpdateRequest(server string, id openapi_types.UUID, body IpamRirsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRirsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamRirsUpdateRequestWithBody generates requests for IpamRirsUpdate with any type of body +func NewIpamRirsUpdateRequestWithBody(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/", 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 +} + +// NewIpamRolesBulkDestroyRequest generates requests for IpamRolesBulkDestroy +func NewIpamRolesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/roles/") + 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 +} + +// NewIpamRolesListRequest generates requests for IpamRolesList +func NewIpamRolesListRequest(server string, params *IpamRolesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/roles/") + 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.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 +} + +// NewIpamRolesBulkPartialUpdateRequest calls the generic IpamRolesBulkPartialUpdate builder with application/json body +func NewIpamRolesBulkPartialUpdateRequest(server string, body IpamRolesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRolesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRolesBulkPartialUpdateRequestWithBody generates requests for IpamRolesBulkPartialUpdate with any type of body +func NewIpamRolesBulkPartialUpdateRequestWithBody(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("/ipam/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 +} + +// NewIpamRolesCreateRequest calls the generic IpamRolesCreate builder with application/json body +func NewIpamRolesCreateRequest(server string, body IpamRolesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRolesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRolesCreateRequestWithBody generates requests for IpamRolesCreate with any type of body +func NewIpamRolesCreateRequestWithBody(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("/ipam/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 +} + +// NewIpamRolesBulkUpdateRequest calls the generic IpamRolesBulkUpdate builder with application/json body +func NewIpamRolesBulkUpdateRequest(server string, body IpamRolesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRolesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRolesBulkUpdateRequestWithBody generates requests for IpamRolesBulkUpdate with any type of body +func NewIpamRolesBulkUpdateRequestWithBody(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("/ipam/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 +} + +// NewIpamRolesDestroyRequest generates requests for IpamRolesDestroy +func NewIpamRolesDestroyRequest(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("/ipam/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 +} + +// NewIpamRolesRetrieveRequest generates requests for IpamRolesRetrieve +func NewIpamRolesRetrieveRequest(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("/ipam/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 +} + +// NewIpamRolesPartialUpdateRequest calls the generic IpamRolesPartialUpdate builder with application/json body +func NewIpamRolesPartialUpdateRequest(server string, id openapi_types.UUID, body IpamRolesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRolesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamRolesPartialUpdateRequestWithBody generates requests for IpamRolesPartialUpdate with any type of body +func NewIpamRolesPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamRolesUpdateRequest calls the generic IpamRolesUpdate builder with application/json body +func NewIpamRolesUpdateRequest(server string, id openapi_types.UUID, body IpamRolesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRolesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamRolesUpdateRequestWithBody generates requests for IpamRolesUpdate with any type of body +func NewIpamRolesUpdateRequestWithBody(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/", 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 +} + +// NewIpamRouteTargetsBulkDestroyRequest generates requests for IpamRouteTargetsBulkDestroy +func NewIpamRouteTargetsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/route-targets/") + 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 +} + +// NewIpamRouteTargetsListRequest generates requests for IpamRouteTargetsList +func NewIpamRouteTargetsListRequest(server string, params *IpamRouteTargetsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/route-targets/") + 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.ExportingVrf != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exporting_vrf", runtime.ParamLocationQuery, *params.ExportingVrf); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExportingVrfN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exporting_vrf__n", runtime.ParamLocationQuery, *params.ExportingVrfN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExportingVrfId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exporting_vrf_id", runtime.ParamLocationQuery, *params.ExportingVrfId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExportingVrfIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exporting_vrf_id__n", runtime.ParamLocationQuery, *params.ExportingVrfIdN); err != nil { + return nil, err + } else if parsed, err := 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.ImportingVrf != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "importing_vrf", runtime.ParamLocationQuery, *params.ImportingVrf); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImportingVrfN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "importing_vrf__n", runtime.ParamLocationQuery, *params.ImportingVrfN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImportingVrfId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "importing_vrf_id", runtime.ParamLocationQuery, *params.ImportingVrfId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImportingVrfIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "importing_vrf_id__n", runtime.ParamLocationQuery, *params.ImportingVrfIdN); err != nil { + return nil, err + } else if parsed, err := 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.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 +} + +// NewIpamRouteTargetsBulkPartialUpdateRequest calls the generic IpamRouteTargetsBulkPartialUpdate builder with application/json body +func NewIpamRouteTargetsBulkPartialUpdateRequest(server string, body IpamRouteTargetsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRouteTargetsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRouteTargetsBulkPartialUpdateRequestWithBody generates requests for IpamRouteTargetsBulkPartialUpdate with any type of body +func NewIpamRouteTargetsBulkPartialUpdateRequestWithBody(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("/ipam/route-targets/") + 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 +} + +// NewIpamRouteTargetsCreateRequest calls the generic IpamRouteTargetsCreate builder with application/json body +func NewIpamRouteTargetsCreateRequest(server string, body IpamRouteTargetsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRouteTargetsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRouteTargetsCreateRequestWithBody generates requests for IpamRouteTargetsCreate with any type of body +func NewIpamRouteTargetsCreateRequestWithBody(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("/ipam/route-targets/") + 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 +} + +// NewIpamRouteTargetsBulkUpdateRequest calls the generic IpamRouteTargetsBulkUpdate builder with application/json body +func NewIpamRouteTargetsBulkUpdateRequest(server string, body IpamRouteTargetsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRouteTargetsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRouteTargetsBulkUpdateRequestWithBody generates requests for IpamRouteTargetsBulkUpdate with any type of body +func NewIpamRouteTargetsBulkUpdateRequestWithBody(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("/ipam/route-targets/") + 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 +} + +// NewIpamRouteTargetsDestroyRequest generates requests for IpamRouteTargetsDestroy +func NewIpamRouteTargetsDestroyRequest(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("/ipam/route-targets/%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 +} + +// NewIpamRouteTargetsRetrieveRequest generates requests for IpamRouteTargetsRetrieve +func NewIpamRouteTargetsRetrieveRequest(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("/ipam/route-targets/%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 +} + +// NewIpamRouteTargetsPartialUpdateRequest calls the generic IpamRouteTargetsPartialUpdate builder with application/json body +func NewIpamRouteTargetsPartialUpdateRequest(server string, id openapi_types.UUID, body IpamRouteTargetsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRouteTargetsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamRouteTargetsPartialUpdateRequestWithBody generates requests for IpamRouteTargetsPartialUpdate with any type of body +func NewIpamRouteTargetsPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamRouteTargetsUpdateRequest calls the generic IpamRouteTargetsUpdate builder with application/json body +func NewIpamRouteTargetsUpdateRequest(server string, id openapi_types.UUID, body IpamRouteTargetsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRouteTargetsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamRouteTargetsUpdateRequestWithBody generates requests for IpamRouteTargetsUpdate with any type of body +func NewIpamRouteTargetsUpdateRequestWithBody(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/", 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 +} + +// NewIpamServicesBulkDestroyRequest generates requests for IpamServicesBulkDestroy +func NewIpamServicesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/services/") + 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 +} + +// NewIpamServicesListRequest generates requests for IpamServicesList +func NewIpamServicesListRequest(server string, params *IpamServicesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/services/") + 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.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.Protocol != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "protocol", runtime.ParamLocationQuery, *params.Protocol); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ProtocolN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "protocol__n", runtime.ParamLocationQuery, *params.ProtocolN); err != nil { + return nil, err + } else if parsed, err := 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.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.VirtualMachine != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine", runtime.ParamLocationQuery, *params.VirtualMachine); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachineN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine__n", runtime.ParamLocationQuery, *params.VirtualMachineN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachineId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine_id", runtime.ParamLocationQuery, *params.VirtualMachineId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachineIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine_id__n", runtime.ParamLocationQuery, *params.VirtualMachineIdN); err != nil { + return nil, err + } else if 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 +} + +// NewIpamServicesBulkPartialUpdateRequest calls the generic IpamServicesBulkPartialUpdate builder with application/json body +func NewIpamServicesBulkPartialUpdateRequest(server string, body IpamServicesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServicesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamServicesBulkPartialUpdateRequestWithBody generates requests for IpamServicesBulkPartialUpdate with any type of body +func NewIpamServicesBulkPartialUpdateRequestWithBody(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("/ipam/services/") + 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 +} + +// NewIpamServicesCreateRequest calls the generic IpamServicesCreate builder with application/json body +func NewIpamServicesCreateRequest(server string, body IpamServicesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServicesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamServicesCreateRequestWithBody generates requests for IpamServicesCreate with any type of body +func NewIpamServicesCreateRequestWithBody(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("/ipam/services/") + 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 +} + +// NewIpamServicesBulkUpdateRequest calls the generic IpamServicesBulkUpdate builder with application/json body +func NewIpamServicesBulkUpdateRequest(server string, body IpamServicesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServicesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamServicesBulkUpdateRequestWithBody generates requests for IpamServicesBulkUpdate with any type of body +func NewIpamServicesBulkUpdateRequestWithBody(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("/ipam/services/") + 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 +} + +// NewIpamServicesDestroyRequest generates requests for IpamServicesDestroy +func NewIpamServicesDestroyRequest(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("/ipam/services/%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 +} + +// NewIpamServicesRetrieveRequest generates requests for IpamServicesRetrieve +func NewIpamServicesRetrieveRequest(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("/ipam/services/%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 +} + +// NewIpamServicesPartialUpdateRequest calls the generic IpamServicesPartialUpdate builder with application/json body +func NewIpamServicesPartialUpdateRequest(server string, id openapi_types.UUID, body IpamServicesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServicesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamServicesPartialUpdateRequestWithBody generates requests for IpamServicesPartialUpdate with any type of body +func NewIpamServicesPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamServicesUpdateRequest calls the generic IpamServicesUpdate builder with application/json body +func NewIpamServicesUpdateRequest(server string, id openapi_types.UUID, body IpamServicesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServicesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamServicesUpdateRequestWithBody generates requests for IpamServicesUpdate with any type of body +func NewIpamServicesUpdateRequestWithBody(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/", 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 +} + +// NewIpamVlanGroupsBulkDestroyRequest generates requests for IpamVlanGroupsBulkDestroy +func NewIpamVlanGroupsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vlan-groups/") + 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 +} + +// NewIpamVlanGroupsListRequest generates requests for IpamVlanGroupsList +func NewIpamVlanGroupsListRequest(server string, params *IpamVlanGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vlan-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.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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewIpamVlanGroupsBulkPartialUpdateRequest calls the generic IpamVlanGroupsBulkPartialUpdate builder with application/json body +func NewIpamVlanGroupsBulkPartialUpdateRequest(server string, body IpamVlanGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlanGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlanGroupsBulkPartialUpdateRequestWithBody generates requests for IpamVlanGroupsBulkPartialUpdate with any type of body +func NewIpamVlanGroupsBulkPartialUpdateRequestWithBody(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("/ipam/vlan-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 +} + +// NewIpamVlanGroupsCreateRequest calls the generic IpamVlanGroupsCreate builder with application/json body +func NewIpamVlanGroupsCreateRequest(server string, body IpamVlanGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlanGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlanGroupsCreateRequestWithBody generates requests for IpamVlanGroupsCreate with any type of body +func NewIpamVlanGroupsCreateRequestWithBody(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("/ipam/vlan-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 +} + +// NewIpamVlanGroupsBulkUpdateRequest calls the generic IpamVlanGroupsBulkUpdate builder with application/json body +func NewIpamVlanGroupsBulkUpdateRequest(server string, body IpamVlanGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlanGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlanGroupsBulkUpdateRequestWithBody generates requests for IpamVlanGroupsBulkUpdate with any type of body +func NewIpamVlanGroupsBulkUpdateRequestWithBody(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("/ipam/vlan-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 +} + +// NewIpamVlanGroupsDestroyRequest generates requests for IpamVlanGroupsDestroy +func NewIpamVlanGroupsDestroyRequest(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("/ipam/vlan-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 +} + +// NewIpamVlanGroupsRetrieveRequest generates requests for IpamVlanGroupsRetrieve +func NewIpamVlanGroupsRetrieveRequest(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("/ipam/vlan-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 +} + +// NewIpamVlanGroupsPartialUpdateRequest calls the generic IpamVlanGroupsPartialUpdate builder with application/json body +func NewIpamVlanGroupsPartialUpdateRequest(server string, id openapi_types.UUID, body IpamVlanGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlanGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVlanGroupsPartialUpdateRequestWithBody generates requests for IpamVlanGroupsPartialUpdate with any type of body +func NewIpamVlanGroupsPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamVlanGroupsUpdateRequest calls the generic IpamVlanGroupsUpdate builder with application/json body +func NewIpamVlanGroupsUpdateRequest(server string, id openapi_types.UUID, body IpamVlanGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlanGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVlanGroupsUpdateRequestWithBody generates requests for IpamVlanGroupsUpdate with any type of body +func NewIpamVlanGroupsUpdateRequestWithBody(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/", 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 +} + +// NewIpamVlansBulkDestroyRequest generates requests for IpamVlansBulkDestroy +func NewIpamVlansBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vlans/") + 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 +} + +// NewIpamVlansListRequest generates requests for IpamVlansList +func NewIpamVlansListRequest(server string, params *IpamVlansListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vlans/") + 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.GroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id", runtime.ParamLocationQuery, *params.GroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__n", runtime.ParamLocationQuery, *params.GroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.RoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id", runtime.ParamLocationQuery, *params.RoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id__n", runtime.ParamLocationQuery, *params.RoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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) + } + } + } + + } + + if params.Vid != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vid", runtime.ParamLocationQuery, *params.Vid); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VidGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vid__gt", runtime.ParamLocationQuery, *params.VidGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VidGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vid__gte", runtime.ParamLocationQuery, *params.VidGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VidLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vid__lt", runtime.ParamLocationQuery, *params.VidLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VidLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vid__lte", runtime.ParamLocationQuery, *params.VidLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VidN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vid__n", runtime.ParamLocationQuery, *params.VidN); err != nil { + return nil, err + } else if 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 +} + +// NewIpamVlansBulkPartialUpdateRequest calls the generic IpamVlansBulkPartialUpdate builder with application/json body +func NewIpamVlansBulkPartialUpdateRequest(server string, body IpamVlansBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlansBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlansBulkPartialUpdateRequestWithBody generates requests for IpamVlansBulkPartialUpdate with any type of body +func NewIpamVlansBulkPartialUpdateRequestWithBody(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("/ipam/vlans/") + 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 +} + +// NewIpamVlansCreateRequest calls the generic IpamVlansCreate builder with application/json body +func NewIpamVlansCreateRequest(server string, body IpamVlansCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlansCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlansCreateRequestWithBody generates requests for IpamVlansCreate with any type of body +func NewIpamVlansCreateRequestWithBody(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("/ipam/vlans/") + 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 +} + +// NewIpamVlansBulkUpdateRequest calls the generic IpamVlansBulkUpdate builder with application/json body +func NewIpamVlansBulkUpdateRequest(server string, body IpamVlansBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlansBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlansBulkUpdateRequestWithBody generates requests for IpamVlansBulkUpdate with any type of body +func NewIpamVlansBulkUpdateRequestWithBody(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("/ipam/vlans/") + 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 +} + +// NewIpamVlansDestroyRequest generates requests for IpamVlansDestroy +func NewIpamVlansDestroyRequest(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("/ipam/vlans/%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 +} + +// NewIpamVlansRetrieveRequest generates requests for IpamVlansRetrieve +func NewIpamVlansRetrieveRequest(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("/ipam/vlans/%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 +} + +// NewIpamVlansPartialUpdateRequest calls the generic IpamVlansPartialUpdate builder with application/json body +func NewIpamVlansPartialUpdateRequest(server string, id openapi_types.UUID, body IpamVlansPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlansPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVlansPartialUpdateRequestWithBody generates requests for IpamVlansPartialUpdate with any type of body +func NewIpamVlansPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamVlansUpdateRequest calls the generic IpamVlansUpdate builder with application/json body +func NewIpamVlansUpdateRequest(server string, id openapi_types.UUID, body IpamVlansUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlansUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVlansUpdateRequestWithBody generates requests for IpamVlansUpdate with any type of body +func NewIpamVlansUpdateRequestWithBody(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/", 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 +} + +// NewIpamVrfsBulkDestroyRequest generates requests for IpamVrfsBulkDestroy +func NewIpamVrfsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vrfs/") + 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 +} + +// NewIpamVrfsListRequest generates requests for IpamVrfsList +func NewIpamVrfsListRequest(server string, params *IpamVrfsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vrfs/") + 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.EnforceUnique != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enforce_unique", runtime.ParamLocationQuery, *params.EnforceUnique); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExportTarget != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_target", runtime.ParamLocationQuery, *params.ExportTarget); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExportTargetN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_target__n", runtime.ParamLocationQuery, *params.ExportTargetN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExportTargetId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_target_id", runtime.ParamLocationQuery, *params.ExportTargetId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExportTargetIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "export_target_id__n", runtime.ParamLocationQuery, *params.ExportTargetIdN); err != nil { + return nil, err + } else if parsed, err := 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.ImportTarget != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_target", runtime.ParamLocationQuery, *params.ImportTarget); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImportTargetN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_target__n", runtime.ParamLocationQuery, *params.ImportTargetN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImportTargetId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_target_id", runtime.ParamLocationQuery, *params.ImportTargetId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImportTargetIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "import_target_id__n", runtime.ParamLocationQuery, *params.ImportTargetIdN); err != nil { + return nil, err + } else if parsed, err := 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.Rd != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd", runtime.ParamLocationQuery, *params.Rd); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__ic", runtime.ParamLocationQuery, *params.RdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__ie", runtime.ParamLocationQuery, *params.RdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__iew", runtime.ParamLocationQuery, *params.RdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__ire", runtime.ParamLocationQuery, *params.RdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__isw", runtime.ParamLocationQuery, *params.RdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__n", runtime.ParamLocationQuery, *params.RdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__nic", runtime.ParamLocationQuery, *params.RdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__nie", runtime.ParamLocationQuery, *params.RdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__niew", runtime.ParamLocationQuery, *params.RdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__nire", runtime.ParamLocationQuery, *params.RdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__nisw", runtime.ParamLocationQuery, *params.RdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__nre", runtime.ParamLocationQuery, *params.RdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rd__re", runtime.ParamLocationQuery, *params.RdRe); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewIpamVrfsBulkPartialUpdateRequest calls the generic IpamVrfsBulkPartialUpdate builder with application/json body +func NewIpamVrfsBulkPartialUpdateRequest(server string, body IpamVrfsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVrfsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVrfsBulkPartialUpdateRequestWithBody generates requests for IpamVrfsBulkPartialUpdate with any type of body +func NewIpamVrfsBulkPartialUpdateRequestWithBody(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("/ipam/vrfs/") + 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 +} + +// NewIpamVrfsCreateRequest calls the generic IpamVrfsCreate builder with application/json body +func NewIpamVrfsCreateRequest(server string, body IpamVrfsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVrfsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVrfsCreateRequestWithBody generates requests for IpamVrfsCreate with any type of body +func NewIpamVrfsCreateRequestWithBody(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("/ipam/vrfs/") + 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 +} + +// NewIpamVrfsBulkUpdateRequest calls the generic IpamVrfsBulkUpdate builder with application/json body +func NewIpamVrfsBulkUpdateRequest(server string, body IpamVrfsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVrfsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVrfsBulkUpdateRequestWithBody generates requests for IpamVrfsBulkUpdate with any type of body +func NewIpamVrfsBulkUpdateRequestWithBody(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("/ipam/vrfs/") + 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 +} + +// NewIpamVrfsDestroyRequest generates requests for IpamVrfsDestroy +func NewIpamVrfsDestroyRequest(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("/ipam/vrfs/%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 +} + +// NewIpamVrfsRetrieveRequest generates requests for IpamVrfsRetrieve +func NewIpamVrfsRetrieveRequest(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("/ipam/vrfs/%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 +} + +// NewIpamVrfsPartialUpdateRequest calls the generic IpamVrfsPartialUpdate builder with application/json body +func NewIpamVrfsPartialUpdateRequest(server string, id openapi_types.UUID, body IpamVrfsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVrfsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVrfsPartialUpdateRequestWithBody generates requests for IpamVrfsPartialUpdate with any type of body +func NewIpamVrfsPartialUpdateRequestWithBody(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/", 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 +} + +// NewIpamVrfsUpdateRequest calls the generic IpamVrfsUpdate builder with application/json body +func NewIpamVrfsUpdateRequest(server string, id openapi_types.UUID, body IpamVrfsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVrfsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVrfsUpdateRequestWithBody generates requests for IpamVrfsUpdate with any type of body +func NewIpamVrfsUpdateRequestWithBody(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/", 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 generates requests for PluginsChatopsAccessgrantBulkDestroy +func NewPluginsChatopsAccessgrantBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/chatops/accessgrant/") + 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 +} + +// NewPluginsChatopsAccessgrantListRequest generates requests for PluginsChatopsAccessgrantList +func NewPluginsChatopsAccessgrantListRequest(server string, params *PluginsChatopsAccessgrantListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/chatops/accessgrant/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Command != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command", runtime.ParamLocationQuery, *params.Command); err != nil { + return nil, err + } else if parsed, err := 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.GrantType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grant_type", runtime.ParamLocationQuery, *params.GrantType); err != nil { + return nil, err + } else if parsed, err := 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.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.Subcommand != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand", runtime.ParamLocationQuery, *params.Subcommand); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if 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 +} + +// NewPluginsChatopsAccessgrantBulkPartialUpdateRequest calls the generic PluginsChatopsAccessgrantBulkPartialUpdate builder with application/json body +func NewPluginsChatopsAccessgrantBulkPartialUpdateRequest(server string, body PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsAccessgrantBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsChatopsAccessgrantBulkPartialUpdateRequestWithBody generates requests for PluginsChatopsAccessgrantBulkPartialUpdate with any type of body +func NewPluginsChatopsAccessgrantBulkPartialUpdateRequestWithBody(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/chatops/accessgrant/") + 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 +} + +// NewPluginsChatopsAccessgrantCreateRequest calls the generic PluginsChatopsAccessgrantCreate builder with application/json body +func NewPluginsChatopsAccessgrantCreateRequest(server string, body PluginsChatopsAccessgrantCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsAccessgrantCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsChatopsAccessgrantCreateRequestWithBody generates requests for PluginsChatopsAccessgrantCreate with any type of body +func NewPluginsChatopsAccessgrantCreateRequestWithBody(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/chatops/accessgrant/") + 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 +} + +// NewPluginsChatopsAccessgrantBulkUpdateRequest calls the generic PluginsChatopsAccessgrantBulkUpdate builder with application/json body +func NewPluginsChatopsAccessgrantBulkUpdateRequest(server string, body PluginsChatopsAccessgrantBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsAccessgrantBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsChatopsAccessgrantBulkUpdateRequestWithBody generates requests for PluginsChatopsAccessgrantBulkUpdate with any type of body +func NewPluginsChatopsAccessgrantBulkUpdateRequestWithBody(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/chatops/accessgrant/") + 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 +} + +// NewPluginsChatopsAccessgrantDestroyRequest generates requests for PluginsChatopsAccessgrantDestroy +func NewPluginsChatopsAccessgrantDestroyRequest(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/chatops/accessgrant/%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 +} + +// NewPluginsChatopsAccessgrantRetrieveRequest generates requests for PluginsChatopsAccessgrantRetrieve +func NewPluginsChatopsAccessgrantRetrieveRequest(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/chatops/accessgrant/%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 +} + +// NewPluginsChatopsAccessgrantPartialUpdateRequest calls the generic PluginsChatopsAccessgrantPartialUpdate builder with application/json body +func NewPluginsChatopsAccessgrantPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsChatopsAccessgrantPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsAccessgrantPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsChatopsAccessgrantPartialUpdateRequestWithBody generates requests for PluginsChatopsAccessgrantPartialUpdate with any type of body +func NewPluginsChatopsAccessgrantPartialUpdateRequestWithBody(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/chatops/accessgrant/%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 +} + +// NewPluginsChatopsAccessgrantUpdateRequest calls the generic PluginsChatopsAccessgrantUpdate builder with application/json body +func NewPluginsChatopsAccessgrantUpdateRequest(server string, id openapi_types.UUID, body PluginsChatopsAccessgrantUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsAccessgrantUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsChatopsAccessgrantUpdateRequestWithBody generates requests for PluginsChatopsAccessgrantUpdate with any type of body +func NewPluginsChatopsAccessgrantUpdateRequestWithBody(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/chatops/accessgrant/%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 +} + +// NewPluginsChatopsCommandtokenBulkDestroyRequest generates requests for PluginsChatopsCommandtokenBulkDestroy +func NewPluginsChatopsCommandtokenBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/chatops/commandtoken/") + 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 +} + +// NewPluginsChatopsCommandtokenListRequest generates requests for PluginsChatopsCommandtokenList +func NewPluginsChatopsCommandtokenListRequest(server string, params *PluginsChatopsCommandtokenListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/chatops/commandtoken/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Comment != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { + return nil, err + } else if parsed, err := 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.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.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.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if 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 +} + +// NewPluginsChatopsCommandtokenBulkPartialUpdateRequest calls the generic PluginsChatopsCommandtokenBulkPartialUpdate builder with application/json body +func NewPluginsChatopsCommandtokenBulkPartialUpdateRequest(server string, body PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsCommandtokenBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsChatopsCommandtokenBulkPartialUpdateRequestWithBody generates requests for PluginsChatopsCommandtokenBulkPartialUpdate with any type of body +func NewPluginsChatopsCommandtokenBulkPartialUpdateRequestWithBody(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/chatops/commandtoken/") + 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 +} + +// NewPluginsChatopsCommandtokenCreateRequest calls the generic PluginsChatopsCommandtokenCreate builder with application/json body +func NewPluginsChatopsCommandtokenCreateRequest(server string, body PluginsChatopsCommandtokenCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsCommandtokenCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsChatopsCommandtokenCreateRequestWithBody generates requests for PluginsChatopsCommandtokenCreate with any type of body +func NewPluginsChatopsCommandtokenCreateRequestWithBody(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/chatops/commandtoken/") + 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 +} + +// NewPluginsChatopsCommandtokenBulkUpdateRequest calls the generic PluginsChatopsCommandtokenBulkUpdate builder with application/json body +func NewPluginsChatopsCommandtokenBulkUpdateRequest(server string, body PluginsChatopsCommandtokenBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsCommandtokenBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsChatopsCommandtokenBulkUpdateRequestWithBody generates requests for PluginsChatopsCommandtokenBulkUpdate with any type of body +func NewPluginsChatopsCommandtokenBulkUpdateRequestWithBody(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/chatops/commandtoken/") + 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 +} + +// NewPluginsChatopsCommandtokenDestroyRequest generates requests for PluginsChatopsCommandtokenDestroy +func NewPluginsChatopsCommandtokenDestroyRequest(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/chatops/commandtoken/%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 +} + +// NewPluginsChatopsCommandtokenRetrieveRequest generates requests for PluginsChatopsCommandtokenRetrieve +func NewPluginsChatopsCommandtokenRetrieveRequest(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/chatops/commandtoken/%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 +} + +// NewPluginsChatopsCommandtokenPartialUpdateRequest calls the generic PluginsChatopsCommandtokenPartialUpdate builder with application/json body +func NewPluginsChatopsCommandtokenPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsChatopsCommandtokenPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsCommandtokenPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsChatopsCommandtokenPartialUpdateRequestWithBody generates requests for PluginsChatopsCommandtokenPartialUpdate with any type of body +func NewPluginsChatopsCommandtokenPartialUpdateRequestWithBody(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/chatops/commandtoken/%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 +} + +// NewPluginsChatopsCommandtokenUpdateRequest calls the generic PluginsChatopsCommandtokenUpdate builder with application/json body +func NewPluginsChatopsCommandtokenUpdateRequest(server string, id openapi_types.UUID, body PluginsChatopsCommandtokenUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsCommandtokenUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsChatopsCommandtokenUpdateRequestWithBody generates requests for PluginsChatopsCommandtokenUpdate with any type of body +func NewPluginsChatopsCommandtokenUpdateRequestWithBody(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/chatops/commandtoken/%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 +} + +// NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest generates requests for PluginsCircuitMaintenanceCircuitimpactBulkDestroy +func NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/circuit-maintenance/circuitimpact/") + 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 +} + +// NewPluginsCircuitMaintenanceCircuitimpactListRequest generates requests for PluginsCircuitMaintenanceCircuitimpactList +func NewPluginsCircuitMaintenanceCircuitimpactListRequest(server string, params *PluginsCircuitMaintenanceCircuitimpactListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/circuit-maintenance/circuitimpact/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Circuit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "circuit", runtime.ParamLocationQuery, *params.Circuit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CircuitN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "circuit__n", runtime.ParamLocationQuery, *params.CircuitN); err != nil { + return nil, err + } else if parsed, err := 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.Impact != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "impact", runtime.ParamLocationQuery, *params.Impact); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImpactN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "impact__n", runtime.ParamLocationQuery, *params.ImpactN); err != nil { + return nil, err + } else if parsed, err := 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.Maintenance != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maintenance", runtime.ParamLocationQuery, *params.Maintenance); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaintenanceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maintenance__n", runtime.ParamLocationQuery, *params.MaintenanceN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateRequest calls the generic PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate builder with application/json body +func NewPluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateRequest(server string, body PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate with any type of body +func NewPluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateRequestWithBody(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/circuit-maintenance/circuitimpact/") + 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 +} + +// NewPluginsCircuitMaintenanceCircuitimpactCreateRequest calls the generic PluginsCircuitMaintenanceCircuitimpactCreate builder with application/json body +func NewPluginsCircuitMaintenanceCircuitimpactCreateRequest(server string, body PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceCircuitimpactCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceCircuitimpactCreateRequestWithBody generates requests for PluginsCircuitMaintenanceCircuitimpactCreate with any type of body +func NewPluginsCircuitMaintenanceCircuitimpactCreateRequestWithBody(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/circuit-maintenance/circuitimpact/") + 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 +} + +// NewPluginsCircuitMaintenanceCircuitimpactBulkUpdateRequest calls the generic PluginsCircuitMaintenanceCircuitimpactBulkUpdate builder with application/json body +func NewPluginsCircuitMaintenanceCircuitimpactBulkUpdateRequest(server string, body PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceCircuitimpactBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceCircuitimpactBulkUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceCircuitimpactBulkUpdate with any type of body +func NewPluginsCircuitMaintenanceCircuitimpactBulkUpdateRequestWithBody(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/circuit-maintenance/circuitimpact/") + 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 +} + +// NewPluginsCircuitMaintenanceCircuitimpactDestroyRequest generates requests for PluginsCircuitMaintenanceCircuitimpactDestroy +func NewPluginsCircuitMaintenanceCircuitimpactDestroyRequest(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/circuit-maintenance/circuitimpact/%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 +} + +// NewPluginsCircuitMaintenanceCircuitimpactRetrieveRequest generates requests for PluginsCircuitMaintenanceCircuitimpactRetrieve +func NewPluginsCircuitMaintenanceCircuitimpactRetrieveRequest(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/circuit-maintenance/circuitimpact/%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 +} + +// NewPluginsCircuitMaintenanceCircuitimpactPartialUpdateRequest calls the generic PluginsCircuitMaintenanceCircuitimpactPartialUpdate builder with application/json body +func NewPluginsCircuitMaintenanceCircuitimpactPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceCircuitimpactPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceCircuitimpactPartialUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceCircuitimpactPartialUpdate with any type of body +func NewPluginsCircuitMaintenanceCircuitimpactPartialUpdateRequestWithBody(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/circuit-maintenance/circuitimpact/%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 +} + +// NewPluginsCircuitMaintenanceCircuitimpactUpdateRequest calls the generic PluginsCircuitMaintenanceCircuitimpactUpdate builder with application/json body +func NewPluginsCircuitMaintenanceCircuitimpactUpdateRequest(server string, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceCircuitimpactUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceCircuitimpactUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceCircuitimpactUpdate with any type of body +func NewPluginsCircuitMaintenanceCircuitimpactUpdateRequestWithBody(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/circuit-maintenance/circuitimpact/%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 +} + +// NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest generates requests for PluginsCircuitMaintenanceMaintenanceBulkDestroy +func NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/circuit-maintenance/maintenance/") + 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 +} + +// NewPluginsCircuitMaintenanceMaintenanceListRequest generates requests for PluginsCircuitMaintenanceMaintenanceList +func NewPluginsCircuitMaintenanceMaintenanceListRequest(server string, params *PluginsCircuitMaintenanceMaintenanceListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/circuit-maintenance/maintenance/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Ack != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ack", runtime.ParamLocationQuery, *params.Ack); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Circuit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "circuit", runtime.ParamLocationQuery, *params.Circuit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndTime != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_time", runtime.ParamLocationQuery, *params.EndTime); err != nil { + return nil, err + } else if parsed, err := 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.Provider != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider", runtime.ParamLocationQuery, *params.Provider); err != nil { + return nil, err + } else if parsed, err := 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.StartTime != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start_time", runtime.ParamLocationQuery, *params.StartTime); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsCircuitMaintenanceMaintenanceBulkPartialUpdateRequest calls the generic PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate builder with application/json body +func NewPluginsCircuitMaintenanceMaintenanceBulkPartialUpdateRequest(server string, body PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceMaintenanceBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceMaintenanceBulkPartialUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate with any type of body +func NewPluginsCircuitMaintenanceMaintenanceBulkPartialUpdateRequestWithBody(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/circuit-maintenance/maintenance/") + 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 +} + +// NewPluginsCircuitMaintenanceMaintenanceCreateRequest calls the generic PluginsCircuitMaintenanceMaintenanceCreate builder with application/json body +func NewPluginsCircuitMaintenanceMaintenanceCreateRequest(server string, body PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceMaintenanceCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceMaintenanceCreateRequestWithBody generates requests for PluginsCircuitMaintenanceMaintenanceCreate with any type of body +func NewPluginsCircuitMaintenanceMaintenanceCreateRequestWithBody(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/circuit-maintenance/maintenance/") + 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 +} + +// NewPluginsCircuitMaintenanceMaintenanceBulkUpdateRequest calls the generic PluginsCircuitMaintenanceMaintenanceBulkUpdate builder with application/json body +func NewPluginsCircuitMaintenanceMaintenanceBulkUpdateRequest(server string, body PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceMaintenanceBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceMaintenanceBulkUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceMaintenanceBulkUpdate with any type of body +func NewPluginsCircuitMaintenanceMaintenanceBulkUpdateRequestWithBody(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/circuit-maintenance/maintenance/") + 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 +} + +// NewPluginsCircuitMaintenanceMaintenanceDestroyRequest generates requests for PluginsCircuitMaintenanceMaintenanceDestroy +func NewPluginsCircuitMaintenanceMaintenanceDestroyRequest(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/circuit-maintenance/maintenance/%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 +} + +// NewPluginsCircuitMaintenanceMaintenanceRetrieveRequest generates requests for PluginsCircuitMaintenanceMaintenanceRetrieve +func NewPluginsCircuitMaintenanceMaintenanceRetrieveRequest(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/circuit-maintenance/maintenance/%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 +} + +// NewPluginsCircuitMaintenanceMaintenancePartialUpdateRequest calls the generic PluginsCircuitMaintenanceMaintenancePartialUpdate builder with application/json body +func NewPluginsCircuitMaintenanceMaintenancePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceMaintenancePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceMaintenancePartialUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceMaintenancePartialUpdate with any type of body +func NewPluginsCircuitMaintenanceMaintenancePartialUpdateRequestWithBody(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/circuit-maintenance/maintenance/%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 +} + +// NewPluginsCircuitMaintenanceMaintenanceUpdateRequest calls the generic PluginsCircuitMaintenanceMaintenanceUpdate builder with application/json body +func NewPluginsCircuitMaintenanceMaintenanceUpdateRequest(server string, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceMaintenanceUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceMaintenanceUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceMaintenanceUpdate with any type of body +func NewPluginsCircuitMaintenanceMaintenanceUpdateRequestWithBody(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/circuit-maintenance/maintenance/%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 +} + +// NewPluginsCircuitMaintenanceNoteBulkDestroyRequest generates requests for PluginsCircuitMaintenanceNoteBulkDestroy +func NewPluginsCircuitMaintenanceNoteBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/circuit-maintenance/note/") + 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 +} + +// NewPluginsCircuitMaintenanceNoteListRequest generates requests for PluginsCircuitMaintenanceNoteList +func NewPluginsCircuitMaintenanceNoteListRequest(server string, params *PluginsCircuitMaintenanceNoteListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/circuit-maintenance/note/") + 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 +} + +// NewPluginsCircuitMaintenanceNoteBulkPartialUpdateRequest calls the generic PluginsCircuitMaintenanceNoteBulkPartialUpdate builder with application/json body +func NewPluginsCircuitMaintenanceNoteBulkPartialUpdateRequest(server string, body PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceNoteBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceNoteBulkPartialUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceNoteBulkPartialUpdate with any type of body +func NewPluginsCircuitMaintenanceNoteBulkPartialUpdateRequestWithBody(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/circuit-maintenance/note/") + 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 +} + +// NewPluginsCircuitMaintenanceNoteCreateRequest calls the generic PluginsCircuitMaintenanceNoteCreate builder with application/json body +func NewPluginsCircuitMaintenanceNoteCreateRequest(server string, body PluginsCircuitMaintenanceNoteCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceNoteCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceNoteCreateRequestWithBody generates requests for PluginsCircuitMaintenanceNoteCreate with any type of body +func NewPluginsCircuitMaintenanceNoteCreateRequestWithBody(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/circuit-maintenance/note/") + 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 +} + +// NewPluginsCircuitMaintenanceNoteBulkUpdateRequest calls the generic PluginsCircuitMaintenanceNoteBulkUpdate builder with application/json body +func NewPluginsCircuitMaintenanceNoteBulkUpdateRequest(server string, body PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceNoteBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceNoteBulkUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceNoteBulkUpdate with any type of body +func NewPluginsCircuitMaintenanceNoteBulkUpdateRequestWithBody(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/circuit-maintenance/note/") + 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 +} + +// NewPluginsCircuitMaintenanceNoteDestroyRequest generates requests for PluginsCircuitMaintenanceNoteDestroy +func NewPluginsCircuitMaintenanceNoteDestroyRequest(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/circuit-maintenance/note/%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 +} + +// NewPluginsCircuitMaintenanceNoteRetrieveRequest generates requests for PluginsCircuitMaintenanceNoteRetrieve +func NewPluginsCircuitMaintenanceNoteRetrieveRequest(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/circuit-maintenance/note/%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 +} + +// NewPluginsCircuitMaintenanceNotePartialUpdateRequest calls the generic PluginsCircuitMaintenanceNotePartialUpdate builder with application/json body +func NewPluginsCircuitMaintenanceNotePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceNotePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceNotePartialUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceNotePartialUpdate with any type of body +func NewPluginsCircuitMaintenanceNotePartialUpdateRequestWithBody(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/circuit-maintenance/note/%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 +} + +// NewPluginsCircuitMaintenanceNoteUpdateRequest calls the generic PluginsCircuitMaintenanceNoteUpdate builder with application/json body +func NewPluginsCircuitMaintenanceNoteUpdateRequest(server string, id openapi_types.UUID, body PluginsCircuitMaintenanceNoteUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceNoteUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceNoteUpdateRequestWithBody generates requests for PluginsCircuitMaintenanceNoteUpdate with any type of body +func NewPluginsCircuitMaintenanceNoteUpdateRequestWithBody(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/circuit-maintenance/note/%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 +} + +// NewPluginsCircuitMaintenanceNotificationsourceListRequest generates requests for PluginsCircuitMaintenanceNotificationsourceList +func NewPluginsCircuitMaintenanceNotificationsourceListRequest(server string, params *PluginsCircuitMaintenanceNotificationsourceListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/circuit-maintenance/notificationsource/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AttachAllProviders != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "attach_all_providers", runtime.ParamLocationQuery, *params.AttachAllProviders); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsCircuitMaintenanceNotificationsourceRetrieveRequest generates requests for PluginsCircuitMaintenanceNotificationsourceRetrieve +func NewPluginsCircuitMaintenanceNotificationsourceRetrieveRequest(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/circuit-maintenance/notificationsource/%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 +} + +// NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest generates requests for PluginsDataValidationEngineRulesMinMaxBulkDestroy +func NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/data-validation-engine/rules/min-max/") + 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 +} + +// NewPluginsDataValidationEngineRulesMinMaxListRequest generates requests for PluginsDataValidationEngineRulesMinMaxList +func NewPluginsDataValidationEngineRulesMinMaxListRequest(server string, params *PluginsDataValidationEngineRulesMinMaxListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/data-validation-engine/rules/min-max/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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.ErrorMessage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message", runtime.ParamLocationQuery, *params.ErrorMessage); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__ic", runtime.ParamLocationQuery, *params.ErrorMessageIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__ie", runtime.ParamLocationQuery, *params.ErrorMessageIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__iew", runtime.ParamLocationQuery, *params.ErrorMessageIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__ire", runtime.ParamLocationQuery, *params.ErrorMessageIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__isw", runtime.ParamLocationQuery, *params.ErrorMessageIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__n", runtime.ParamLocationQuery, *params.ErrorMessageN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nic", runtime.ParamLocationQuery, *params.ErrorMessageNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nie", runtime.ParamLocationQuery, *params.ErrorMessageNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__niew", runtime.ParamLocationQuery, *params.ErrorMessageNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nire", runtime.ParamLocationQuery, *params.ErrorMessageNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nisw", runtime.ParamLocationQuery, *params.ErrorMessageNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nre", runtime.ParamLocationQuery, *params.ErrorMessageNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__re", runtime.ParamLocationQuery, *params.ErrorMessageRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Field != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field", runtime.ParamLocationQuery, *params.Field); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__ic", runtime.ParamLocationQuery, *params.FieldIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__ie", runtime.ParamLocationQuery, *params.FieldIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__iew", runtime.ParamLocationQuery, *params.FieldIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__ire", runtime.ParamLocationQuery, *params.FieldIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__isw", runtime.ParamLocationQuery, *params.FieldIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__n", runtime.ParamLocationQuery, *params.FieldN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nic", runtime.ParamLocationQuery, *params.FieldNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nie", runtime.ParamLocationQuery, *params.FieldNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__niew", runtime.ParamLocationQuery, *params.FieldNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nire", runtime.ParamLocationQuery, *params.FieldNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nisw", runtime.ParamLocationQuery, *params.FieldNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nre", runtime.ParamLocationQuery, *params.FieldNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__re", runtime.ParamLocationQuery, *params.FieldRe); err != nil { + return nil, err + } else if parsed, err := 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.Max != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max", runtime.ParamLocationQuery, *params.Max); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max__gt", runtime.ParamLocationQuery, *params.MaxGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max__gte", runtime.ParamLocationQuery, *params.MaxGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max__lt", runtime.ParamLocationQuery, *params.MaxLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max__lte", runtime.ParamLocationQuery, *params.MaxLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MaxN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "max__n", runtime.ParamLocationQuery, *params.MaxN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Min != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min", runtime.ParamLocationQuery, *params.Min); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min__gt", runtime.ParamLocationQuery, *params.MinGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min__gte", runtime.ParamLocationQuery, *params.MinGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min__lt", runtime.ParamLocationQuery, *params.MinLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min__lte", runtime.ParamLocationQuery, *params.MinLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MinN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "min__n", runtime.ParamLocationQuery, *params.MinN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsDataValidationEngineRulesMinMaxBulkPartialUpdateRequest calls the generic PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate builder with application/json body +func NewPluginsDataValidationEngineRulesMinMaxBulkPartialUpdateRequest(server string, body PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesMinMaxBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesMinMaxBulkPartialUpdateRequestWithBody generates requests for PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate with any type of body +func NewPluginsDataValidationEngineRulesMinMaxBulkPartialUpdateRequestWithBody(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/data-validation-engine/rules/min-max/") + 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 +} + +// NewPluginsDataValidationEngineRulesMinMaxCreateRequest calls the generic PluginsDataValidationEngineRulesMinMaxCreate builder with application/json body +func NewPluginsDataValidationEngineRulesMinMaxCreateRequest(server string, body PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesMinMaxCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesMinMaxCreateRequestWithBody generates requests for PluginsDataValidationEngineRulesMinMaxCreate with any type of body +func NewPluginsDataValidationEngineRulesMinMaxCreateRequestWithBody(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/data-validation-engine/rules/min-max/") + 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 +} + +// NewPluginsDataValidationEngineRulesMinMaxBulkUpdateRequest calls the generic PluginsDataValidationEngineRulesMinMaxBulkUpdate builder with application/json body +func NewPluginsDataValidationEngineRulesMinMaxBulkUpdateRequest(server string, body PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesMinMaxBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesMinMaxBulkUpdateRequestWithBody generates requests for PluginsDataValidationEngineRulesMinMaxBulkUpdate with any type of body +func NewPluginsDataValidationEngineRulesMinMaxBulkUpdateRequestWithBody(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/data-validation-engine/rules/min-max/") + 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 +} + +// NewPluginsDataValidationEngineRulesMinMaxDestroyRequest generates requests for PluginsDataValidationEngineRulesMinMaxDestroy +func NewPluginsDataValidationEngineRulesMinMaxDestroyRequest(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/data-validation-engine/rules/min-max/%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 +} + +// NewPluginsDataValidationEngineRulesMinMaxRetrieveRequest generates requests for PluginsDataValidationEngineRulesMinMaxRetrieve +func NewPluginsDataValidationEngineRulesMinMaxRetrieveRequest(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/data-validation-engine/rules/min-max/%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 +} + +// NewPluginsDataValidationEngineRulesMinMaxPartialUpdateRequest calls the generic PluginsDataValidationEngineRulesMinMaxPartialUpdate builder with application/json body +func NewPluginsDataValidationEngineRulesMinMaxPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesMinMaxPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesMinMaxPartialUpdateRequestWithBody generates requests for PluginsDataValidationEngineRulesMinMaxPartialUpdate with any type of body +func NewPluginsDataValidationEngineRulesMinMaxPartialUpdateRequestWithBody(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/data-validation-engine/rules/min-max/%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 +} + +// NewPluginsDataValidationEngineRulesMinMaxUpdateRequest calls the generic PluginsDataValidationEngineRulesMinMaxUpdate builder with application/json body +func NewPluginsDataValidationEngineRulesMinMaxUpdateRequest(server string, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesMinMaxUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesMinMaxUpdateRequestWithBody generates requests for PluginsDataValidationEngineRulesMinMaxUpdate with any type of body +func NewPluginsDataValidationEngineRulesMinMaxUpdateRequestWithBody(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/data-validation-engine/rules/min-max/%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 +} + +// NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest generates requests for PluginsDataValidationEngineRulesRegexBulkDestroy +func NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/data-validation-engine/rules/regex/") + 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 +} + +// NewPluginsDataValidationEngineRulesRegexListRequest generates requests for PluginsDataValidationEngineRulesRegexList +func NewPluginsDataValidationEngineRulesRegexListRequest(server string, params *PluginsDataValidationEngineRulesRegexListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/data-validation-engine/rules/regex/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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.ErrorMessage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message", runtime.ParamLocationQuery, *params.ErrorMessage); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__ic", runtime.ParamLocationQuery, *params.ErrorMessageIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__ie", runtime.ParamLocationQuery, *params.ErrorMessageIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__iew", runtime.ParamLocationQuery, *params.ErrorMessageIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__ire", runtime.ParamLocationQuery, *params.ErrorMessageIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__isw", runtime.ParamLocationQuery, *params.ErrorMessageIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__n", runtime.ParamLocationQuery, *params.ErrorMessageN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nic", runtime.ParamLocationQuery, *params.ErrorMessageNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nie", runtime.ParamLocationQuery, *params.ErrorMessageNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__niew", runtime.ParamLocationQuery, *params.ErrorMessageNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nire", runtime.ParamLocationQuery, *params.ErrorMessageNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nisw", runtime.ParamLocationQuery, *params.ErrorMessageNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__nre", runtime.ParamLocationQuery, *params.ErrorMessageNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ErrorMessageRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "error_message__re", runtime.ParamLocationQuery, *params.ErrorMessageRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Field != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field", runtime.ParamLocationQuery, *params.Field); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__ic", runtime.ParamLocationQuery, *params.FieldIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__ie", runtime.ParamLocationQuery, *params.FieldIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__iew", runtime.ParamLocationQuery, *params.FieldIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__ire", runtime.ParamLocationQuery, *params.FieldIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__isw", runtime.ParamLocationQuery, *params.FieldIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__n", runtime.ParamLocationQuery, *params.FieldN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nic", runtime.ParamLocationQuery, *params.FieldNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nie", runtime.ParamLocationQuery, *params.FieldNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__niew", runtime.ParamLocationQuery, *params.FieldNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nire", runtime.ParamLocationQuery, *params.FieldNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nisw", runtime.ParamLocationQuery, *params.FieldNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__nre", runtime.ParamLocationQuery, *params.FieldNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FieldRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "field__re", runtime.ParamLocationQuery, *params.FieldRe); err != nil { + return nil, err + } else if parsed, err := 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.RegularExpression != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression", runtime.ParamLocationQuery, *params.RegularExpression); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__ic", runtime.ParamLocationQuery, *params.RegularExpressionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__ie", runtime.ParamLocationQuery, *params.RegularExpressionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__iew", runtime.ParamLocationQuery, *params.RegularExpressionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__ire", runtime.ParamLocationQuery, *params.RegularExpressionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__isw", runtime.ParamLocationQuery, *params.RegularExpressionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__n", runtime.ParamLocationQuery, *params.RegularExpressionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__nic", runtime.ParamLocationQuery, *params.RegularExpressionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__nie", runtime.ParamLocationQuery, *params.RegularExpressionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__niew", runtime.ParamLocationQuery, *params.RegularExpressionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__nire", runtime.ParamLocationQuery, *params.RegularExpressionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__nisw", runtime.ParamLocationQuery, *params.RegularExpressionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__nre", runtime.ParamLocationQuery, *params.RegularExpressionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegularExpressionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "regular_expression__re", runtime.ParamLocationQuery, *params.RegularExpressionRe); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsDataValidationEngineRulesRegexBulkPartialUpdateRequest calls the generic PluginsDataValidationEngineRulesRegexBulkPartialUpdate builder with application/json body +func NewPluginsDataValidationEngineRulesRegexBulkPartialUpdateRequest(server string, body PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesRegexBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesRegexBulkPartialUpdateRequestWithBody generates requests for PluginsDataValidationEngineRulesRegexBulkPartialUpdate with any type of body +func NewPluginsDataValidationEngineRulesRegexBulkPartialUpdateRequestWithBody(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/data-validation-engine/rules/regex/") + 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 +} + +// NewPluginsDataValidationEngineRulesRegexCreateRequest calls the generic PluginsDataValidationEngineRulesRegexCreate builder with application/json body +func NewPluginsDataValidationEngineRulesRegexCreateRequest(server string, body PluginsDataValidationEngineRulesRegexCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesRegexCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesRegexCreateRequestWithBody generates requests for PluginsDataValidationEngineRulesRegexCreate with any type of body +func NewPluginsDataValidationEngineRulesRegexCreateRequestWithBody(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/data-validation-engine/rules/regex/") + 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 +} + +// NewPluginsDataValidationEngineRulesRegexBulkUpdateRequest calls the generic PluginsDataValidationEngineRulesRegexBulkUpdate builder with application/json body +func NewPluginsDataValidationEngineRulesRegexBulkUpdateRequest(server string, body PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesRegexBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesRegexBulkUpdateRequestWithBody generates requests for PluginsDataValidationEngineRulesRegexBulkUpdate with any type of body +func NewPluginsDataValidationEngineRulesRegexBulkUpdateRequestWithBody(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/data-validation-engine/rules/regex/") + 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 +} + +// NewPluginsDataValidationEngineRulesRegexDestroyRequest generates requests for PluginsDataValidationEngineRulesRegexDestroy +func NewPluginsDataValidationEngineRulesRegexDestroyRequest(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/data-validation-engine/rules/regex/%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 +} + +// NewPluginsDataValidationEngineRulesRegexRetrieveRequest generates requests for PluginsDataValidationEngineRulesRegexRetrieve +func NewPluginsDataValidationEngineRulesRegexRetrieveRequest(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/data-validation-engine/rules/regex/%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 +} + +// NewPluginsDataValidationEngineRulesRegexPartialUpdateRequest calls the generic PluginsDataValidationEngineRulesRegexPartialUpdate builder with application/json body +func NewPluginsDataValidationEngineRulesRegexPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesRegexPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesRegexPartialUpdateRequestWithBody generates requests for PluginsDataValidationEngineRulesRegexPartialUpdate with any type of body +func NewPluginsDataValidationEngineRulesRegexPartialUpdateRequestWithBody(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/data-validation-engine/rules/regex/%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 +} + +// NewPluginsDataValidationEngineRulesRegexUpdateRequest calls the generic PluginsDataValidationEngineRulesRegexUpdate builder with application/json body +func NewPluginsDataValidationEngineRulesRegexUpdateRequest(server string, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesRegexUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesRegexUpdateRequestWithBody generates requests for PluginsDataValidationEngineRulesRegexUpdate with any type of body +func NewPluginsDataValidationEngineRulesRegexUpdateRequestWithBody(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/data-validation-engine/rules/regex/%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 +} + +// NewPluginsDeviceOnboardingOnboardingListRequest generates requests for PluginsDeviceOnboardingOnboardingList +func NewPluginsDeviceOnboardingOnboardingListRequest(server string, params *PluginsDeviceOnboardingOnboardingListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/device-onboarding/onboarding/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.FailedReason != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "failed_reason", runtime.ParamLocationQuery, *params.FailedReason); err != nil { + return nil, err + } else if parsed, err := 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.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.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if parsed, err := 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.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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsDeviceOnboardingOnboardingCreateRequest calls the generic PluginsDeviceOnboardingOnboardingCreate builder with application/json body +func NewPluginsDeviceOnboardingOnboardingCreateRequest(server string, body PluginsDeviceOnboardingOnboardingCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDeviceOnboardingOnboardingCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsDeviceOnboardingOnboardingCreateRequestWithBody generates requests for PluginsDeviceOnboardingOnboardingCreate with any type of body +func NewPluginsDeviceOnboardingOnboardingCreateRequestWithBody(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/device-onboarding/onboarding/") + 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 +} + +// NewPluginsDeviceOnboardingOnboardingDestroyRequest generates requests for PluginsDeviceOnboardingOnboardingDestroy +func NewPluginsDeviceOnboardingOnboardingDestroyRequest(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/device-onboarding/onboarding/%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 +} + +// NewPluginsDeviceOnboardingOnboardingRetrieveRequest generates requests for PluginsDeviceOnboardingOnboardingRetrieve +func NewPluginsDeviceOnboardingOnboardingRetrieveRequest(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/device-onboarding/onboarding/%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 +} + +// NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest generates requests for PluginsGoldenConfigComplianceFeatureBulkDestroy +func NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/compliance-feature/") + 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 +} + +// NewPluginsGoldenConfigComplianceFeatureListRequest generates requests for PluginsGoldenConfigComplianceFeatureList +func NewPluginsGoldenConfigComplianceFeatureListRequest(server string, params *PluginsGoldenConfigComplianceFeatureListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/compliance-feature/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + 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.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.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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsGoldenConfigComplianceFeatureBulkPartialUpdateRequest calls the generic PluginsGoldenConfigComplianceFeatureBulkPartialUpdate builder with application/json body +func NewPluginsGoldenConfigComplianceFeatureBulkPartialUpdateRequest(server string, body PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceFeatureBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceFeatureBulkPartialUpdateRequestWithBody generates requests for PluginsGoldenConfigComplianceFeatureBulkPartialUpdate with any type of body +func NewPluginsGoldenConfigComplianceFeatureBulkPartialUpdateRequestWithBody(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/golden-config/compliance-feature/") + 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 +} + +// NewPluginsGoldenConfigComplianceFeatureCreateRequest calls the generic PluginsGoldenConfigComplianceFeatureCreate builder with application/json body +func NewPluginsGoldenConfigComplianceFeatureCreateRequest(server string, body PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceFeatureCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceFeatureCreateRequestWithBody generates requests for PluginsGoldenConfigComplianceFeatureCreate with any type of body +func NewPluginsGoldenConfigComplianceFeatureCreateRequestWithBody(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/golden-config/compliance-feature/") + 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 +} + +// NewPluginsGoldenConfigComplianceFeatureBulkUpdateRequest calls the generic PluginsGoldenConfigComplianceFeatureBulkUpdate builder with application/json body +func NewPluginsGoldenConfigComplianceFeatureBulkUpdateRequest(server string, body PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceFeatureBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceFeatureBulkUpdateRequestWithBody generates requests for PluginsGoldenConfigComplianceFeatureBulkUpdate with any type of body +func NewPluginsGoldenConfigComplianceFeatureBulkUpdateRequestWithBody(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/golden-config/compliance-feature/") + 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 +} + +// NewPluginsGoldenConfigComplianceFeatureDestroyRequest generates requests for PluginsGoldenConfigComplianceFeatureDestroy +func NewPluginsGoldenConfigComplianceFeatureDestroyRequest(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/compliance-feature/%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 +} + +// NewPluginsGoldenConfigComplianceFeatureRetrieveRequest generates requests for PluginsGoldenConfigComplianceFeatureRetrieve +func NewPluginsGoldenConfigComplianceFeatureRetrieveRequest(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/compliance-feature/%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 +} + +// NewPluginsGoldenConfigComplianceFeaturePartialUpdateRequest calls the generic PluginsGoldenConfigComplianceFeaturePartialUpdate builder with application/json body +func NewPluginsGoldenConfigComplianceFeaturePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceFeaturePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceFeaturePartialUpdateRequestWithBody generates requests for PluginsGoldenConfigComplianceFeaturePartialUpdate with any type of body +func NewPluginsGoldenConfigComplianceFeaturePartialUpdateRequestWithBody(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/golden-config/compliance-feature/%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 +} + +// NewPluginsGoldenConfigComplianceFeatureUpdateRequest calls the generic PluginsGoldenConfigComplianceFeatureUpdate builder with application/json body +func NewPluginsGoldenConfigComplianceFeatureUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceFeatureUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceFeatureUpdateRequestWithBody generates requests for PluginsGoldenConfigComplianceFeatureUpdate with any type of body +func NewPluginsGoldenConfigComplianceFeatureUpdateRequestWithBody(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/golden-config/compliance-feature/%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 +} + +// NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest generates requests for PluginsGoldenConfigComplianceRuleBulkDestroy +func NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/compliance-rule/") + 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 +} + +// NewPluginsGoldenConfigComplianceRuleListRequest generates requests for PluginsGoldenConfigComplianceRuleList +func NewPluginsGoldenConfigComplianceRuleListRequest(server string, params *PluginsGoldenConfigComplianceRuleListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/compliance-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Feature != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "feature", runtime.ParamLocationQuery, *params.Feature); err != nil { + return nil, err + } else if parsed, err := 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.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.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PlatformId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id", runtime.ParamLocationQuery, *params.PlatformId); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsGoldenConfigComplianceRuleBulkPartialUpdateRequest calls the generic PluginsGoldenConfigComplianceRuleBulkPartialUpdate builder with application/json body +func NewPluginsGoldenConfigComplianceRuleBulkPartialUpdateRequest(server string, body PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceRuleBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceRuleBulkPartialUpdateRequestWithBody generates requests for PluginsGoldenConfigComplianceRuleBulkPartialUpdate with any type of body +func NewPluginsGoldenConfigComplianceRuleBulkPartialUpdateRequestWithBody(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/golden-config/compliance-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 +} + +// NewPluginsGoldenConfigComplianceRuleCreateRequest calls the generic PluginsGoldenConfigComplianceRuleCreate builder with application/json body +func NewPluginsGoldenConfigComplianceRuleCreateRequest(server string, body PluginsGoldenConfigComplianceRuleCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceRuleCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceRuleCreateRequestWithBody generates requests for PluginsGoldenConfigComplianceRuleCreate with any type of body +func NewPluginsGoldenConfigComplianceRuleCreateRequestWithBody(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/golden-config/compliance-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 +} + +// NewPluginsGoldenConfigComplianceRuleBulkUpdateRequest calls the generic PluginsGoldenConfigComplianceRuleBulkUpdate builder with application/json body +func NewPluginsGoldenConfigComplianceRuleBulkUpdateRequest(server string, body PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceRuleBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceRuleBulkUpdateRequestWithBody generates requests for PluginsGoldenConfigComplianceRuleBulkUpdate with any type of body +func NewPluginsGoldenConfigComplianceRuleBulkUpdateRequestWithBody(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/golden-config/compliance-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 +} + +// NewPluginsGoldenConfigComplianceRuleDestroyRequest generates requests for PluginsGoldenConfigComplianceRuleDestroy +func NewPluginsGoldenConfigComplianceRuleDestroyRequest(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/compliance-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 +} + +// NewPluginsGoldenConfigComplianceRuleRetrieveRequest generates requests for PluginsGoldenConfigComplianceRuleRetrieve +func NewPluginsGoldenConfigComplianceRuleRetrieveRequest(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/compliance-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 +} + +// NewPluginsGoldenConfigComplianceRulePartialUpdateRequest calls the generic PluginsGoldenConfigComplianceRulePartialUpdate builder with application/json body +func NewPluginsGoldenConfigComplianceRulePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceRulePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceRulePartialUpdateRequestWithBody generates requests for PluginsGoldenConfigComplianceRulePartialUpdate with any type of body +func NewPluginsGoldenConfigComplianceRulePartialUpdateRequestWithBody(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/golden-config/compliance-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 +} + +// NewPluginsGoldenConfigComplianceRuleUpdateRequest calls the generic PluginsGoldenConfigComplianceRuleUpdate builder with application/json body +func NewPluginsGoldenConfigComplianceRuleUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceRuleUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceRuleUpdateRequestWithBody generates requests for PluginsGoldenConfigComplianceRuleUpdate with any type of body +func NewPluginsGoldenConfigComplianceRuleUpdateRequestWithBody(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/golden-config/compliance-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 +} + +// NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest generates requests for PluginsGoldenConfigConfigComplianceBulkDestroy +func NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/config-compliance/") + 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 +} + +// NewPluginsGoldenConfigConfigComplianceListRequest generates requests for PluginsGoldenConfigConfigComplianceList +func NewPluginsGoldenConfigConfigComplianceListRequest(server string, params *PluginsGoldenConfigConfigComplianceListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/config-compliance/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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.DeviceStatus != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_status", runtime.ParamLocationQuery, *params.DeviceStatus); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceStatusId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_status_id", runtime.ParamLocationQuery, *params.DeviceStatusId); err != nil { + return nil, err + } else if parsed, err := 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.DeviceTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type_id", runtime.ParamLocationQuery, *params.DeviceTypeId); err != nil { + return nil, err + } else if parsed, err := 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.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.Manufacturer != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer", runtime.ParamLocationQuery, *params.Manufacturer); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id", runtime.ParamLocationQuery, *params.ManufacturerId); err != nil { + return nil, err + } else if parsed, err := 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.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PlatformId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id", runtime.ParamLocationQuery, *params.PlatformId); err != nil { + return nil, err + } else if parsed, err := 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.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.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.RackGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_group_id", runtime.ParamLocationQuery, *params.RackGroupId); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.RoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id", runtime.ParamLocationQuery, *params.RoleId); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsGoldenConfigConfigComplianceBulkPartialUpdateRequest calls the generic PluginsGoldenConfigConfigComplianceBulkPartialUpdate builder with application/json body +func NewPluginsGoldenConfigConfigComplianceBulkPartialUpdateRequest(server string, body PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigComplianceBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigComplianceBulkPartialUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigComplianceBulkPartialUpdate with any type of body +func NewPluginsGoldenConfigConfigComplianceBulkPartialUpdateRequestWithBody(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/golden-config/config-compliance/") + 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 +} + +// NewPluginsGoldenConfigConfigComplianceCreateRequest calls the generic PluginsGoldenConfigConfigComplianceCreate builder with application/json body +func NewPluginsGoldenConfigConfigComplianceCreateRequest(server string, body PluginsGoldenConfigConfigComplianceCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigComplianceCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigComplianceCreateRequestWithBody generates requests for PluginsGoldenConfigConfigComplianceCreate with any type of body +func NewPluginsGoldenConfigConfigComplianceCreateRequestWithBody(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/golden-config/config-compliance/") + 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 +} + +// NewPluginsGoldenConfigConfigComplianceBulkUpdateRequest calls the generic PluginsGoldenConfigConfigComplianceBulkUpdate builder with application/json body +func NewPluginsGoldenConfigConfigComplianceBulkUpdateRequest(server string, body PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigComplianceBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigComplianceBulkUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigComplianceBulkUpdate with any type of body +func NewPluginsGoldenConfigConfigComplianceBulkUpdateRequestWithBody(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/golden-config/config-compliance/") + 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 +} + +// NewPluginsGoldenConfigConfigComplianceDestroyRequest generates requests for PluginsGoldenConfigConfigComplianceDestroy +func NewPluginsGoldenConfigConfigComplianceDestroyRequest(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-compliance/%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 +} + +// NewPluginsGoldenConfigConfigComplianceRetrieveRequest generates requests for PluginsGoldenConfigConfigComplianceRetrieve +func NewPluginsGoldenConfigConfigComplianceRetrieveRequest(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-compliance/%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 +} + +// NewPluginsGoldenConfigConfigCompliancePartialUpdateRequest calls the generic PluginsGoldenConfigConfigCompliancePartialUpdate builder with application/json body +func NewPluginsGoldenConfigConfigCompliancePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigCompliancePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigCompliancePartialUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigCompliancePartialUpdate with any type of body +func NewPluginsGoldenConfigConfigCompliancePartialUpdateRequestWithBody(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/golden-config/config-compliance/%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 +} + +// NewPluginsGoldenConfigConfigComplianceUpdateRequest calls the generic PluginsGoldenConfigConfigComplianceUpdate builder with application/json body +func NewPluginsGoldenConfigConfigComplianceUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigComplianceUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigComplianceUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigComplianceUpdate with any type of body +func NewPluginsGoldenConfigConfigComplianceUpdateRequestWithBody(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/golden-config/config-compliance/%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 +} + +// NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest generates requests for PluginsGoldenConfigConfigRemoveBulkDestroy +func NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/config-remove/") + 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 +} + +// NewPluginsGoldenConfigConfigRemoveListRequest generates requests for PluginsGoldenConfigConfigRemoveList +func NewPluginsGoldenConfigConfigRemoveListRequest(server string, params *PluginsGoldenConfigConfigRemoveListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/config-remove/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + 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.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.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.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PlatformId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id", runtime.ParamLocationQuery, *params.PlatformId); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsGoldenConfigConfigRemoveBulkPartialUpdateRequest calls the generic PluginsGoldenConfigConfigRemoveBulkPartialUpdate builder with application/json body +func NewPluginsGoldenConfigConfigRemoveBulkPartialUpdateRequest(server string, body PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigRemoveBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigRemoveBulkPartialUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigRemoveBulkPartialUpdate with any type of body +func NewPluginsGoldenConfigConfigRemoveBulkPartialUpdateRequestWithBody(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/golden-config/config-remove/") + 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 +} + +// NewPluginsGoldenConfigConfigRemoveCreateRequest calls the generic PluginsGoldenConfigConfigRemoveCreate builder with application/json body +func NewPluginsGoldenConfigConfigRemoveCreateRequest(server string, body PluginsGoldenConfigConfigRemoveCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigRemoveCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigRemoveCreateRequestWithBody generates requests for PluginsGoldenConfigConfigRemoveCreate with any type of body +func NewPluginsGoldenConfigConfigRemoveCreateRequestWithBody(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/golden-config/config-remove/") + 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 +} + +// NewPluginsGoldenConfigConfigRemoveBulkUpdateRequest calls the generic PluginsGoldenConfigConfigRemoveBulkUpdate builder with application/json body +func NewPluginsGoldenConfigConfigRemoveBulkUpdateRequest(server string, body PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigRemoveBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigRemoveBulkUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigRemoveBulkUpdate with any type of body +func NewPluginsGoldenConfigConfigRemoveBulkUpdateRequestWithBody(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/golden-config/config-remove/") + 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 +} + +// NewPluginsGoldenConfigConfigRemoveDestroyRequest generates requests for PluginsGoldenConfigConfigRemoveDestroy +func NewPluginsGoldenConfigConfigRemoveDestroyRequest(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-remove/%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 +} + +// NewPluginsGoldenConfigConfigRemoveRetrieveRequest generates requests for PluginsGoldenConfigConfigRemoveRetrieve +func NewPluginsGoldenConfigConfigRemoveRetrieveRequest(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-remove/%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 +} + +// NewPluginsGoldenConfigConfigRemovePartialUpdateRequest calls the generic PluginsGoldenConfigConfigRemovePartialUpdate builder with application/json body +func NewPluginsGoldenConfigConfigRemovePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigRemovePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigRemovePartialUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigRemovePartialUpdate with any type of body +func NewPluginsGoldenConfigConfigRemovePartialUpdateRequestWithBody(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/golden-config/config-remove/%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 +} + +// NewPluginsGoldenConfigConfigRemoveUpdateRequest calls the generic PluginsGoldenConfigConfigRemoveUpdate builder with application/json body +func NewPluginsGoldenConfigConfigRemoveUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigRemoveUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigRemoveUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigRemoveUpdate with any type of body +func NewPluginsGoldenConfigConfigRemoveUpdateRequestWithBody(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/golden-config/config-remove/%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 +} + +// NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest generates requests for PluginsGoldenConfigConfigReplaceBulkDestroy +func NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/config-replace/") + 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 +} + +// NewPluginsGoldenConfigConfigReplaceListRequest generates requests for PluginsGoldenConfigConfigReplaceList +func NewPluginsGoldenConfigConfigReplaceListRequest(server string, params *PluginsGoldenConfigConfigReplaceListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/config-replace/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + 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.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.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.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PlatformId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id", runtime.ParamLocationQuery, *params.PlatformId); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsGoldenConfigConfigReplaceBulkPartialUpdateRequest calls the generic PluginsGoldenConfigConfigReplaceBulkPartialUpdate builder with application/json body +func NewPluginsGoldenConfigConfigReplaceBulkPartialUpdateRequest(server string, body PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigReplaceBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigReplaceBulkPartialUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigReplaceBulkPartialUpdate with any type of body +func NewPluginsGoldenConfigConfigReplaceBulkPartialUpdateRequestWithBody(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/golden-config/config-replace/") + 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 +} + +// NewPluginsGoldenConfigConfigReplaceCreateRequest calls the generic PluginsGoldenConfigConfigReplaceCreate builder with application/json body +func NewPluginsGoldenConfigConfigReplaceCreateRequest(server string, body PluginsGoldenConfigConfigReplaceCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigReplaceCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigReplaceCreateRequestWithBody generates requests for PluginsGoldenConfigConfigReplaceCreate with any type of body +func NewPluginsGoldenConfigConfigReplaceCreateRequestWithBody(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/golden-config/config-replace/") + 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 +} + +// NewPluginsGoldenConfigConfigReplaceBulkUpdateRequest calls the generic PluginsGoldenConfigConfigReplaceBulkUpdate builder with application/json body +func NewPluginsGoldenConfigConfigReplaceBulkUpdateRequest(server string, body PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigReplaceBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigReplaceBulkUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigReplaceBulkUpdate with any type of body +func NewPluginsGoldenConfigConfigReplaceBulkUpdateRequestWithBody(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/golden-config/config-replace/") + 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 +} + +// NewPluginsGoldenConfigConfigReplaceDestroyRequest generates requests for PluginsGoldenConfigConfigReplaceDestroy +func NewPluginsGoldenConfigConfigReplaceDestroyRequest(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-replace/%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 +} + +// NewPluginsGoldenConfigConfigReplaceRetrieveRequest generates requests for PluginsGoldenConfigConfigReplaceRetrieve +func NewPluginsGoldenConfigConfigReplaceRetrieveRequest(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-replace/%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 +} + +// NewPluginsGoldenConfigConfigReplacePartialUpdateRequest calls the generic PluginsGoldenConfigConfigReplacePartialUpdate builder with application/json body +func NewPluginsGoldenConfigConfigReplacePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigReplacePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigReplacePartialUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigReplacePartialUpdate with any type of body +func NewPluginsGoldenConfigConfigReplacePartialUpdateRequestWithBody(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/golden-config/config-replace/%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 +} + +// NewPluginsGoldenConfigConfigReplaceUpdateRequest calls the generic PluginsGoldenConfigConfigReplaceUpdate builder with application/json body +func NewPluginsGoldenConfigConfigReplaceUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigReplaceUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigReplaceUpdateRequestWithBody generates requests for PluginsGoldenConfigConfigReplaceUpdate with any type of body +func NewPluginsGoldenConfigConfigReplaceUpdateRequestWithBody(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/golden-config/config-replace/%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 +} + +// NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest generates requests for PluginsGoldenConfigGoldenConfigSettingsBulkDestroy +func NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/golden-config-settings/") + 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 +} + +// NewPluginsGoldenConfigGoldenConfigSettingsListRequest generates requests for PluginsGoldenConfigGoldenConfigSettingsList +func NewPluginsGoldenConfigGoldenConfigSettingsListRequest(server string, params *PluginsGoldenConfigGoldenConfigSettingsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/golden-config-settings/") + 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 +} + +// NewPluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateRequest calls the generic PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateRequest(server string, body PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate with any type of body +func NewPluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateRequestWithBody(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/golden-config/golden-config-settings/") + 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 +} + +// NewPluginsGoldenConfigGoldenConfigSettingsCreateRequest calls the generic PluginsGoldenConfigGoldenConfigSettingsCreate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigSettingsCreateRequest(server string, body PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigSettingsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigSettingsCreateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigSettingsCreate with any type of body +func NewPluginsGoldenConfigGoldenConfigSettingsCreateRequestWithBody(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/golden-config/golden-config-settings/") + 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 +} + +// NewPluginsGoldenConfigGoldenConfigSettingsBulkUpdateRequest calls the generic PluginsGoldenConfigGoldenConfigSettingsBulkUpdate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigSettingsBulkUpdateRequest(server string, body PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigSettingsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigSettingsBulkUpdateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigSettingsBulkUpdate with any type of body +func NewPluginsGoldenConfigGoldenConfigSettingsBulkUpdateRequestWithBody(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/golden-config/golden-config-settings/") + 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 +} + +// NewPluginsGoldenConfigGoldenConfigSettingsDestroyRequest generates requests for PluginsGoldenConfigGoldenConfigSettingsDestroy +func NewPluginsGoldenConfigGoldenConfigSettingsDestroyRequest(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/golden-config-settings/%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 +} + +// NewPluginsGoldenConfigGoldenConfigSettingsRetrieveRequest generates requests for PluginsGoldenConfigGoldenConfigSettingsRetrieve +func NewPluginsGoldenConfigGoldenConfigSettingsRetrieveRequest(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/golden-config-settings/%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 +} + +// NewPluginsGoldenConfigGoldenConfigSettingsPartialUpdateRequest calls the generic PluginsGoldenConfigGoldenConfigSettingsPartialUpdate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigSettingsPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigSettingsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigSettingsPartialUpdateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigSettingsPartialUpdate with any type of body +func NewPluginsGoldenConfigGoldenConfigSettingsPartialUpdateRequestWithBody(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/golden-config/golden-config-settings/%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 +} + +// NewPluginsGoldenConfigGoldenConfigSettingsUpdateRequest calls the generic PluginsGoldenConfigGoldenConfigSettingsUpdate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigSettingsUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigSettingsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigSettingsUpdateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigSettingsUpdate with any type of body +func NewPluginsGoldenConfigGoldenConfigSettingsUpdateRequestWithBody(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/golden-config/golden-config-settings/%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 +} + +// NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest generates requests for PluginsGoldenConfigGoldenConfigBulkDestroy +func NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/golden-config/") + 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 +} + +// NewPluginsGoldenConfigGoldenConfigListRequest generates requests for PluginsGoldenConfigGoldenConfigList +func NewPluginsGoldenConfigGoldenConfigListRequest(server string, params *PluginsGoldenConfigGoldenConfigListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/golden-config/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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.DeviceStatus != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_status", runtime.ParamLocationQuery, *params.DeviceStatus); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceStatusId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_status_id", runtime.ParamLocationQuery, *params.DeviceStatusId); err != nil { + return nil, err + } else if parsed, err := 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.DeviceTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type_id", runtime.ParamLocationQuery, *params.DeviceTypeId); err != nil { + return nil, err + } else if parsed, err := 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.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.Manufacturer != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer", runtime.ParamLocationQuery, *params.Manufacturer); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ManufacturerId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "manufacturer_id", runtime.ParamLocationQuery, *params.ManufacturerId); err != nil { + return nil, err + } else if parsed, err := 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.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PlatformId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id", runtime.ParamLocationQuery, *params.PlatformId); err != nil { + return nil, err + } else if parsed, err := 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.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.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.RackGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_group_id", runtime.ParamLocationQuery, *params.RackGroupId); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.RoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id", runtime.ParamLocationQuery, *params.RoleId); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := 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.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.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.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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsGoldenConfigGoldenConfigBulkPartialUpdateRequest calls the generic PluginsGoldenConfigGoldenConfigBulkPartialUpdate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigBulkPartialUpdateRequest(server string, body PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigBulkPartialUpdateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigBulkPartialUpdate with any type of body +func NewPluginsGoldenConfigGoldenConfigBulkPartialUpdateRequestWithBody(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/golden-config/golden-config/") + 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 +} + +// NewPluginsGoldenConfigGoldenConfigCreateRequest calls the generic PluginsGoldenConfigGoldenConfigCreate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigCreateRequest(server string, body PluginsGoldenConfigGoldenConfigCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigCreateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigCreate with any type of body +func NewPluginsGoldenConfigGoldenConfigCreateRequestWithBody(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/golden-config/golden-config/") + 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 +} + +// NewPluginsGoldenConfigGoldenConfigBulkUpdateRequest calls the generic PluginsGoldenConfigGoldenConfigBulkUpdate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigBulkUpdateRequest(server string, body PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigBulkUpdateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigBulkUpdate with any type of body +func NewPluginsGoldenConfigGoldenConfigBulkUpdateRequestWithBody(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/golden-config/golden-config/") + 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 +} + +// NewPluginsGoldenConfigGoldenConfigDestroyRequest generates requests for PluginsGoldenConfigGoldenConfigDestroy +func NewPluginsGoldenConfigGoldenConfigDestroyRequest(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/golden-config/%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 +} + +// NewPluginsGoldenConfigGoldenConfigRetrieveRequest generates requests for PluginsGoldenConfigGoldenConfigRetrieve +func NewPluginsGoldenConfigGoldenConfigRetrieveRequest(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/golden-config/%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 +} + +// NewPluginsGoldenConfigGoldenConfigPartialUpdateRequest calls the generic PluginsGoldenConfigGoldenConfigPartialUpdate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigPartialUpdateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigPartialUpdate with any type of body +func NewPluginsGoldenConfigGoldenConfigPartialUpdateRequestWithBody(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/golden-config/golden-config/%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 +} + +// NewPluginsGoldenConfigGoldenConfigUpdateRequest calls the generic PluginsGoldenConfigGoldenConfigUpdate builder with application/json body +func NewPluginsGoldenConfigGoldenConfigUpdateRequest(server string, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigUpdateRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigUpdate with any type of body +func NewPluginsGoldenConfigGoldenConfigUpdateRequestWithBody(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/golden-config/golden-config/%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 +} + +// NewPluginsGoldenConfigSotaggRetrieveRequest generates requests for PluginsGoldenConfigSotaggRetrieve +func NewPluginsGoldenConfigSotaggRetrieveRequest(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/sotagg/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy +func NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/contact/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactListRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContactList +func NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(server string, params *PluginsNautobotDeviceLifecycleMgmtContactListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/contact/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Address != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address", runtime.ParamLocationQuery, *params.Address); err != nil { + return nil, err + } else if parsed, err := 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.Contract != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract", runtime.ParamLocationQuery, *params.Contract); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.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.Phone != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone", runtime.ParamLocationQuery, *params.Phone); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contact/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactCreateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContactCreate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContactCreateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContactCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactCreateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContactCreate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContactCreateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contact/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactBulkUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContactBulkUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContactBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactBulkUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContactBulkUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contact/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContactDestroy +func NewPluginsNautobotDeviceLifecycleMgmtContactDestroyRequest(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/nautobot-device-lifecycle-mgmt/contact/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactRetrieveRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContactRetrieve +func NewPluginsNautobotDeviceLifecycleMgmtContactRetrieveRequest(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/nautobot-device-lifecycle-mgmt/contact/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContactPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContactPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContactPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contact/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContactUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContactUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContactUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContactUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContactUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contact/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy +func NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/contract/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractListRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContractList +func NewPluginsNautobotDeviceLifecycleMgmtContractListRequest(server string, params *PluginsNautobotDeviceLifecycleMgmtContractListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/contract/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.ContractType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type", runtime.ParamLocationQuery, *params.ContractType); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end__gte", runtime.ParamLocationQuery, *params.EndGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end__lte", runtime.ParamLocationQuery, *params.EndLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Expired != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expired", runtime.ParamLocationQuery, *params.Expired); err != nil { + return nil, err + } else if parsed, err := 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.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.Provider != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider", runtime.ParamLocationQuery, *params.Provider); err != nil { + return nil, err + } else if parsed, err := 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.Start != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start", runtime.ParamLocationQuery, *params.Start); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start__gte", runtime.ParamLocationQuery, *params.StartGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start__lte", runtime.ParamLocationQuery, *params.StartLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevel != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level", runtime.ParamLocationQuery, *params.SupportLevel); err != nil { + return nil, err + } else if 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contract/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractCreateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContractCreate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContractCreateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContractCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractCreateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContractCreate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContractCreateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contract/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractBulkUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContractBulkUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContractBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractBulkUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContractBulkUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contract/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContractDestroy +func NewPluginsNautobotDeviceLifecycleMgmtContractDestroyRequest(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/nautobot-device-lifecycle-mgmt/contract/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractRetrieveRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContractRetrieve +func NewPluginsNautobotDeviceLifecycleMgmtContractRetrieveRequest(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/nautobot-device-lifecycle-mgmt/contract/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContractPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContractPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContractPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contract/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContractUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContractUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContractUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContractUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContractUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/contract/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy +func NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/cve/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveListRequest generates requests for PluginsNautobotDeviceLifecycleMgmtCveList +func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params *PluginsNautobotDeviceLifecycleMgmtCveListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/cve/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + 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.Cvss != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss", runtime.ParamLocationQuery, *params.Cvss); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.ExcludeStatus != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exclude_status", runtime.ParamLocationQuery, *params.ExcludeStatus); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.Link != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link", runtime.ParamLocationQuery, *params.Link); err != nil { + return nil, err + } else if parsed, err := 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.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.PublishedDateGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "published_date__gte", runtime.ParamLocationQuery, *params.PublishedDateGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PublishedDateLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "published_date__lte", runtime.ParamLocationQuery, *params.PublishedDateLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PublishedDateAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "published_date_after", runtime.ParamLocationQuery, *params.PublishedDateAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PublishedDateBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "published_date_before", runtime.ParamLocationQuery, *params.PublishedDateBefore); err != nil { + return nil, err + } else if parsed, err := 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.Severity != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "severity", runtime.ParamLocationQuery, *params.Severity); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/cve/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveCreateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtCveCreate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtCveCreateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtCveCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveCreateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtCveCreate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtCveCreateRequestWithBody(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/nautobot-device-lifecycle-mgmt/cve/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveBulkUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtCveBulkUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtCveBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveBulkUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtCveBulkUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/cve/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtCveDestroy +func NewPluginsNautobotDeviceLifecycleMgmtCveDestroyRequest(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/nautobot-device-lifecycle-mgmt/cve/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveRetrieveRequest generates requests for PluginsNautobotDeviceLifecycleMgmtCveRetrieve +func NewPluginsNautobotDeviceLifecycleMgmtCveRetrieveRequest(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/nautobot-device-lifecycle-mgmt/cve/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtCvePartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtCvePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtCvePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtCvePartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtCvePartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/cve/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtCveUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtCveUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtCveUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtCveUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtCveUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/cve/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy +func NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/hardware/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareListRequest generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareList +func NewPluginsNautobotDeviceLifecycleMgmtHardwareListRequest(server string, params *PluginsNautobotDeviceLifecycleMgmtHardwareListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/hardware/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.DeviceTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type_id", runtime.ParamLocationQuery, *params.DeviceTypeId); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSale != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_sale", runtime.ParamLocationQuery, *params.EndOfSale); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSaleGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_sale__gte", runtime.ParamLocationQuery, *params.EndOfSaleGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSaleLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_sale__lte", runtime.ParamLocationQuery, *params.EndOfSaleLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSecurityPatches != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_security_patches", runtime.ParamLocationQuery, *params.EndOfSecurityPatches); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSecurityPatchesGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_security_patches__gte", runtime.ParamLocationQuery, *params.EndOfSecurityPatchesGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSecurityPatchesLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_security_patches__lte", runtime.ParamLocationQuery, *params.EndOfSecurityPatchesLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSupport != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_support", runtime.ParamLocationQuery, *params.EndOfSupport); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSupportGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_support__gte", runtime.ParamLocationQuery, *params.EndOfSupportGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSupportLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_support__lte", runtime.ParamLocationQuery, *params.EndOfSupportLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSwReleases != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_sw_releases", runtime.ParamLocationQuery, *params.EndOfSwReleases); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSwReleasesGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_sw_releases__gte", runtime.ParamLocationQuery, *params.EndOfSwReleasesGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSwReleasesLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_sw_releases__lte", runtime.ParamLocationQuery, *params.EndOfSwReleasesLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Expired != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expired", runtime.ParamLocationQuery, *params.Expired); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/hardware/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareCreateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtHardwareCreate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareCreateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtHardwareCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareCreateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareCreate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareCreateRequestWithBody(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/nautobot-device-lifecycle-mgmt/hardware/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/hardware/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareDestroy +func NewPluginsNautobotDeviceLifecycleMgmtHardwareDestroyRequest(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/nautobot-device-lifecycle-mgmt/hardware/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareRetrieveRequest generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareRetrieve +func NewPluginsNautobotDeviceLifecycleMgmtHardwareRetrieveRequest(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/nautobot-device-lifecycle-mgmt/hardware/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/hardware/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtHardwareUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtHardwareUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/hardware/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy +func NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/provider/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest generates requests for PluginsNautobotDeviceLifecycleMgmtProviderList +func NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(server string, params *PluginsNautobotDeviceLifecycleMgmtProviderListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/provider/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + 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.Country != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country", runtime.ParamLocationQuery, *params.Country); err != nil { + return nil, err + } else if parsed, err := 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.Email != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email", runtime.ParamLocationQuery, *params.Email); err != nil { + return nil, err + } else if parsed, err := 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.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.Phone != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone", runtime.ParamLocationQuery, *params.Phone); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/provider/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderCreateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtProviderCreate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtProviderCreateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtProviderCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderCreateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtProviderCreate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtProviderCreateRequestWithBody(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/nautobot-device-lifecycle-mgmt/provider/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/provider/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtProviderDestroy +func NewPluginsNautobotDeviceLifecycleMgmtProviderDestroyRequest(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/nautobot-device-lifecycle-mgmt/provider/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderRetrieveRequest generates requests for PluginsNautobotDeviceLifecycleMgmtProviderRetrieve +func NewPluginsNautobotDeviceLifecycleMgmtProviderRetrieveRequest(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/nautobot-device-lifecycle-mgmt/provider/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/provider/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtProviderUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtProviderUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtProviderUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtProviderUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtProviderUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/provider/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/software-image/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageList +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string, params *PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/software-image/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.DefaultImage != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "default_image", runtime.ParamLocationQuery, *params.DefaultImage); err != nil { + return nil, err + } else if parsed, err := 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.DeviceName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_name", runtime.ParamLocationQuery, *params.DeviceName); err != nil { + return nil, err + } else if parsed, err := 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.DeviceTypesId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types_id", runtime.ParamLocationQuery, *params.DeviceTypesId); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.InventoryItemsId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items_id", runtime.ParamLocationQuery, *params.InventoryItemsId); err != nil { + return nil, err + } else if parsed, err := 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.ObjectTags != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_tags", runtime.ParamLocationQuery, *params.ObjectTags); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.Software != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "software", runtime.ParamLocationQuery, *params.Software); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software-image/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software-image/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software-image/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroy +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyRequest(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/nautobot-device-lifecycle-mgmt/software-image/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieve +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveRequest(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/nautobot-device-lifecycle-mgmt/software-image/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software-image/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software-image/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/software/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareListRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareList +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareListRequest(server string, params *PluginsNautobotDeviceLifecycleMgmtSoftwareListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/software/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Alias != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias", runtime.ParamLocationQuery, *params.Alias); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSupportAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_support_after", runtime.ParamLocationQuery, *params.EndOfSupportAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndOfSupportBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_of_support_before", runtime.ParamLocationQuery, *params.EndOfSupportBefore); err != nil { + return nil, err + } else if parsed, err := 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.LongTermSupport != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "long_term_support", runtime.ParamLocationQuery, *params.LongTermSupport); err != nil { + return nil, err + } else if parsed, err := 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.PreRelease != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pre_release", runtime.ParamLocationQuery, *params.PreRelease); err != nil { + return nil, err + } else if parsed, err := 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.ReleaseDateAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "release_date_after", runtime.ParamLocationQuery, *params.ReleaseDateAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ReleaseDateBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "release_date_before", runtime.ParamLocationQuery, *params.ReleaseDateBefore); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Version != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version", runtime.ParamLocationQuery, *params.Version); err != nil { + return nil, err + } else if 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareCreateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareCreate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareCreateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareCreateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareCreate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareCreateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareDestroy +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareDestroyRequest(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/nautobot-device-lifecycle-mgmt/software/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieve +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveRequest(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/nautobot-device-lifecycle-mgmt/software/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/software/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/validated-software/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server string, params *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/validated-software/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.DeviceName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_name", runtime.ParamLocationQuery, *params.DeviceName); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRoles != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_roles", runtime.ParamLocationQuery, *params.DeviceRoles); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.DeviceTypesId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types_id", runtime.ParamLocationQuery, *params.DeviceTypesId); err != nil { + return nil, err + } else if parsed, err := 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.DevicesId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices_id", runtime.ParamLocationQuery, *params.DevicesId); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EndBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_before", runtime.ParamLocationQuery, *params.EndBefore); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.InventoryItemsId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items_id", runtime.ParamLocationQuery, *params.InventoryItemsId); err != nil { + return nil, err + } else if parsed, err := 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.ObjectTags != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_tags", runtime.ParamLocationQuery, *params.ObjectTags); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.Preferred != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "preferred", runtime.ParamLocationQuery, *params.Preferred); err != nil { + return nil, err + } else if parsed, err := 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.Software != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "software", runtime.ParamLocationQuery, *params.Software); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StartBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start_before", runtime.ParamLocationQuery, *params.StartBefore); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Valid != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "valid", runtime.ParamLocationQuery, *params.Valid); err != nil { + return nil, err + } else if 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/validated-software/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateRequestWithBody(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/nautobot-device-lifecycle-mgmt/validated-software/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/validated-software/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroy +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyRequest(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/nautobot-device-lifecycle-mgmt/validated-software/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveRequest generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieve +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveRequest(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/nautobot-device-lifecycle-mgmt/validated-software/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/validated-software/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/validated-software/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/vulnerability/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityList +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(server string, params *PluginsNautobotDeviceLifecycleMgmtVulnerabilityListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/nautobot-device-lifecycle-mgmt/vulnerability/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cve != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cve", runtime.ParamLocationQuery, *params.Cve); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CvePublishedDateLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cve__published_date__lte", runtime.ParamLocationQuery, *params.CvePublishedDateLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CvePublishedDateAfter != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cve__published_date_after", runtime.ParamLocationQuery, *params.CvePublishedDateAfter); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CvePublishedDateBefore != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cve__published_date_before", runtime.ParamLocationQuery, *params.CvePublishedDateBefore); err != nil { + return nil, err + } else if parsed, err := 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.ExcludeStatus != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exclude_status", runtime.ParamLocationQuery, *params.ExcludeStatus); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.Software != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "software", runtime.ParamLocationQuery, *params.Software); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/vulnerability/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateRequest(server string, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/vulnerability/") + 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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroy +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyRequest(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/nautobot-device-lifecycle-mgmt/vulnerability/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveRequest generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieve +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveRequest(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/nautobot-device-lifecycle-mgmt/vulnerability/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/vulnerability/%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 +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateRequest calls the generic PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateRequest(server string, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateRequestWithBody(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/nautobot-device-lifecycle-mgmt/vulnerability/%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 +} + +// NewStatusRetrieveRequest generates requests for StatusRetrieve +func NewStatusRetrieveRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/status/") + 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 +} + +// NewSwaggerJsonRetrieveRequest generates requests for SwaggerJsonRetrieve +func NewSwaggerJsonRetrieveRequest(server string, params *SwaggerJsonRetrieveParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/swagger.json") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Lang != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "lang", runtime.ParamLocationQuery, *params.Lang); err != nil { + return nil, err + } else if 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 +} + +// NewSwaggerYamlRetrieveRequest generates requests for SwaggerYamlRetrieve +func NewSwaggerYamlRetrieveRequest(server string, params *SwaggerYamlRetrieveParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/swagger.yaml") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Lang != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "lang", runtime.ParamLocationQuery, *params.Lang); err != nil { + return nil, err + } else if 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 +} + +// NewSwaggerRetrieveRequest generates requests for SwaggerRetrieve +func NewSwaggerRetrieveRequest(server string, params *SwaggerRetrieveParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/swagger/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Format != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "format", runtime.ParamLocationQuery, *params.Format); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Lang != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "lang", runtime.ParamLocationQuery, *params.Lang); err != nil { + return nil, err + } else if 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 +} + +// NewTenancyTenantGroupsBulkDestroyRequest generates requests for TenancyTenantGroupsBulkDestroy +func NewTenancyTenantGroupsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/tenancy/tenant-groups/") + 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 +} + +// NewTenancyTenantGroupsListRequest generates requests for TenancyTenantGroupsList +func NewTenancyTenantGroupsListRequest(server string, params *TenancyTenantGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/tenancy/tenant-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.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.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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_id__n", runtime.ParamLocationQuery, *params.ParentIdN); err != nil { + return nil, err + } else if parsed, err := 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 +} + +// NewTenancyTenantGroupsBulkPartialUpdateRequest calls the generic TenancyTenantGroupsBulkPartialUpdate builder with application/json body +func NewTenancyTenantGroupsBulkPartialUpdateRequest(server string, body TenancyTenantGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantGroupsBulkPartialUpdateRequestWithBody generates requests for TenancyTenantGroupsBulkPartialUpdate with any type of body +func NewTenancyTenantGroupsBulkPartialUpdateRequestWithBody(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("/tenancy/tenant-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 +} + +// NewTenancyTenantGroupsCreateRequest calls the generic TenancyTenantGroupsCreate builder with application/json body +func NewTenancyTenantGroupsCreateRequest(server string, body TenancyTenantGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantGroupsCreateRequestWithBody generates requests for TenancyTenantGroupsCreate with any type of body +func NewTenancyTenantGroupsCreateRequestWithBody(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("/tenancy/tenant-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 +} + +// NewTenancyTenantGroupsBulkUpdateRequest calls the generic TenancyTenantGroupsBulkUpdate builder with application/json body +func NewTenancyTenantGroupsBulkUpdateRequest(server string, body TenancyTenantGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantGroupsBulkUpdateRequestWithBody generates requests for TenancyTenantGroupsBulkUpdate with any type of body +func NewTenancyTenantGroupsBulkUpdateRequestWithBody(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("/tenancy/tenant-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 +} + +// NewTenancyTenantGroupsDestroyRequest generates requests for TenancyTenantGroupsDestroy +func NewTenancyTenantGroupsDestroyRequest(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("/tenancy/tenant-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 +} + +// NewTenancyTenantGroupsRetrieveRequest generates requests for TenancyTenantGroupsRetrieve +func NewTenancyTenantGroupsRetrieveRequest(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("/tenancy/tenant-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 +} + +// NewTenancyTenantGroupsPartialUpdateRequest calls the generic TenancyTenantGroupsPartialUpdate builder with application/json body +func NewTenancyTenantGroupsPartialUpdateRequest(server string, id openapi_types.UUID, body TenancyTenantGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyTenantGroupsPartialUpdateRequestWithBody generates requests for TenancyTenantGroupsPartialUpdate with any type of body +func NewTenancyTenantGroupsPartialUpdateRequestWithBody(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/", 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 +} + +// NewTenancyTenantGroupsUpdateRequest calls the generic TenancyTenantGroupsUpdate builder with application/json body +func NewTenancyTenantGroupsUpdateRequest(server string, id openapi_types.UUID, body TenancyTenantGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyTenantGroupsUpdateRequestWithBody generates requests for TenancyTenantGroupsUpdate with any type of body +func NewTenancyTenantGroupsUpdateRequestWithBody(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/", 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 +} + +// NewTenancyTenantsBulkDestroyRequest generates requests for TenancyTenantsBulkDestroy +func NewTenancyTenantsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/tenancy/tenants/") + 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 +} + +// NewTenancyTenantsListRequest generates requests for TenancyTenantsList +func NewTenancyTenantsListRequest(server string, params *TenancyTenantsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/tenancy/tenants/") + 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.GroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id", runtime.ParamLocationQuery, *params.GroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__n", runtime.ParamLocationQuery, *params.GroupIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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 +} + +// NewTenancyTenantsBulkPartialUpdateRequest calls the generic TenancyTenantsBulkPartialUpdate builder with application/json body +func NewTenancyTenantsBulkPartialUpdateRequest(server string, body TenancyTenantsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantsBulkPartialUpdateRequestWithBody generates requests for TenancyTenantsBulkPartialUpdate with any type of body +func NewTenancyTenantsBulkPartialUpdateRequestWithBody(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("/tenancy/tenants/") + 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 +} + +// NewTenancyTenantsCreateRequest calls the generic TenancyTenantsCreate builder with application/json body +func NewTenancyTenantsCreateRequest(server string, body TenancyTenantsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantsCreateRequestWithBody generates requests for TenancyTenantsCreate with any type of body +func NewTenancyTenantsCreateRequestWithBody(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("/tenancy/tenants/") + 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 +} + +// NewTenancyTenantsBulkUpdateRequest calls the generic TenancyTenantsBulkUpdate builder with application/json body +func NewTenancyTenantsBulkUpdateRequest(server string, body TenancyTenantsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantsBulkUpdateRequestWithBody generates requests for TenancyTenantsBulkUpdate with any type of body +func NewTenancyTenantsBulkUpdateRequestWithBody(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("/tenancy/tenants/") + 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 +} + +// NewTenancyTenantsDestroyRequest generates requests for TenancyTenantsDestroy +func NewTenancyTenantsDestroyRequest(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("/tenancy/tenants/%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 +} + +// NewTenancyTenantsRetrieveRequest generates requests for TenancyTenantsRetrieve +func NewTenancyTenantsRetrieveRequest(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("/tenancy/tenants/%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 +} + +// NewTenancyTenantsPartialUpdateRequest calls the generic TenancyTenantsPartialUpdate builder with application/json body +func NewTenancyTenantsPartialUpdateRequest(server string, id openapi_types.UUID, body TenancyTenantsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyTenantsPartialUpdateRequestWithBody generates requests for TenancyTenantsPartialUpdate with any type of body +func NewTenancyTenantsPartialUpdateRequestWithBody(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/", 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 +} + +// NewTenancyTenantsUpdateRequest calls the generic TenancyTenantsUpdate builder with application/json body +func NewTenancyTenantsUpdateRequest(server string, id openapi_types.UUID, body TenancyTenantsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyTenantsUpdateRequestWithBody generates requests for TenancyTenantsUpdate with any type of body +func NewTenancyTenantsUpdateRequestWithBody(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/", 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 +} + +// NewUsersConfigRetrieveRequest generates requests for UsersConfigRetrieve +func NewUsersConfigRetrieveRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/config/") + 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 +} + +// NewUsersGroupsBulkDestroyRequest generates requests for UsersGroupsBulkDestroy +func NewUsersGroupsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/groups/") + 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 +} + +// NewUsersGroupsListRequest generates requests for UsersGroupsList +func NewUsersGroupsListRequest(server string, params *UsersGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + 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.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 { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewUsersGroupsBulkPartialUpdateRequest calls the generic UsersGroupsBulkPartialUpdate builder with application/json body +func NewUsersGroupsBulkPartialUpdateRequest(server string, body UsersGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersGroupsBulkPartialUpdateRequestWithBody generates requests for UsersGroupsBulkPartialUpdate with any type of body +func NewUsersGroupsBulkPartialUpdateRequestWithBody(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("/users/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 +} + +// NewUsersGroupsCreateRequest calls the generic UsersGroupsCreate builder with application/json body +func NewUsersGroupsCreateRequest(server string, body UsersGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersGroupsCreateRequestWithBody generates requests for UsersGroupsCreate with any type of body +func NewUsersGroupsCreateRequestWithBody(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("/users/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 +} + +// NewUsersGroupsBulkUpdateRequest calls the generic UsersGroupsBulkUpdate builder with application/json body +func NewUsersGroupsBulkUpdateRequest(server string, body UsersGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersGroupsBulkUpdateRequestWithBody generates requests for UsersGroupsBulkUpdate with any type of body +func NewUsersGroupsBulkUpdateRequestWithBody(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("/users/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 +} + +// NewUsersGroupsDestroyRequest generates requests for UsersGroupsDestroy +func NewUsersGroupsDestroyRequest(server string, id int) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/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 +} + +// NewUsersGroupsRetrieveRequest generates requests for UsersGroupsRetrieve +func NewUsersGroupsRetrieveRequest(server string, id int) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/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 +} + +// NewUsersGroupsPartialUpdateRequest calls the generic UsersGroupsPartialUpdate builder with application/json body +func NewUsersGroupsPartialUpdateRequest(server string, id int, body UsersGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUsersGroupsPartialUpdateRequestWithBody generates requests for UsersGroupsPartialUpdate with any type of body +func NewUsersGroupsPartialUpdateRequestWithBody(server string, id int, 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("/users/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 +} + +// NewUsersGroupsUpdateRequest calls the generic UsersGroupsUpdate builder with application/json body +func NewUsersGroupsUpdateRequest(server string, id int, body UsersGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUsersGroupsUpdateRequestWithBody generates requests for UsersGroupsUpdate with any type of body +func NewUsersGroupsUpdateRequestWithBody(server string, id int, 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("/users/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 +} + +// NewUsersPermissionsBulkDestroyRequest generates requests for UsersPermissionsBulkDestroy +func NewUsersPermissionsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/permissions/") + 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 +} + +// NewUsersPermissionsListRequest generates requests for UsersPermissionsList +func NewUsersPermissionsListRequest(server string, params *UsersPermissionsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/permissions/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + 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.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.GroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id", runtime.ParamLocationQuery, *params.GroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__n", runtime.ParamLocationQuery, *params.GroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.ObjectTypes != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_types", runtime.ParamLocationQuery, *params.ObjectTypes); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ObjectTypesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_types__n", runtime.ParamLocationQuery, *params.ObjectTypesN); err != nil { + return nil, err + } else if parsed, err := 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.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.UserId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_id", runtime.ParamLocationQuery, *params.UserId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_id__n", runtime.ParamLocationQuery, *params.UserIdN); err != nil { + return nil, err + } else if 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 +} + +// NewUsersPermissionsBulkPartialUpdateRequest calls the generic UsersPermissionsBulkPartialUpdate builder with application/json body +func NewUsersPermissionsBulkPartialUpdateRequest(server string, body UsersPermissionsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersPermissionsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersPermissionsBulkPartialUpdateRequestWithBody generates requests for UsersPermissionsBulkPartialUpdate with any type of body +func NewUsersPermissionsBulkPartialUpdateRequestWithBody(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("/users/permissions/") + 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 +} + +// NewUsersPermissionsCreateRequest calls the generic UsersPermissionsCreate builder with application/json body +func NewUsersPermissionsCreateRequest(server string, body UsersPermissionsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersPermissionsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersPermissionsCreateRequestWithBody generates requests for UsersPermissionsCreate with any type of body +func NewUsersPermissionsCreateRequestWithBody(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("/users/permissions/") + 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 +} + +// NewUsersPermissionsBulkUpdateRequest calls the generic UsersPermissionsBulkUpdate builder with application/json body +func NewUsersPermissionsBulkUpdateRequest(server string, body UsersPermissionsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersPermissionsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersPermissionsBulkUpdateRequestWithBody generates requests for UsersPermissionsBulkUpdate with any type of body +func NewUsersPermissionsBulkUpdateRequestWithBody(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("/users/permissions/") + 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 +} + +// NewUsersPermissionsDestroyRequest generates requests for UsersPermissionsDestroy +func NewUsersPermissionsDestroyRequest(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("/users/permissions/%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 +} + +// NewUsersPermissionsRetrieveRequest generates requests for UsersPermissionsRetrieve +func NewUsersPermissionsRetrieveRequest(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("/users/permissions/%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 +} + +// NewUsersPermissionsPartialUpdateRequest calls the generic UsersPermissionsPartialUpdate builder with application/json body +func NewUsersPermissionsPartialUpdateRequest(server string, id openapi_types.UUID, body UsersPermissionsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersPermissionsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUsersPermissionsPartialUpdateRequestWithBody generates requests for UsersPermissionsPartialUpdate with any type of body +func NewUsersPermissionsPartialUpdateRequestWithBody(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("/users/permissions/%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 +} + +// NewUsersPermissionsUpdateRequest calls the generic UsersPermissionsUpdate builder with application/json body +func NewUsersPermissionsUpdateRequest(server string, id openapi_types.UUID, body UsersPermissionsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersPermissionsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUsersPermissionsUpdateRequestWithBody generates requests for UsersPermissionsUpdate with any type of body +func NewUsersPermissionsUpdateRequestWithBody(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("/users/permissions/%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 +} + +// NewUsersTokensBulkDestroyRequest generates requests for UsersTokensBulkDestroy +func NewUsersTokensBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/tokens/") + 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 +} + +// NewUsersTokensListRequest generates requests for UsersTokensList +func NewUsersTokensListRequest(server string, params *UsersTokensListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/tokens/") + 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.CreatedGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gt", runtime.ParamLocationQuery, *params.CreatedGt); err != nil { + return nil, err + } else if parsed, err := 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.CreatedLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lt", runtime.ParamLocationQuery, *params.CreatedLt); err != nil { + return nil, err + } else if parsed, err := 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.CreatedN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__n", runtime.ParamLocationQuery, *params.CreatedN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Expires != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expires", runtime.ParamLocationQuery, *params.Expires); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExpiresGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expires__gt", runtime.ParamLocationQuery, *params.ExpiresGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExpiresGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expires__gte", runtime.ParamLocationQuery, *params.ExpiresGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExpiresLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expires__lt", runtime.ParamLocationQuery, *params.ExpiresLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExpiresLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expires__lte", runtime.ParamLocationQuery, *params.ExpiresLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ExpiresN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expires__n", runtime.ParamLocationQuery, *params.ExpiresN); err != nil { + return nil, err + } else if parsed, err := 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.Key != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key", runtime.ParamLocationQuery, *params.Key); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__ic", runtime.ParamLocationQuery, *params.KeyIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__ie", runtime.ParamLocationQuery, *params.KeyIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__iew", runtime.ParamLocationQuery, *params.KeyIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__ire", runtime.ParamLocationQuery, *params.KeyIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__isw", runtime.ParamLocationQuery, *params.KeyIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__n", runtime.ParamLocationQuery, *params.KeyN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__nic", runtime.ParamLocationQuery, *params.KeyNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__nie", runtime.ParamLocationQuery, *params.KeyNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__niew", runtime.ParamLocationQuery, *params.KeyNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__nire", runtime.ParamLocationQuery, *params.KeyNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__nisw", runtime.ParamLocationQuery, *params.KeyNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__nre", runtime.ParamLocationQuery, *params.KeyNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.KeyRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "key__re", runtime.ParamLocationQuery, *params.KeyRe); err != nil { + return nil, err + } else if parsed, err := 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.WriteEnabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "write_enabled", runtime.ParamLocationQuery, *params.WriteEnabled); err != nil { + return nil, err + } else if 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 +} + +// NewUsersTokensBulkPartialUpdateRequest calls the generic UsersTokensBulkPartialUpdate builder with application/json body +func NewUsersTokensBulkPartialUpdateRequest(server string, body UsersTokensBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersTokensBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersTokensBulkPartialUpdateRequestWithBody generates requests for UsersTokensBulkPartialUpdate with any type of body +func NewUsersTokensBulkPartialUpdateRequestWithBody(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("/users/tokens/") + 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 +} + +// NewUsersTokensCreateRequest calls the generic UsersTokensCreate builder with application/json body +func NewUsersTokensCreateRequest(server string, body UsersTokensCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersTokensCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersTokensCreateRequestWithBody generates requests for UsersTokensCreate with any type of body +func NewUsersTokensCreateRequestWithBody(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("/users/tokens/") + 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 +} + +// NewUsersTokensBulkUpdateRequest calls the generic UsersTokensBulkUpdate builder with application/json body +func NewUsersTokensBulkUpdateRequest(server string, body UsersTokensBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersTokensBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersTokensBulkUpdateRequestWithBody generates requests for UsersTokensBulkUpdate with any type of body +func NewUsersTokensBulkUpdateRequestWithBody(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("/users/tokens/") + 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 +} + +// NewUsersTokensDestroyRequest generates requests for UsersTokensDestroy +func NewUsersTokensDestroyRequest(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("/users/tokens/%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 +} + +// NewUsersTokensRetrieveRequest generates requests for UsersTokensRetrieve +func NewUsersTokensRetrieveRequest(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("/users/tokens/%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 +} + +// NewUsersTokensPartialUpdateRequest calls the generic UsersTokensPartialUpdate builder with application/json body +func NewUsersTokensPartialUpdateRequest(server string, id openapi_types.UUID, body UsersTokensPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersTokensPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUsersTokensPartialUpdateRequestWithBody generates requests for UsersTokensPartialUpdate with any type of body +func NewUsersTokensPartialUpdateRequestWithBody(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("/users/tokens/%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 +} + +// NewUsersTokensUpdateRequest calls the generic UsersTokensUpdate builder with application/json body +func NewUsersTokensUpdateRequest(server string, id openapi_types.UUID, body UsersTokensUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersTokensUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUsersTokensUpdateRequestWithBody generates requests for UsersTokensUpdate with any type of body +func NewUsersTokensUpdateRequestWithBody(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("/users/tokens/%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 +} + +// NewUsersUsersBulkDestroyRequest generates requests for UsersUsersBulkDestroy +func NewUsersUsersBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/users/") + 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 +} + +// NewUsersUsersListRequest generates requests for UsersUsersList +func NewUsersUsersListRequest(server string, params *UsersUsersListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/users/users/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Email != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email", runtime.ParamLocationQuery, *params.Email); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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.FirstName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name", runtime.ParamLocationQuery, *params.FirstName); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__ic", runtime.ParamLocationQuery, *params.FirstNameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__ie", runtime.ParamLocationQuery, *params.FirstNameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__iew", runtime.ParamLocationQuery, *params.FirstNameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__ire", runtime.ParamLocationQuery, *params.FirstNameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__isw", runtime.ParamLocationQuery, *params.FirstNameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__n", runtime.ParamLocationQuery, *params.FirstNameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__nic", runtime.ParamLocationQuery, *params.FirstNameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__nie", runtime.ParamLocationQuery, *params.FirstNameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__niew", runtime.ParamLocationQuery, *params.FirstNameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__nire", runtime.ParamLocationQuery, *params.FirstNameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__nisw", runtime.ParamLocationQuery, *params.FirstNameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__nre", runtime.ParamLocationQuery, *params.FirstNameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FirstNameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "first_name__re", runtime.ParamLocationQuery, *params.FirstNameRe); err != nil { + return nil, err + } else if parsed, err := 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.GroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id", runtime.ParamLocationQuery, *params.GroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__n", runtime.ParamLocationQuery, *params.GroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.IsActive != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_active", runtime.ParamLocationQuery, *params.IsActive); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IsStaff != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_staff", runtime.ParamLocationQuery, *params.IsStaff); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name", runtime.ParamLocationQuery, *params.LastName); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__ic", runtime.ParamLocationQuery, *params.LastNameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__ie", runtime.ParamLocationQuery, *params.LastNameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__iew", runtime.ParamLocationQuery, *params.LastNameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__ire", runtime.ParamLocationQuery, *params.LastNameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__isw", runtime.ParamLocationQuery, *params.LastNameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__n", runtime.ParamLocationQuery, *params.LastNameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__nic", runtime.ParamLocationQuery, *params.LastNameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__nie", runtime.ParamLocationQuery, *params.LastNameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__niew", runtime.ParamLocationQuery, *params.LastNameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__nire", runtime.ParamLocationQuery, *params.LastNameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__nisw", runtime.ParamLocationQuery, *params.LastNameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__nre", runtime.ParamLocationQuery, *params.LastNameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastNameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_name__re", runtime.ParamLocationQuery, *params.LastNameRe); err != nil { + return nil, err + } else if parsed, err := 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.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 +} + +// NewUsersUsersBulkPartialUpdateRequest calls the generic UsersUsersBulkPartialUpdate builder with application/json body +func NewUsersUsersBulkPartialUpdateRequest(server string, body UsersUsersBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersUsersBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersUsersBulkPartialUpdateRequestWithBody generates requests for UsersUsersBulkPartialUpdate with any type of body +func NewUsersUsersBulkPartialUpdateRequestWithBody(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("/users/users/") + 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 +} + +// NewUsersUsersCreateRequest calls the generic UsersUsersCreate builder with application/json body +func NewUsersUsersCreateRequest(server string, body UsersUsersCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersUsersCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersUsersCreateRequestWithBody generates requests for UsersUsersCreate with any type of body +func NewUsersUsersCreateRequestWithBody(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("/users/users/") + 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 +} + +// NewUsersUsersBulkUpdateRequest calls the generic UsersUsersBulkUpdate builder with application/json body +func NewUsersUsersBulkUpdateRequest(server string, body UsersUsersBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersUsersBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersUsersBulkUpdateRequestWithBody generates requests for UsersUsersBulkUpdate with any type of body +func NewUsersUsersBulkUpdateRequestWithBody(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("/users/users/") + 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 +} + +// NewUsersUsersDestroyRequest generates requests for UsersUsersDestroy +func NewUsersUsersDestroyRequest(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("/users/users/%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 +} + +// NewUsersUsersRetrieveRequest generates requests for UsersUsersRetrieve +func NewUsersUsersRetrieveRequest(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("/users/users/%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 +} + +// NewUsersUsersPartialUpdateRequest calls the generic UsersUsersPartialUpdate builder with application/json body +func NewUsersUsersPartialUpdateRequest(server string, id openapi_types.UUID, body UsersUsersPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersUsersPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUsersUsersPartialUpdateRequestWithBody generates requests for UsersUsersPartialUpdate with any type of body +func NewUsersUsersPartialUpdateRequestWithBody(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("/users/users/%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 +} + +// NewUsersUsersUpdateRequest calls the generic UsersUsersUpdate builder with application/json body +func NewUsersUsersUpdateRequest(server string, id openapi_types.UUID, body UsersUsersUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersUsersUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewUsersUsersUpdateRequestWithBody generates requests for UsersUsersUpdate with any type of body +func NewUsersUsersUpdateRequestWithBody(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("/users/users/%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 +} + +// NewVirtualizationClusterGroupsBulkDestroyRequest generates requests for VirtualizationClusterGroupsBulkDestroy +func NewVirtualizationClusterGroupsBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/cluster-groups/") + 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 +} + +// NewVirtualizationClusterGroupsListRequest generates requests for VirtualizationClusterGroupsList +func NewVirtualizationClusterGroupsListRequest(server string, params *VirtualizationClusterGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/cluster-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.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 +} + +// NewVirtualizationClusterGroupsBulkPartialUpdateRequest calls the generic VirtualizationClusterGroupsBulkPartialUpdate builder with application/json body +func NewVirtualizationClusterGroupsBulkPartialUpdateRequest(server string, body VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterGroupsBulkPartialUpdateRequestWithBody generates requests for VirtualizationClusterGroupsBulkPartialUpdate with any type of body +func NewVirtualizationClusterGroupsBulkPartialUpdateRequestWithBody(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterGroupsCreateRequest calls the generic VirtualizationClusterGroupsCreate builder with application/json body +func NewVirtualizationClusterGroupsCreateRequest(server string, body VirtualizationClusterGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterGroupsCreateRequestWithBody generates requests for VirtualizationClusterGroupsCreate with any type of body +func NewVirtualizationClusterGroupsCreateRequestWithBody(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterGroupsBulkUpdateRequest calls the generic VirtualizationClusterGroupsBulkUpdate builder with application/json body +func NewVirtualizationClusterGroupsBulkUpdateRequest(server string, body VirtualizationClusterGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterGroupsBulkUpdateRequestWithBody generates requests for VirtualizationClusterGroupsBulkUpdate with any type of body +func NewVirtualizationClusterGroupsBulkUpdateRequestWithBody(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterGroupsDestroyRequest generates requests for VirtualizationClusterGroupsDestroy +func NewVirtualizationClusterGroupsDestroyRequest(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterGroupsRetrieveRequest generates requests for VirtualizationClusterGroupsRetrieve +func NewVirtualizationClusterGroupsRetrieveRequest(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterGroupsPartialUpdateRequest calls the generic VirtualizationClusterGroupsPartialUpdate builder with application/json body +func NewVirtualizationClusterGroupsPartialUpdateRequest(server string, id openapi_types.UUID, body VirtualizationClusterGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationClusterGroupsPartialUpdateRequestWithBody generates requests for VirtualizationClusterGroupsPartialUpdate with any type of body +func NewVirtualizationClusterGroupsPartialUpdateRequestWithBody(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/", 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 +} + +// NewVirtualizationClusterGroupsUpdateRequest calls the generic VirtualizationClusterGroupsUpdate builder with application/json body +func NewVirtualizationClusterGroupsUpdateRequest(server string, id openapi_types.UUID, body VirtualizationClusterGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationClusterGroupsUpdateRequestWithBody generates requests for VirtualizationClusterGroupsUpdate with any type of body +func NewVirtualizationClusterGroupsUpdateRequestWithBody(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/", 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 +} + +// NewVirtualizationClusterTypesBulkDestroyRequest generates requests for VirtualizationClusterTypesBulkDestroy +func NewVirtualizationClusterTypesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/cluster-types/") + 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 +} + +// NewVirtualizationClusterTypesListRequest generates requests for VirtualizationClusterTypesList +func NewVirtualizationClusterTypesListRequest(server string, params *VirtualizationClusterTypesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/cluster-types/") + 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.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 +} + +// NewVirtualizationClusterTypesBulkPartialUpdateRequest calls the generic VirtualizationClusterTypesBulkPartialUpdate builder with application/json body +func NewVirtualizationClusterTypesBulkPartialUpdateRequest(server string, body VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterTypesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterTypesBulkPartialUpdateRequestWithBody generates requests for VirtualizationClusterTypesBulkPartialUpdate with any type of body +func NewVirtualizationClusterTypesBulkPartialUpdateRequestWithBody(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterTypesCreateRequest calls the generic VirtualizationClusterTypesCreate builder with application/json body +func NewVirtualizationClusterTypesCreateRequest(server string, body VirtualizationClusterTypesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterTypesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterTypesCreateRequestWithBody generates requests for VirtualizationClusterTypesCreate with any type of body +func NewVirtualizationClusterTypesCreateRequestWithBody(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterTypesBulkUpdateRequest calls the generic VirtualizationClusterTypesBulkUpdate builder with application/json body +func NewVirtualizationClusterTypesBulkUpdateRequest(server string, body VirtualizationClusterTypesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterTypesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterTypesBulkUpdateRequestWithBody generates requests for VirtualizationClusterTypesBulkUpdate with any type of body +func NewVirtualizationClusterTypesBulkUpdateRequestWithBody(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterTypesDestroyRequest generates requests for VirtualizationClusterTypesDestroy +func NewVirtualizationClusterTypesDestroyRequest(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterTypesRetrieveRequest generates requests for VirtualizationClusterTypesRetrieve +func NewVirtualizationClusterTypesRetrieveRequest(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("/virtualization/cluster-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 +} + +// NewVirtualizationClusterTypesPartialUpdateRequest calls the generic VirtualizationClusterTypesPartialUpdate builder with application/json body +func NewVirtualizationClusterTypesPartialUpdateRequest(server string, id openapi_types.UUID, body VirtualizationClusterTypesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterTypesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationClusterTypesPartialUpdateRequestWithBody generates requests for VirtualizationClusterTypesPartialUpdate with any type of body +func NewVirtualizationClusterTypesPartialUpdateRequestWithBody(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/", 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 +} + +// NewVirtualizationClusterTypesUpdateRequest calls the generic VirtualizationClusterTypesUpdate builder with application/json body +func NewVirtualizationClusterTypesUpdateRequest(server string, id openapi_types.UUID, body VirtualizationClusterTypesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterTypesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationClusterTypesUpdateRequestWithBody generates requests for VirtualizationClusterTypesUpdate with any type of body +func NewVirtualizationClusterTypesUpdateRequestWithBody(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/", 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 +} + +// NewVirtualizationClustersBulkDestroyRequest generates requests for VirtualizationClustersBulkDestroy +func NewVirtualizationClustersBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/clusters/") + 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 +} + +// NewVirtualizationClustersListRequest generates requests for VirtualizationClustersList +func NewVirtualizationClustersListRequest(server string, params *VirtualizationClustersListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/clusters/") + 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.GroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id", runtime.ParamLocationQuery, *params.GroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group_id__n", runtime.ParamLocationQuery, *params.GroupIdN); err != nil { + return nil, err + } else if parsed, err := 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.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 { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + if params.Type != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { + return nil, err + } else if parsed, err := 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.TypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type_id", runtime.ParamLocationQuery, *params.TypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type_id__n", runtime.ParamLocationQuery, *params.TypeIdN); err != nil { + return nil, err + } else if 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 +} + +// NewVirtualizationClustersBulkPartialUpdateRequest calls the generic VirtualizationClustersBulkPartialUpdate builder with application/json body +func NewVirtualizationClustersBulkPartialUpdateRequest(server string, body VirtualizationClustersBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClustersBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClustersBulkPartialUpdateRequestWithBody generates requests for VirtualizationClustersBulkPartialUpdate with any type of body +func NewVirtualizationClustersBulkPartialUpdateRequestWithBody(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("/virtualization/clusters/") + 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 +} + +// NewVirtualizationClustersCreateRequest calls the generic VirtualizationClustersCreate builder with application/json body +func NewVirtualizationClustersCreateRequest(server string, body VirtualizationClustersCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClustersCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClustersCreateRequestWithBody generates requests for VirtualizationClustersCreate with any type of body +func NewVirtualizationClustersCreateRequestWithBody(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("/virtualization/clusters/") + 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 +} + +// NewVirtualizationClustersBulkUpdateRequest calls the generic VirtualizationClustersBulkUpdate builder with application/json body +func NewVirtualizationClustersBulkUpdateRequest(server string, body VirtualizationClustersBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClustersBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClustersBulkUpdateRequestWithBody generates requests for VirtualizationClustersBulkUpdate with any type of body +func NewVirtualizationClustersBulkUpdateRequestWithBody(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("/virtualization/clusters/") + 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 +} + +// NewVirtualizationClustersDestroyRequest generates requests for VirtualizationClustersDestroy +func NewVirtualizationClustersDestroyRequest(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("/virtualization/clusters/%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 +} + +// NewVirtualizationClustersRetrieveRequest generates requests for VirtualizationClustersRetrieve +func NewVirtualizationClustersRetrieveRequest(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("/virtualization/clusters/%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 +} + +// NewVirtualizationClustersPartialUpdateRequest calls the generic VirtualizationClustersPartialUpdate builder with application/json body +func NewVirtualizationClustersPartialUpdateRequest(server string, id openapi_types.UUID, body VirtualizationClustersPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClustersPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationClustersPartialUpdateRequestWithBody generates requests for VirtualizationClustersPartialUpdate with any type of body +func NewVirtualizationClustersPartialUpdateRequestWithBody(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/", 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 +} + +// NewVirtualizationClustersUpdateRequest calls the generic VirtualizationClustersUpdate builder with application/json body +func NewVirtualizationClustersUpdateRequest(server string, id openapi_types.UUID, body VirtualizationClustersUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClustersUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationClustersUpdateRequestWithBody generates requests for VirtualizationClustersUpdate with any type of body +func NewVirtualizationClustersUpdateRequestWithBody(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/", 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 +} + +// NewVirtualizationInterfacesBulkDestroyRequest generates requests for VirtualizationInterfacesBulkDestroy +func NewVirtualizationInterfacesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/interfaces/") + 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 +} + +// NewVirtualizationInterfacesListRequest generates requests for VirtualizationInterfacesList +func NewVirtualizationInterfacesListRequest(server string, params *VirtualizationInterfacesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/interfaces/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cluster != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster", runtime.ParamLocationQuery, *params.Cluster); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster__n", runtime.ParamLocationQuery, *params.ClusterN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id", runtime.ParamLocationQuery, *params.ClusterId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id__n", runtime.ParamLocationQuery, *params.ClusterIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.MacAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address", runtime.ParamLocationQuery, *params.MacAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ic", runtime.ParamLocationQuery, *params.MacAddressIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ie", runtime.ParamLocationQuery, *params.MacAddressIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__iew", runtime.ParamLocationQuery, *params.MacAddressIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ire", runtime.ParamLocationQuery, *params.MacAddressIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__isw", runtime.ParamLocationQuery, *params.MacAddressIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__n", runtime.ParamLocationQuery, *params.MacAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nic", runtime.ParamLocationQuery, *params.MacAddressNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nie", runtime.ParamLocationQuery, *params.MacAddressNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__niew", runtime.ParamLocationQuery, *params.MacAddressNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nire", runtime.ParamLocationQuery, *params.MacAddressNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nisw", runtime.ParamLocationQuery, *params.MacAddressNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nre", runtime.ParamLocationQuery, *params.MacAddressNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__re", runtime.ParamLocationQuery, *params.MacAddressRe); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__gt", runtime.ParamLocationQuery, *params.MtuGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__gte", runtime.ParamLocationQuery, *params.MtuGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__lt", runtime.ParamLocationQuery, *params.MtuLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__lte", runtime.ParamLocationQuery, *params.MtuLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MtuN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu__n", runtime.ParamLocationQuery, *params.MtuN); err != nil { + return nil, err + } else if parsed, err := 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.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.VirtualMachine != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine", runtime.ParamLocationQuery, *params.VirtualMachine); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachineN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine__n", runtime.ParamLocationQuery, *params.VirtualMachineN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachineId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine_id", runtime.ParamLocationQuery, *params.VirtualMachineId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachineIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine_id__n", runtime.ParamLocationQuery, *params.VirtualMachineIdN); err != nil { + return nil, err + } else if 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 +} + +// NewVirtualizationInterfacesBulkPartialUpdateRequest calls the generic VirtualizationInterfacesBulkPartialUpdate builder with application/json body +func NewVirtualizationInterfacesBulkPartialUpdateRequest(server string, body VirtualizationInterfacesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationInterfacesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationInterfacesBulkPartialUpdateRequestWithBody generates requests for VirtualizationInterfacesBulkPartialUpdate with any type of body +func NewVirtualizationInterfacesBulkPartialUpdateRequestWithBody(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("/virtualization/interfaces/") + 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 +} + +// NewVirtualizationInterfacesCreateRequest calls the generic VirtualizationInterfacesCreate builder with application/json body +func NewVirtualizationInterfacesCreateRequest(server string, body VirtualizationInterfacesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationInterfacesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationInterfacesCreateRequestWithBody generates requests for VirtualizationInterfacesCreate with any type of body +func NewVirtualizationInterfacesCreateRequestWithBody(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("/virtualization/interfaces/") + 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 +} + +// NewVirtualizationInterfacesBulkUpdateRequest calls the generic VirtualizationInterfacesBulkUpdate builder with application/json body +func NewVirtualizationInterfacesBulkUpdateRequest(server string, body VirtualizationInterfacesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationInterfacesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationInterfacesBulkUpdateRequestWithBody generates requests for VirtualizationInterfacesBulkUpdate with any type of body +func NewVirtualizationInterfacesBulkUpdateRequestWithBody(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("/virtualization/interfaces/") + 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 +} + +// NewVirtualizationInterfacesDestroyRequest generates requests for VirtualizationInterfacesDestroy +func NewVirtualizationInterfacesDestroyRequest(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("/virtualization/interfaces/%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 +} + +// NewVirtualizationInterfacesRetrieveRequest generates requests for VirtualizationInterfacesRetrieve +func NewVirtualizationInterfacesRetrieveRequest(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("/virtualization/interfaces/%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 +} + +// NewVirtualizationInterfacesPartialUpdateRequest calls the generic VirtualizationInterfacesPartialUpdate builder with application/json body +func NewVirtualizationInterfacesPartialUpdateRequest(server string, id openapi_types.UUID, body VirtualizationInterfacesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationInterfacesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationInterfacesPartialUpdateRequestWithBody generates requests for VirtualizationInterfacesPartialUpdate with any type of body +func NewVirtualizationInterfacesPartialUpdateRequestWithBody(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/", 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 +} + +// NewVirtualizationInterfacesUpdateRequest calls the generic VirtualizationInterfacesUpdate builder with application/json body +func NewVirtualizationInterfacesUpdateRequest(server string, id openapi_types.UUID, body VirtualizationInterfacesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationInterfacesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationInterfacesUpdateRequestWithBody generates requests for VirtualizationInterfacesUpdate with any type of body +func NewVirtualizationInterfacesUpdateRequestWithBody(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/", 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 +} + +// NewVirtualizationVirtualMachinesBulkDestroyRequest generates requests for VirtualizationVirtualMachinesBulkDestroy +func NewVirtualizationVirtualMachinesBulkDestroyRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/virtual-machines/") + 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 +} + +// NewVirtualizationVirtualMachinesListRequest generates requests for VirtualizationVirtualMachinesList +func NewVirtualizationVirtualMachinesListRequest(server string, params *VirtualizationVirtualMachinesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/virtual-machines/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Cluster != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster", runtime.ParamLocationQuery, *params.Cluster); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster__n", runtime.ParamLocationQuery, *params.ClusterN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group", runtime.ParamLocationQuery, *params.ClusterGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group__n", runtime.ParamLocationQuery, *params.ClusterGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group_id", runtime.ParamLocationQuery, *params.ClusterGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_group_id__n", runtime.ParamLocationQuery, *params.ClusterGroupIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id", runtime.ParamLocationQuery, *params.ClusterId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_id__n", runtime.ParamLocationQuery, *params.ClusterIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_type", runtime.ParamLocationQuery, *params.ClusterType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_type__n", runtime.ParamLocationQuery, *params.ClusterTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_type_id", runtime.ParamLocationQuery, *params.ClusterTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClusterTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster_type_id__n", runtime.ParamLocationQuery, *params.ClusterTypeIdN); err != nil { + return nil, err + } else if parsed, err := 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.Disk != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "disk", runtime.ParamLocationQuery, *params.Disk); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DiskGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "disk__gt", runtime.ParamLocationQuery, *params.DiskGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DiskGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "disk__gte", runtime.ParamLocationQuery, *params.DiskGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DiskLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "disk__lt", runtime.ParamLocationQuery, *params.DiskLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DiskLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "disk__lte", runtime.ParamLocationQuery, *params.DiskLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DiskN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "disk__n", runtime.ParamLocationQuery, *params.DiskN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := 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.LocalContextData != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_data", runtime.ParamLocationQuery, *params.LocalContextData); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalContextSchema != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_schema", runtime.ParamLocationQuery, *params.LocalContextSchema); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalContextSchemaN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_schema__n", runtime.ParamLocationQuery, *params.LocalContextSchemaN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalContextSchemaId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_schema_id", runtime.ParamLocationQuery, *params.LocalContextSchemaId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocalContextSchemaIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "local_context_schema_id__n", runtime.ParamLocationQuery, *params.LocalContextSchemaIdN); err != nil { + return nil, err + } else if parsed, err := 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 { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ic", runtime.ParamLocationQuery, *params.MacAddressIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ie", runtime.ParamLocationQuery, *params.MacAddressIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__iew", runtime.ParamLocationQuery, *params.MacAddressIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__ire", runtime.ParamLocationQuery, *params.MacAddressIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__isw", runtime.ParamLocationQuery, *params.MacAddressIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__n", runtime.ParamLocationQuery, *params.MacAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nic", runtime.ParamLocationQuery, *params.MacAddressNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nie", runtime.ParamLocationQuery, *params.MacAddressNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__niew", runtime.ParamLocationQuery, *params.MacAddressNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nire", runtime.ParamLocationQuery, *params.MacAddressNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nisw", runtime.ParamLocationQuery, *params.MacAddressNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__nre", runtime.ParamLocationQuery, *params.MacAddressNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MacAddressRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address__re", runtime.ParamLocationQuery, *params.MacAddressRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Memory != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "memory", runtime.ParamLocationQuery, *params.Memory); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MemoryGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "memory__gt", runtime.ParamLocationQuery, *params.MemoryGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MemoryGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "memory__gte", runtime.ParamLocationQuery, *params.MemoryGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MemoryLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "memory__lt", runtime.ParamLocationQuery, *params.MemoryLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MemoryLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "memory__lte", runtime.ParamLocationQuery, *params.MemoryLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MemoryN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "memory__n", runtime.ParamLocationQuery, *params.MemoryN); err != nil { + return nil, err + } else if parsed, err := 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.Platform != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform", runtime.ParamLocationQuery, *params.Platform); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + 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) + } + } + } + + } + + if params.PlatformId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id", runtime.ParamLocationQuery, *params.PlatformId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PlatformIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform_id__n", runtime.ParamLocationQuery, *params.PlatformIdN); err != nil { + return nil, err + } else if parsed, err := 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.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.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.RoleId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id", runtime.ParamLocationQuery, *params.RoleId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoleIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role_id__n", runtime.ParamLocationQuery, *params.RoleIdN); err != nil { + return nil, err + } else if parsed, err := 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.SiteId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id", runtime.ParamLocationQuery, *params.SiteId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site_id__n", runtime.ParamLocationQuery, *params.SiteIdN); err != nil { + return nil, err + } else if parsed, err := 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) + } + } + } + + } + + 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) + } + } + } + + } + + if params.Vcpus != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vcpus", runtime.ParamLocationQuery, *params.Vcpus); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcpusGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vcpus__gt", runtime.ParamLocationQuery, *params.VcpusGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcpusGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vcpus__gte", runtime.ParamLocationQuery, *params.VcpusGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcpusLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vcpus__lt", runtime.ParamLocationQuery, *params.VcpusLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcpusLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vcpus__lte", runtime.ParamLocationQuery, *params.VcpusLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VcpusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vcpus__n", runtime.ParamLocationQuery, *params.VcpusN); err != nil { + return nil, err + } else if 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 +} + +// NewVirtualizationVirtualMachinesBulkPartialUpdateRequest calls the generic VirtualizationVirtualMachinesBulkPartialUpdate builder with application/json body +func NewVirtualizationVirtualMachinesBulkPartialUpdateRequest(server string, body VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationVirtualMachinesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationVirtualMachinesBulkPartialUpdateRequestWithBody generates requests for VirtualizationVirtualMachinesBulkPartialUpdate with any type of body +func NewVirtualizationVirtualMachinesBulkPartialUpdateRequestWithBody(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("/virtualization/virtual-machines/") + 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 +} + +// NewVirtualizationVirtualMachinesCreateRequest calls the generic VirtualizationVirtualMachinesCreate builder with application/json body +func NewVirtualizationVirtualMachinesCreateRequest(server string, body VirtualizationVirtualMachinesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationVirtualMachinesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationVirtualMachinesCreateRequestWithBody generates requests for VirtualizationVirtualMachinesCreate with any type of body +func NewVirtualizationVirtualMachinesCreateRequestWithBody(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("/virtualization/virtual-machines/") + 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 +} + +// NewVirtualizationVirtualMachinesBulkUpdateRequest calls the generic VirtualizationVirtualMachinesBulkUpdate builder with application/json body +func NewVirtualizationVirtualMachinesBulkUpdateRequest(server string, body VirtualizationVirtualMachinesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationVirtualMachinesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationVirtualMachinesBulkUpdateRequestWithBody generates requests for VirtualizationVirtualMachinesBulkUpdate with any type of body +func NewVirtualizationVirtualMachinesBulkUpdateRequestWithBody(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("/virtualization/virtual-machines/") + 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 +} + +// NewVirtualizationVirtualMachinesDestroyRequest generates requests for VirtualizationVirtualMachinesDestroy +func NewVirtualizationVirtualMachinesDestroyRequest(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("/virtualization/virtual-machines/%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 +} + +// NewVirtualizationVirtualMachinesRetrieveRequest generates requests for VirtualizationVirtualMachinesRetrieve +func NewVirtualizationVirtualMachinesRetrieveRequest(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("/virtualization/virtual-machines/%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 +} + +// NewVirtualizationVirtualMachinesPartialUpdateRequest calls the generic VirtualizationVirtualMachinesPartialUpdate builder with application/json body +func NewVirtualizationVirtualMachinesPartialUpdateRequest(server string, id openapi_types.UUID, body VirtualizationVirtualMachinesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationVirtualMachinesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationVirtualMachinesPartialUpdateRequestWithBody generates requests for VirtualizationVirtualMachinesPartialUpdate with any type of body +func NewVirtualizationVirtualMachinesPartialUpdateRequestWithBody(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/", 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 +} + +// NewVirtualizationVirtualMachinesUpdateRequest calls the generic VirtualizationVirtualMachinesUpdate builder with application/json body +func NewVirtualizationVirtualMachinesUpdateRequest(server string, id openapi_types.UUID, body VirtualizationVirtualMachinesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationVirtualMachinesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationVirtualMachinesUpdateRequestWithBody generates requests for VirtualizationVirtualMachinesUpdate with any type of body +func NewVirtualizationVirtualMachinesUpdateRequestWithBody(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/", 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 +} + +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 { + return err + } + } + for _, r := range additionalEditors { + if err := r(ctx, req); err != nil { + return err + } + } + return nil +} + +// ClientWithResponses builds on ClientInterface to offer response payloads +type ClientWithResponses struct { + ClientInterface +} + +// NewClientWithResponses creates a new ClientWithResponses, which wraps +// Client with return type handling +func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) { + client, err := NewClient(server, opts...) + if err != nil { + return nil, err + } + return &ClientWithResponses{client}, nil +} + +// WithBaseURL overrides the baseURL. +func WithBaseURL(baseURL string) ClientOption { + return func(c *Client) error { + newBaseURL, err := url.Parse(baseURL) + if err != nil { + return err + } + c.Server = newBaseURL.String() + return nil + } +} + +// ClientWithResponsesInterface is the interface specification for the client with responses above. +type ClientWithResponsesInterface interface { + // CircuitsCircuitTerminationsBulkDestroy request + CircuitsCircuitTerminationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) + + // CircuitsCircuitTerminationsList request + CircuitsCircuitTerminationsListWithResponse(ctx context.Context, params *CircuitsCircuitTerminationsListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsListResponse, error) + + // CircuitsCircuitTerminationsBulkPartialUpdate request with any body + CircuitsCircuitTerminationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkPartialUpdateResponse, error) + + CircuitsCircuitTerminationsBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkPartialUpdateResponse, error) + + // CircuitsCircuitTerminationsCreate request with any body + CircuitsCircuitTerminationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsCreateResponse, error) + + CircuitsCircuitTerminationsCreateWithResponse(ctx context.Context, body CircuitsCircuitTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsCreateResponse, error) + + // CircuitsCircuitTerminationsBulkUpdate request with any body + CircuitsCircuitTerminationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkUpdateResponse, error) + + CircuitsCircuitTerminationsBulkUpdateWithResponse(ctx context.Context, body CircuitsCircuitTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkUpdateResponse, error) + + // CircuitsCircuitTerminationsDestroy request + CircuitsCircuitTerminationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsDestroyResponse, error) + + // CircuitsCircuitTerminationsRetrieve request + CircuitsCircuitTerminationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsRetrieveResponse, error) + + // CircuitsCircuitTerminationsPartialUpdate request with any body + CircuitsCircuitTerminationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsPartialUpdateResponse, error) + + CircuitsCircuitTerminationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsPartialUpdateResponse, error) + + // CircuitsCircuitTerminationsUpdate request with any body + CircuitsCircuitTerminationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsUpdateResponse, error) + + CircuitsCircuitTerminationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsUpdateResponse, 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) + + // CircuitsCircuitTypesList request + CircuitsCircuitTypesListWithResponse(ctx context.Context, params *CircuitsCircuitTypesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesListResponse, error) + + // CircuitsCircuitTypesBulkPartialUpdate request with any body + CircuitsCircuitTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkPartialUpdateResponse, error) + + CircuitsCircuitTypesBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkPartialUpdateResponse, error) + + // CircuitsCircuitTypesCreate request with any body + CircuitsCircuitTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesCreateResponse, error) + + CircuitsCircuitTypesCreateWithResponse(ctx context.Context, body CircuitsCircuitTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesCreateResponse, error) + + // CircuitsCircuitTypesBulkUpdate request with any body + CircuitsCircuitTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkUpdateResponse, error) + + CircuitsCircuitTypesBulkUpdateWithResponse(ctx context.Context, body CircuitsCircuitTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkUpdateResponse, error) + + // CircuitsCircuitTypesDestroy request + CircuitsCircuitTypesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesDestroyResponse, error) + + // CircuitsCircuitTypesRetrieve request + CircuitsCircuitTypesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesRetrieveResponse, error) + + // CircuitsCircuitTypesPartialUpdate request with any body + CircuitsCircuitTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesPartialUpdateResponse, error) + + CircuitsCircuitTypesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesPartialUpdateResponse, error) + + // CircuitsCircuitTypesUpdate request with any body + CircuitsCircuitTypesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesUpdateResponse, error) + + CircuitsCircuitTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesUpdateResponse, error) + + // CircuitsCircuitsBulkDestroy request + CircuitsCircuitsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) + + // CircuitsCircuitsList request + CircuitsCircuitsListWithResponse(ctx context.Context, params *CircuitsCircuitsListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitsListResponse, error) + + // CircuitsCircuitsBulkPartialUpdate request with any body + CircuitsCircuitsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkPartialUpdateResponse, error) + + CircuitsCircuitsBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsCircuitsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkPartialUpdateResponse, error) + + // CircuitsCircuitsCreate request with any body + CircuitsCircuitsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsCreateResponse, error) + + CircuitsCircuitsCreateWithResponse(ctx context.Context, body CircuitsCircuitsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsCreateResponse, error) + + // CircuitsCircuitsBulkUpdate request with any body + CircuitsCircuitsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkUpdateResponse, error) + + CircuitsCircuitsBulkUpdateWithResponse(ctx context.Context, body CircuitsCircuitsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkUpdateResponse, error) + + // CircuitsCircuitsDestroy request + CircuitsCircuitsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitsDestroyResponse, error) + + // CircuitsCircuitsRetrieve request + CircuitsCircuitsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitsRetrieveResponse, error) + + // CircuitsCircuitsPartialUpdate request with any body + CircuitsCircuitsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsPartialUpdateResponse, error) + + CircuitsCircuitsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsPartialUpdateResponse, error) + + // CircuitsCircuitsUpdate request with any body + CircuitsCircuitsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsUpdateResponse, error) + + CircuitsCircuitsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsUpdateResponse, error) + + // CircuitsProviderNetworksBulkDestroy request + CircuitsProviderNetworksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) + + // CircuitsProviderNetworksList request + CircuitsProviderNetworksListWithResponse(ctx context.Context, params *CircuitsProviderNetworksListParams, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksListResponse, error) + + // CircuitsProviderNetworksBulkPartialUpdate request with any body + CircuitsProviderNetworksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkPartialUpdateResponse, error) + + CircuitsProviderNetworksBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkPartialUpdateResponse, error) + + // CircuitsProviderNetworksCreate request with any body + CircuitsProviderNetworksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksCreateResponse, error) + + CircuitsProviderNetworksCreateWithResponse(ctx context.Context, body CircuitsProviderNetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksCreateResponse, error) + + // CircuitsProviderNetworksBulkUpdate request with any body + CircuitsProviderNetworksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkUpdateResponse, error) + + CircuitsProviderNetworksBulkUpdateWithResponse(ctx context.Context, body CircuitsProviderNetworksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkUpdateResponse, error) + + // CircuitsProviderNetworksDestroy request + CircuitsProviderNetworksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksDestroyResponse, error) + + // CircuitsProviderNetworksRetrieve request + CircuitsProviderNetworksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksRetrieveResponse, error) + + // CircuitsProviderNetworksPartialUpdate request with any body + CircuitsProviderNetworksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksPartialUpdateResponse, error) + + CircuitsProviderNetworksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksPartialUpdateResponse, error) + + // CircuitsProviderNetworksUpdate request with any body + CircuitsProviderNetworksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksUpdateResponse, error) + + CircuitsProviderNetworksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksUpdateResponse, error) + + // CircuitsProvidersBulkDestroy request + CircuitsProvidersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) + + // CircuitsProvidersList request + CircuitsProvidersListWithResponse(ctx context.Context, params *CircuitsProvidersListParams, reqEditors ...RequestEditorFn) (*CircuitsProvidersListResponse, error) + + // CircuitsProvidersBulkPartialUpdate request with any body + CircuitsProvidersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkPartialUpdateResponse, error) + + CircuitsProvidersBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsProvidersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkPartialUpdateResponse, error) + + // CircuitsProvidersCreate request with any body + CircuitsProvidersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersCreateResponse, error) + + CircuitsProvidersCreateWithResponse(ctx context.Context, body CircuitsProvidersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersCreateResponse, error) + + // CircuitsProvidersBulkUpdate request with any body + CircuitsProvidersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkUpdateResponse, error) + + CircuitsProvidersBulkUpdateWithResponse(ctx context.Context, body CircuitsProvidersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkUpdateResponse, error) + + // CircuitsProvidersDestroy request + CircuitsProvidersDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsProvidersDestroyResponse, error) + + // CircuitsProvidersRetrieve request + CircuitsProvidersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsProvidersRetrieveResponse, error) + + // CircuitsProvidersPartialUpdate request with any body + CircuitsProvidersPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersPartialUpdateResponse, error) + + CircuitsProvidersPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersPartialUpdateResponse, error) + + // CircuitsProvidersUpdate request with any body + CircuitsProvidersUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersUpdateResponse, error) + + CircuitsProvidersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersUpdateResponse, error) + + // DcimCablesBulkDestroy request + DcimCablesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) + + // DcimCablesList request + DcimCablesListWithResponse(ctx context.Context, params *DcimCablesListParams, reqEditors ...RequestEditorFn) (*DcimCablesListResponse, error) + + // DcimCablesBulkPartialUpdate request with any body + DcimCablesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesBulkPartialUpdateResponse, error) + + DcimCablesBulkPartialUpdateWithResponse(ctx context.Context, body DcimCablesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesBulkPartialUpdateResponse, error) + + // DcimCablesCreate request with any body + DcimCablesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesCreateResponse, error) + + DcimCablesCreateWithResponse(ctx context.Context, body DcimCablesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesCreateResponse, error) + + // DcimCablesBulkUpdate request with any body + DcimCablesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesBulkUpdateResponse, error) + + DcimCablesBulkUpdateWithResponse(ctx context.Context, body DcimCablesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesBulkUpdateResponse, error) + + // DcimCablesDestroy request + DcimCablesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimCablesDestroyResponse, error) + + // DcimCablesRetrieve request + DcimCablesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimCablesRetrieveResponse, error) + + // DcimCablesPartialUpdate request with any body + DcimCablesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesPartialUpdateResponse, error) + + DcimCablesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimCablesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesPartialUpdateResponse, error) + + // DcimCablesUpdate request with any body + DcimCablesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesUpdateResponse, error) + + DcimCablesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimCablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesUpdateResponse, 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) + + // DcimConsolePortTemplatesList request + DcimConsolePortTemplatesListWithResponse(ctx context.Context, params *DcimConsolePortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesListResponse, error) + + // DcimConsolePortTemplatesBulkPartialUpdate request with any body + DcimConsolePortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkPartialUpdateResponse, error) + + DcimConsolePortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkPartialUpdateResponse, error) + + // DcimConsolePortTemplatesCreate request with any body + DcimConsolePortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesCreateResponse, error) + + DcimConsolePortTemplatesCreateWithResponse(ctx context.Context, body DcimConsolePortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesCreateResponse, error) + + // DcimConsolePortTemplatesBulkUpdate request with any body + DcimConsolePortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkUpdateResponse, error) + + DcimConsolePortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimConsolePortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkUpdateResponse, error) + + // DcimConsolePortTemplatesDestroy request + DcimConsolePortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesDestroyResponse, error) + + // DcimConsolePortTemplatesRetrieve request + DcimConsolePortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesRetrieveResponse, error) + + // DcimConsolePortTemplatesPartialUpdate request with any body + DcimConsolePortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesPartialUpdateResponse, error) + + DcimConsolePortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesPartialUpdateResponse, error) + + // DcimConsolePortTemplatesUpdate request with any body + DcimConsolePortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesUpdateResponse, error) + + DcimConsolePortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesUpdateResponse, error) + + // DcimConsolePortsBulkDestroy request + DcimConsolePortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) + + // DcimConsolePortsList request + DcimConsolePortsListWithResponse(ctx context.Context, params *DcimConsolePortsListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortsListResponse, error) + + // DcimConsolePortsBulkPartialUpdate request with any body + DcimConsolePortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkPartialUpdateResponse, error) + + DcimConsolePortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimConsolePortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkPartialUpdateResponse, error) + + // DcimConsolePortsCreate request with any body + DcimConsolePortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsCreateResponse, error) + + DcimConsolePortsCreateWithResponse(ctx context.Context, body DcimConsolePortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsCreateResponse, error) + + // DcimConsolePortsBulkUpdate request with any body + DcimConsolePortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkUpdateResponse, error) + + DcimConsolePortsBulkUpdateWithResponse(ctx context.Context, body DcimConsolePortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkUpdateResponse, error) + + // DcimConsolePortsDestroy request + DcimConsolePortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortsDestroyResponse, error) + + // DcimConsolePortsRetrieve request + DcimConsolePortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortsRetrieveResponse, error) + + // DcimConsolePortsPartialUpdate request with any body + DcimConsolePortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsPartialUpdateResponse, error) + + DcimConsolePortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsPartialUpdateResponse, error) + + // DcimConsolePortsUpdate request with any body + DcimConsolePortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsUpdateResponse, error) + + DcimConsolePortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsUpdateResponse, 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) + + // DcimConsoleServerPortTemplatesList request + DcimConsoleServerPortTemplatesListWithResponse(ctx context.Context, params *DcimConsoleServerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesListResponse, error) + + // DcimConsoleServerPortTemplatesBulkPartialUpdate request with any body + DcimConsoleServerPortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkPartialUpdateResponse, error) + + DcimConsoleServerPortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkPartialUpdateResponse, error) + + // DcimConsoleServerPortTemplatesCreate request with any body + DcimConsoleServerPortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesCreateResponse, error) + + DcimConsoleServerPortTemplatesCreateWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesCreateResponse, error) + + // DcimConsoleServerPortTemplatesBulkUpdate request with any body + DcimConsoleServerPortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkUpdateResponse, error) + + DcimConsoleServerPortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkUpdateResponse, error) + + // DcimConsoleServerPortTemplatesDestroy request + DcimConsoleServerPortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesDestroyResponse, error) + + // DcimConsoleServerPortTemplatesRetrieve request + DcimConsoleServerPortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesRetrieveResponse, error) + + // DcimConsoleServerPortTemplatesPartialUpdate request with any body + DcimConsoleServerPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesPartialUpdateResponse, error) + + DcimConsoleServerPortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesPartialUpdateResponse, error) + + // DcimConsoleServerPortTemplatesUpdate request with any body + DcimConsoleServerPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesUpdateResponse, error) + + DcimConsoleServerPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesUpdateResponse, error) + + // DcimConsoleServerPortsBulkDestroy request + DcimConsoleServerPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) + + // DcimConsoleServerPortsList request + DcimConsoleServerPortsListWithResponse(ctx context.Context, params *DcimConsoleServerPortsListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsListResponse, error) + + // DcimConsoleServerPortsBulkPartialUpdate request with any body + DcimConsoleServerPortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkPartialUpdateResponse, error) + + DcimConsoleServerPortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkPartialUpdateResponse, error) + + // DcimConsoleServerPortsCreate request with any body + DcimConsoleServerPortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsCreateResponse, error) + + DcimConsoleServerPortsCreateWithResponse(ctx context.Context, body DcimConsoleServerPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsCreateResponse, error) + + // DcimConsoleServerPortsBulkUpdate request with any body + DcimConsoleServerPortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkUpdateResponse, error) + + DcimConsoleServerPortsBulkUpdateWithResponse(ctx context.Context, body DcimConsoleServerPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkUpdateResponse, error) + + // DcimConsoleServerPortsDestroy request + DcimConsoleServerPortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsDestroyResponse, error) + + // DcimConsoleServerPortsRetrieve request + DcimConsoleServerPortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsRetrieveResponse, error) + + // DcimConsoleServerPortsPartialUpdate request with any body + DcimConsoleServerPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsPartialUpdateResponse, error) + + DcimConsoleServerPortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsPartialUpdateResponse, error) + + // DcimConsoleServerPortsUpdate request with any body + DcimConsoleServerPortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsUpdateResponse, error) + + DcimConsoleServerPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsUpdateResponse, 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) + + // DcimDeviceBayTemplatesList request + DcimDeviceBayTemplatesListWithResponse(ctx context.Context, params *DcimDeviceBayTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesListResponse, error) + + // DcimDeviceBayTemplatesBulkPartialUpdate request with any body + DcimDeviceBayTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkPartialUpdateResponse, error) + + DcimDeviceBayTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkPartialUpdateResponse, error) + + // DcimDeviceBayTemplatesCreate request with any body + DcimDeviceBayTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesCreateResponse, error) + + DcimDeviceBayTemplatesCreateWithResponse(ctx context.Context, body DcimDeviceBayTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesCreateResponse, error) + + // DcimDeviceBayTemplatesBulkUpdate request with any body + DcimDeviceBayTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkUpdateResponse, error) + + DcimDeviceBayTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimDeviceBayTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkUpdateResponse, error) + + // DcimDeviceBayTemplatesDestroy request + DcimDeviceBayTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesDestroyResponse, error) + + // DcimDeviceBayTemplatesRetrieve request + DcimDeviceBayTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesRetrieveResponse, error) + + // DcimDeviceBayTemplatesPartialUpdate request with any body + DcimDeviceBayTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesPartialUpdateResponse, error) + + DcimDeviceBayTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesPartialUpdateResponse, error) + + // DcimDeviceBayTemplatesUpdate request with any body + DcimDeviceBayTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesUpdateResponse, error) + + DcimDeviceBayTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesUpdateResponse, error) + + // DcimDeviceBaysBulkDestroy request + DcimDeviceBaysBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) + + // DcimDeviceBaysList request + DcimDeviceBaysListWithResponse(ctx context.Context, params *DcimDeviceBaysListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBaysListResponse, error) + + // DcimDeviceBaysBulkPartialUpdate request with any body + DcimDeviceBaysBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkPartialUpdateResponse, error) + + DcimDeviceBaysBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceBaysBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkPartialUpdateResponse, error) + + // DcimDeviceBaysCreate request with any body + DcimDeviceBaysCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysCreateResponse, error) + + DcimDeviceBaysCreateWithResponse(ctx context.Context, body DcimDeviceBaysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysCreateResponse, error) + + // DcimDeviceBaysBulkUpdate request with any body + DcimDeviceBaysBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkUpdateResponse, error) + + DcimDeviceBaysBulkUpdateWithResponse(ctx context.Context, body DcimDeviceBaysBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkUpdateResponse, error) + + // DcimDeviceBaysDestroy request + DcimDeviceBaysDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceBaysDestroyResponse, error) + + // DcimDeviceBaysRetrieve request + DcimDeviceBaysRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceBaysRetrieveResponse, error) + + // DcimDeviceBaysPartialUpdate request with any body + DcimDeviceBaysPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysPartialUpdateResponse, error) + + DcimDeviceBaysPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysPartialUpdateResponse, error) + + // DcimDeviceBaysUpdate request with any body + DcimDeviceBaysUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysUpdateResponse, error) + + DcimDeviceBaysUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysUpdateResponse, error) + + // DcimDeviceRolesBulkDestroy request + DcimDeviceRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) + + // DcimDeviceRolesList request + DcimDeviceRolesListWithResponse(ctx context.Context, params *DcimDeviceRolesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRolesListResponse, error) + + // DcimDeviceRolesBulkPartialUpdate request with any body + DcimDeviceRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkPartialUpdateResponse, error) + + DcimDeviceRolesBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkPartialUpdateResponse, error) + + // DcimDeviceRolesCreate request with any body + DcimDeviceRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesCreateResponse, error) + + DcimDeviceRolesCreateWithResponse(ctx context.Context, body DcimDeviceRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesCreateResponse, error) + + // DcimDeviceRolesBulkUpdate request with any body + DcimDeviceRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkUpdateResponse, error) + + DcimDeviceRolesBulkUpdateWithResponse(ctx context.Context, body DcimDeviceRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkUpdateResponse, error) + + // DcimDeviceRolesDestroy request + DcimDeviceRolesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceRolesDestroyResponse, error) + + // DcimDeviceRolesRetrieve request + DcimDeviceRolesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceRolesRetrieveResponse, error) + + // DcimDeviceRolesPartialUpdate request with any body + DcimDeviceRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesPartialUpdateResponse, error) + + DcimDeviceRolesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesPartialUpdateResponse, error) + + // DcimDeviceRolesUpdate request with any body + DcimDeviceRolesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesUpdateResponse, error) + + DcimDeviceRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesUpdateResponse, error) + + // DcimDeviceTypesBulkDestroy request + DcimDeviceTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) + + // DcimDeviceTypesList request + DcimDeviceTypesListWithResponse(ctx context.Context, params *DcimDeviceTypesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceTypesListResponse, error) + + // DcimDeviceTypesBulkPartialUpdate request with any body + DcimDeviceTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkPartialUpdateResponse, error) + + DcimDeviceTypesBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkPartialUpdateResponse, error) + + // DcimDeviceTypesCreate request with any body + DcimDeviceTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesCreateResponse, error) + + DcimDeviceTypesCreateWithResponse(ctx context.Context, body DcimDeviceTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesCreateResponse, error) + + // DcimDeviceTypesBulkUpdate request with any body + DcimDeviceTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkUpdateResponse, error) + + DcimDeviceTypesBulkUpdateWithResponse(ctx context.Context, body DcimDeviceTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkUpdateResponse, error) + + // DcimDeviceTypesDestroy request + DcimDeviceTypesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceTypesDestroyResponse, error) + + // DcimDeviceTypesRetrieve request + DcimDeviceTypesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceTypesRetrieveResponse, error) + + // DcimDeviceTypesPartialUpdate request with any body + DcimDeviceTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesPartialUpdateResponse, error) + + DcimDeviceTypesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesPartialUpdateResponse, error) + + // DcimDeviceTypesUpdate request with any body + DcimDeviceTypesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesUpdateResponse, error) + + DcimDeviceTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesUpdateResponse, error) + + // DcimDevicesBulkDestroy request + DcimDevicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) + + // DcimDevicesList request + DcimDevicesListWithResponse(ctx context.Context, params *DcimDevicesListParams, reqEditors ...RequestEditorFn) (*DcimDevicesListResponse, error) + + // DcimDevicesBulkPartialUpdate request with any body + DcimDevicesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesBulkPartialUpdateResponse, error) + + DcimDevicesBulkPartialUpdateWithResponse(ctx context.Context, body DcimDevicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesBulkPartialUpdateResponse, error) + + // DcimDevicesCreate request with any body + DcimDevicesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesCreateResponse, error) + + DcimDevicesCreateWithResponse(ctx context.Context, body DcimDevicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesCreateResponse, error) + + // DcimDevicesBulkUpdate request with any body + DcimDevicesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesBulkUpdateResponse, error) + + DcimDevicesBulkUpdateWithResponse(ctx context.Context, body DcimDevicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesBulkUpdateResponse, error) + + // DcimDevicesDestroy request + DcimDevicesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDevicesDestroyResponse, error) + + // DcimDevicesRetrieve request + DcimDevicesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDevicesRetrieveResponse, error) + + // DcimDevicesPartialUpdate request with any body + DcimDevicesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesPartialUpdateResponse, error) + + DcimDevicesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDevicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesPartialUpdateResponse, error) + + // DcimDevicesUpdate request with any body + DcimDevicesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesUpdateResponse, error) + + DcimDevicesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDevicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesUpdateResponse, error) + + // 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) + + // DcimFrontPortTemplatesList request + DcimFrontPortTemplatesListWithResponse(ctx context.Context, params *DcimFrontPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesListResponse, error) + + // DcimFrontPortTemplatesBulkPartialUpdate request with any body + DcimFrontPortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkPartialUpdateResponse, error) + + DcimFrontPortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkPartialUpdateResponse, error) + + // DcimFrontPortTemplatesCreate request with any body + DcimFrontPortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesCreateResponse, error) + + DcimFrontPortTemplatesCreateWithResponse(ctx context.Context, body DcimFrontPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesCreateResponse, error) + + // DcimFrontPortTemplatesBulkUpdate request with any body + DcimFrontPortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkUpdateResponse, error) + + DcimFrontPortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimFrontPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkUpdateResponse, error) + + // DcimFrontPortTemplatesDestroy request + DcimFrontPortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesDestroyResponse, error) + + // DcimFrontPortTemplatesRetrieve request + DcimFrontPortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesRetrieveResponse, error) + + // DcimFrontPortTemplatesPartialUpdate request with any body + DcimFrontPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesPartialUpdateResponse, error) + + DcimFrontPortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesPartialUpdateResponse, error) + + // DcimFrontPortTemplatesUpdate request with any body + DcimFrontPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesUpdateResponse, error) + + DcimFrontPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesUpdateResponse, error) + + // DcimFrontPortsBulkDestroy request + DcimFrontPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) + + // DcimFrontPortsList request + DcimFrontPortsListWithResponse(ctx context.Context, params *DcimFrontPortsListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortsListResponse, error) + + // DcimFrontPortsBulkPartialUpdate request with any body + DcimFrontPortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkPartialUpdateResponse, error) + + DcimFrontPortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimFrontPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkPartialUpdateResponse, error) + + // DcimFrontPortsCreate request with any body + DcimFrontPortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsCreateResponse, error) + + DcimFrontPortsCreateWithResponse(ctx context.Context, body DcimFrontPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsCreateResponse, error) + + // DcimFrontPortsBulkUpdate request with any body + DcimFrontPortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkUpdateResponse, error) + + DcimFrontPortsBulkUpdateWithResponse(ctx context.Context, body DcimFrontPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkUpdateResponse, error) + + // DcimFrontPortsDestroy request + DcimFrontPortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortsDestroyResponse, error) + + // DcimFrontPortsRetrieve request + DcimFrontPortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortsRetrieveResponse, error) + + // DcimFrontPortsPartialUpdate request with any body + DcimFrontPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsPartialUpdateResponse, error) + + DcimFrontPortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsPartialUpdateResponse, error) + + // DcimFrontPortsUpdate request with any body + DcimFrontPortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsUpdateResponse, error) + + DcimFrontPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsUpdateResponse, 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) + + // DcimInterfaceTemplatesList request + DcimInterfaceTemplatesListWithResponse(ctx context.Context, params *DcimInterfaceTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesListResponse, error) + + // DcimInterfaceTemplatesBulkPartialUpdate request with any body + DcimInterfaceTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkPartialUpdateResponse, error) + + DcimInterfaceTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkPartialUpdateResponse, error) + + // DcimInterfaceTemplatesCreate request with any body + DcimInterfaceTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesCreateResponse, error) + + DcimInterfaceTemplatesCreateWithResponse(ctx context.Context, body DcimInterfaceTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesCreateResponse, error) + + // DcimInterfaceTemplatesBulkUpdate request with any body + DcimInterfaceTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkUpdateResponse, error) + + DcimInterfaceTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimInterfaceTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkUpdateResponse, error) + + // DcimInterfaceTemplatesDestroy request + DcimInterfaceTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesDestroyResponse, error) + + // DcimInterfaceTemplatesRetrieve request + DcimInterfaceTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesRetrieveResponse, error) + + // DcimInterfaceTemplatesPartialUpdate request with any body + DcimInterfaceTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesPartialUpdateResponse, error) + + DcimInterfaceTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesPartialUpdateResponse, error) + + // DcimInterfaceTemplatesUpdate request with any body + DcimInterfaceTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesUpdateResponse, error) + + DcimInterfaceTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesUpdateResponse, error) + + // DcimInterfacesBulkDestroy request + DcimInterfacesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) + + // DcimInterfacesList request + DcimInterfacesListWithResponse(ctx context.Context, params *DcimInterfacesListParams, reqEditors ...RequestEditorFn) (*DcimInterfacesListResponse, error) + + // DcimInterfacesBulkPartialUpdate request with any body + DcimInterfacesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkPartialUpdateResponse, error) + + DcimInterfacesBulkPartialUpdateWithResponse(ctx context.Context, body DcimInterfacesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkPartialUpdateResponse, error) + + // DcimInterfacesCreate request with any body + DcimInterfacesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesCreateResponse, error) + + DcimInterfacesCreateWithResponse(ctx context.Context, body DcimInterfacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesCreateResponse, error) + + // DcimInterfacesBulkUpdate request with any body + DcimInterfacesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkUpdateResponse, error) + + DcimInterfacesBulkUpdateWithResponse(ctx context.Context, body DcimInterfacesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkUpdateResponse, error) + + // DcimInterfacesDestroy request + DcimInterfacesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfacesDestroyResponse, error) + + // DcimInterfacesRetrieve request + DcimInterfacesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfacesRetrieveResponse, error) + + // DcimInterfacesPartialUpdate request with any body + DcimInterfacesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesPartialUpdateResponse, error) + + DcimInterfacesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesPartialUpdateResponse, error) + + // DcimInterfacesUpdate request with any body + DcimInterfacesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesUpdateResponse, error) + + DcimInterfacesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesUpdateResponse, 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) + + // DcimInventoryItemsList request + DcimInventoryItemsListWithResponse(ctx context.Context, params *DcimInventoryItemsListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemsListResponse, error) + + // DcimInventoryItemsBulkPartialUpdate request with any body + DcimInventoryItemsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkPartialUpdateResponse, error) + + DcimInventoryItemsBulkPartialUpdateWithResponse(ctx context.Context, body DcimInventoryItemsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkPartialUpdateResponse, error) + + // DcimInventoryItemsCreate request with any body + DcimInventoryItemsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsCreateResponse, error) + + DcimInventoryItemsCreateWithResponse(ctx context.Context, body DcimInventoryItemsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsCreateResponse, error) + + // DcimInventoryItemsBulkUpdate request with any body + DcimInventoryItemsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkUpdateResponse, error) + + DcimInventoryItemsBulkUpdateWithResponse(ctx context.Context, body DcimInventoryItemsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkUpdateResponse, error) + + // DcimInventoryItemsDestroy request + DcimInventoryItemsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInventoryItemsDestroyResponse, error) + + // DcimInventoryItemsRetrieve request + DcimInventoryItemsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInventoryItemsRetrieveResponse, error) + + // DcimInventoryItemsPartialUpdate request with any body + DcimInventoryItemsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsPartialUpdateResponse, error) + + DcimInventoryItemsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsPartialUpdateResponse, error) + + // DcimInventoryItemsUpdate request with any body + DcimInventoryItemsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsUpdateResponse, error) + + DcimInventoryItemsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsUpdateResponse, error) + + // DcimManufacturersBulkDestroy request + DcimManufacturersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) + + // DcimManufacturersList request + DcimManufacturersListWithResponse(ctx context.Context, params *DcimManufacturersListParams, reqEditors ...RequestEditorFn) (*DcimManufacturersListResponse, error) + + // DcimManufacturersBulkPartialUpdate request with any body + DcimManufacturersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkPartialUpdateResponse, error) + + DcimManufacturersBulkPartialUpdateWithResponse(ctx context.Context, body DcimManufacturersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkPartialUpdateResponse, error) + + // DcimManufacturersCreate request with any body + DcimManufacturersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersCreateResponse, error) + + DcimManufacturersCreateWithResponse(ctx context.Context, body DcimManufacturersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersCreateResponse, error) + + // DcimManufacturersBulkUpdate request with any body + DcimManufacturersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkUpdateResponse, error) + + DcimManufacturersBulkUpdateWithResponse(ctx context.Context, body DcimManufacturersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkUpdateResponse, error) + + // DcimManufacturersDestroy request + DcimManufacturersDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimManufacturersDestroyResponse, error) + + // DcimManufacturersRetrieve request + DcimManufacturersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimManufacturersRetrieveResponse, error) + + // DcimManufacturersPartialUpdate request with any body + DcimManufacturersPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersPartialUpdateResponse, error) + + DcimManufacturersPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimManufacturersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersPartialUpdateResponse, error) + + // DcimManufacturersUpdate request with any body + DcimManufacturersUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersUpdateResponse, error) + + DcimManufacturersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimManufacturersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersUpdateResponse, error) + + // DcimPlatformsBulkDestroy request + DcimPlatformsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) + + // DcimPlatformsList request + DcimPlatformsListWithResponse(ctx context.Context, params *DcimPlatformsListParams, reqEditors ...RequestEditorFn) (*DcimPlatformsListResponse, error) + + // DcimPlatformsBulkPartialUpdate request with any body + DcimPlatformsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkPartialUpdateResponse, error) + + DcimPlatformsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPlatformsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkPartialUpdateResponse, error) + + // DcimPlatformsCreate request with any body + DcimPlatformsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsCreateResponse, error) + + DcimPlatformsCreateWithResponse(ctx context.Context, body DcimPlatformsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsCreateResponse, error) + + // DcimPlatformsBulkUpdate request with any body + DcimPlatformsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkUpdateResponse, error) + + DcimPlatformsBulkUpdateWithResponse(ctx context.Context, body DcimPlatformsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkUpdateResponse, error) + + // DcimPlatformsDestroy request + DcimPlatformsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPlatformsDestroyResponse, error) + + // DcimPlatformsRetrieve request + DcimPlatformsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPlatformsRetrieveResponse, error) + + // DcimPlatformsPartialUpdate request with any body + DcimPlatformsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsPartialUpdateResponse, error) + + DcimPlatformsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPlatformsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsPartialUpdateResponse, error) + + // DcimPlatformsUpdate request with any body + DcimPlatformsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsUpdateResponse, error) + + DcimPlatformsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPlatformsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsUpdateResponse, error) + + // DcimPowerConnectionsList request + DcimPowerConnectionsListWithResponse(ctx context.Context, params *DcimPowerConnectionsListParams, reqEditors ...RequestEditorFn) (*DcimPowerConnectionsListResponse, error) + + // DcimPowerFeedsBulkDestroy request + DcimPowerFeedsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) + + // DcimPowerFeedsList request + DcimPowerFeedsListWithResponse(ctx context.Context, params *DcimPowerFeedsListParams, reqEditors ...RequestEditorFn) (*DcimPowerFeedsListResponse, error) + + // DcimPowerFeedsBulkPartialUpdate request with any body + DcimPowerFeedsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkPartialUpdateResponse, error) + + DcimPowerFeedsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerFeedsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkPartialUpdateResponse, error) + + // DcimPowerFeedsCreate request with any body + DcimPowerFeedsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsCreateResponse, error) + + DcimPowerFeedsCreateWithResponse(ctx context.Context, body DcimPowerFeedsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsCreateResponse, error) + + // DcimPowerFeedsBulkUpdate request with any body + DcimPowerFeedsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkUpdateResponse, error) + + DcimPowerFeedsBulkUpdateWithResponse(ctx context.Context, body DcimPowerFeedsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkUpdateResponse, error) + + // DcimPowerFeedsDestroy request + DcimPowerFeedsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerFeedsDestroyResponse, error) + + // DcimPowerFeedsRetrieve request + DcimPowerFeedsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerFeedsRetrieveResponse, error) + + // DcimPowerFeedsPartialUpdate request with any body + DcimPowerFeedsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsPartialUpdateResponse, error) + + DcimPowerFeedsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsPartialUpdateResponse, error) + + // DcimPowerFeedsUpdate request with any body + DcimPowerFeedsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsUpdateResponse, error) + + DcimPowerFeedsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsUpdateResponse, 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) + + // DcimPowerOutletTemplatesList request + DcimPowerOutletTemplatesListWithResponse(ctx context.Context, params *DcimPowerOutletTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesListResponse, error) + + // DcimPowerOutletTemplatesBulkPartialUpdate request with any body + DcimPowerOutletTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkPartialUpdateResponse, error) + + DcimPowerOutletTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkPartialUpdateResponse, error) + + // DcimPowerOutletTemplatesCreate request with any body + DcimPowerOutletTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesCreateResponse, error) + + DcimPowerOutletTemplatesCreateWithResponse(ctx context.Context, body DcimPowerOutletTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesCreateResponse, error) + + // DcimPowerOutletTemplatesBulkUpdate request with any body + DcimPowerOutletTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkUpdateResponse, error) + + DcimPowerOutletTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimPowerOutletTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkUpdateResponse, error) + + // DcimPowerOutletTemplatesDestroy request + DcimPowerOutletTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesDestroyResponse, error) + + // DcimPowerOutletTemplatesRetrieve request + DcimPowerOutletTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesRetrieveResponse, error) + + // DcimPowerOutletTemplatesPartialUpdate request with any body + DcimPowerOutletTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesPartialUpdateResponse, error) + + DcimPowerOutletTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesPartialUpdateResponse, error) + + // DcimPowerOutletTemplatesUpdate request with any body + DcimPowerOutletTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesUpdateResponse, error) + + DcimPowerOutletTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesUpdateResponse, error) + + // DcimPowerOutletsBulkDestroy request + DcimPowerOutletsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) + + // DcimPowerOutletsList request + DcimPowerOutletsListWithResponse(ctx context.Context, params *DcimPowerOutletsListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletsListResponse, error) + + // DcimPowerOutletsBulkPartialUpdate request with any body + DcimPowerOutletsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkPartialUpdateResponse, error) + + DcimPowerOutletsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerOutletsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkPartialUpdateResponse, error) + + // DcimPowerOutletsCreate request with any body + DcimPowerOutletsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsCreateResponse, error) + + DcimPowerOutletsCreateWithResponse(ctx context.Context, body DcimPowerOutletsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsCreateResponse, error) + + // DcimPowerOutletsBulkUpdate request with any body + DcimPowerOutletsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkUpdateResponse, error) + + DcimPowerOutletsBulkUpdateWithResponse(ctx context.Context, body DcimPowerOutletsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkUpdateResponse, error) + + // DcimPowerOutletsDestroy request + DcimPowerOutletsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletsDestroyResponse, error) + + // DcimPowerOutletsRetrieve request + DcimPowerOutletsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletsRetrieveResponse, error) + + // DcimPowerOutletsPartialUpdate request with any body + DcimPowerOutletsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsPartialUpdateResponse, error) + + DcimPowerOutletsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsPartialUpdateResponse, error) + + // DcimPowerOutletsUpdate request with any body + DcimPowerOutletsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsUpdateResponse, error) + + DcimPowerOutletsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsUpdateResponse, 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) + + // DcimPowerPanelsList request + DcimPowerPanelsListWithResponse(ctx context.Context, params *DcimPowerPanelsListParams, reqEditors ...RequestEditorFn) (*DcimPowerPanelsListResponse, error) + + // DcimPowerPanelsBulkPartialUpdate request with any body + DcimPowerPanelsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkPartialUpdateResponse, error) + + DcimPowerPanelsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerPanelsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkPartialUpdateResponse, error) + + // DcimPowerPanelsCreate request with any body + DcimPowerPanelsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsCreateResponse, error) + + DcimPowerPanelsCreateWithResponse(ctx context.Context, body DcimPowerPanelsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsCreateResponse, error) + + // DcimPowerPanelsBulkUpdate request with any body + DcimPowerPanelsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkUpdateResponse, error) + + DcimPowerPanelsBulkUpdateWithResponse(ctx context.Context, body DcimPowerPanelsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkUpdateResponse, error) + + // DcimPowerPanelsDestroy request + DcimPowerPanelsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPanelsDestroyResponse, error) + + // DcimPowerPanelsRetrieve request + DcimPowerPanelsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPanelsRetrieveResponse, error) + + // DcimPowerPanelsPartialUpdate request with any body + DcimPowerPanelsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsPartialUpdateResponse, error) + + DcimPowerPanelsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsPartialUpdateResponse, error) + + // DcimPowerPanelsUpdate request with any body + DcimPowerPanelsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsUpdateResponse, error) + + DcimPowerPanelsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsUpdateResponse, error) + + // DcimPowerPortTemplatesBulkDestroy request + DcimPowerPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) + + // DcimPowerPortTemplatesList request + DcimPowerPortTemplatesListWithResponse(ctx context.Context, params *DcimPowerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesListResponse, error) + + // DcimPowerPortTemplatesBulkPartialUpdate request with any body + DcimPowerPortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkPartialUpdateResponse, error) + + DcimPowerPortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkPartialUpdateResponse, error) + + // DcimPowerPortTemplatesCreate request with any body + DcimPowerPortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesCreateResponse, error) + + DcimPowerPortTemplatesCreateWithResponse(ctx context.Context, body DcimPowerPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesCreateResponse, error) + + // DcimPowerPortTemplatesBulkUpdate request with any body + DcimPowerPortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkUpdateResponse, error) + + DcimPowerPortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimPowerPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkUpdateResponse, error) + + // DcimPowerPortTemplatesDestroy request + DcimPowerPortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesDestroyResponse, error) + + // DcimPowerPortTemplatesRetrieve request + DcimPowerPortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesRetrieveResponse, error) + + // DcimPowerPortTemplatesPartialUpdate request with any body + DcimPowerPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesPartialUpdateResponse, error) + + DcimPowerPortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesPartialUpdateResponse, error) + + // DcimPowerPortTemplatesUpdate request with any body + DcimPowerPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesUpdateResponse, error) + + DcimPowerPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesUpdateResponse, error) + + // DcimPowerPortsBulkDestroy request + DcimPowerPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) + + // DcimPowerPortsList request + DcimPowerPortsListWithResponse(ctx context.Context, params *DcimPowerPortsListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortsListResponse, error) + + // DcimPowerPortsBulkPartialUpdate request with any body + DcimPowerPortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkPartialUpdateResponse, error) + + DcimPowerPortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkPartialUpdateResponse, error) + + // DcimPowerPortsCreate request with any body + DcimPowerPortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsCreateResponse, error) + + DcimPowerPortsCreateWithResponse(ctx context.Context, body DcimPowerPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsCreateResponse, error) + + // DcimPowerPortsBulkUpdate request with any body + DcimPowerPortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkUpdateResponse, error) + + DcimPowerPortsBulkUpdateWithResponse(ctx context.Context, body DcimPowerPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkUpdateResponse, error) + + // DcimPowerPortsDestroy request + DcimPowerPortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortsDestroyResponse, error) + + // DcimPowerPortsRetrieve request + DcimPowerPortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortsRetrieveResponse, error) + + // DcimPowerPortsPartialUpdate request with any body + DcimPowerPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsPartialUpdateResponse, error) + + DcimPowerPortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsPartialUpdateResponse, error) + + // DcimPowerPortsUpdate request with any body + DcimPowerPortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsUpdateResponse, error) + + DcimPowerPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsUpdateResponse, 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) + + // DcimRackGroupsList request + DcimRackGroupsListWithResponse(ctx context.Context, params *DcimRackGroupsListParams, reqEditors ...RequestEditorFn) (*DcimRackGroupsListResponse, error) + + // DcimRackGroupsBulkPartialUpdate request with any body + DcimRackGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkPartialUpdateResponse, error) + + DcimRackGroupsBulkPartialUpdateWithResponse(ctx context.Context, body DcimRackGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkPartialUpdateResponse, error) + + // DcimRackGroupsCreate request with any body + DcimRackGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsCreateResponse, error) + + DcimRackGroupsCreateWithResponse(ctx context.Context, body DcimRackGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsCreateResponse, error) + + // DcimRackGroupsBulkUpdate request with any body + DcimRackGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkUpdateResponse, error) + + DcimRackGroupsBulkUpdateWithResponse(ctx context.Context, body DcimRackGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkUpdateResponse, error) + + // DcimRackGroupsDestroy request + DcimRackGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackGroupsDestroyResponse, error) + + // DcimRackGroupsRetrieve request + DcimRackGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackGroupsRetrieveResponse, error) + + // DcimRackGroupsPartialUpdate request with any body + DcimRackGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsPartialUpdateResponse, error) + + DcimRackGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsPartialUpdateResponse, error) + + // DcimRackGroupsUpdate request with any body + DcimRackGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsUpdateResponse, error) + + DcimRackGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsUpdateResponse, error) + + // DcimRackReservationsBulkDestroy request + DcimRackReservationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) + + // DcimRackReservationsList request + DcimRackReservationsListWithResponse(ctx context.Context, params *DcimRackReservationsListParams, reqEditors ...RequestEditorFn) (*DcimRackReservationsListResponse, error) + + // DcimRackReservationsBulkPartialUpdate request with any body + DcimRackReservationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkPartialUpdateResponse, error) + + DcimRackReservationsBulkPartialUpdateWithResponse(ctx context.Context, body DcimRackReservationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkPartialUpdateResponse, error) + + // DcimRackReservationsCreate request with any body + DcimRackReservationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsCreateResponse, error) + + DcimRackReservationsCreateWithResponse(ctx context.Context, body DcimRackReservationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsCreateResponse, error) + + // DcimRackReservationsBulkUpdate request with any body + DcimRackReservationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkUpdateResponse, error) + + DcimRackReservationsBulkUpdateWithResponse(ctx context.Context, body DcimRackReservationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkUpdateResponse, error) + + // DcimRackReservationsDestroy request + DcimRackReservationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackReservationsDestroyResponse, error) + + // DcimRackReservationsRetrieve request + DcimRackReservationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackReservationsRetrieveResponse, error) + + // DcimRackReservationsPartialUpdate request with any body + DcimRackReservationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsPartialUpdateResponse, error) + + DcimRackReservationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsPartialUpdateResponse, error) + + // DcimRackReservationsUpdate request with any body + DcimRackReservationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsUpdateResponse, error) + + DcimRackReservationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsUpdateResponse, error) + + // DcimRackRolesBulkDestroy request + DcimRackRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) + + // DcimRackRolesList request + DcimRackRolesListWithResponse(ctx context.Context, params *DcimRackRolesListParams, reqEditors ...RequestEditorFn) (*DcimRackRolesListResponse, error) + + // DcimRackRolesBulkPartialUpdate request with any body + DcimRackRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkPartialUpdateResponse, error) + + DcimRackRolesBulkPartialUpdateWithResponse(ctx context.Context, body DcimRackRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkPartialUpdateResponse, error) + + // DcimRackRolesCreate request with any body + DcimRackRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesCreateResponse, error) + + DcimRackRolesCreateWithResponse(ctx context.Context, body DcimRackRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesCreateResponse, error) + + // DcimRackRolesBulkUpdate request with any body + DcimRackRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkUpdateResponse, error) + + DcimRackRolesBulkUpdateWithResponse(ctx context.Context, body DcimRackRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkUpdateResponse, error) + + // DcimRackRolesDestroy request + DcimRackRolesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackRolesDestroyResponse, error) + + // DcimRackRolesRetrieve request + DcimRackRolesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackRolesRetrieveResponse, error) + + // DcimRackRolesPartialUpdate request with any body + DcimRackRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesPartialUpdateResponse, error) + + DcimRackRolesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesPartialUpdateResponse, error) + + // DcimRackRolesUpdate request with any body + DcimRackRolesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesUpdateResponse, error) + + DcimRackRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesUpdateResponse, error) + + // DcimRacksBulkDestroy request + DcimRacksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) + + // DcimRacksList request + DcimRacksListWithResponse(ctx context.Context, params *DcimRacksListParams, reqEditors ...RequestEditorFn) (*DcimRacksListResponse, error) + + // DcimRacksBulkPartialUpdate request with any body + DcimRacksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksBulkPartialUpdateResponse, error) + + DcimRacksBulkPartialUpdateWithResponse(ctx context.Context, body DcimRacksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksBulkPartialUpdateResponse, error) + + // DcimRacksCreate request with any body + DcimRacksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksCreateResponse, error) + + DcimRacksCreateWithResponse(ctx context.Context, body DcimRacksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksCreateResponse, error) + + // DcimRacksBulkUpdate request with any body + DcimRacksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksBulkUpdateResponse, error) + + DcimRacksBulkUpdateWithResponse(ctx context.Context, body DcimRacksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksBulkUpdateResponse, error) + + // DcimRacksDestroy request + DcimRacksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRacksDestroyResponse, error) + + // DcimRacksRetrieve request + DcimRacksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRacksRetrieveResponse, error) + + // DcimRacksPartialUpdate request with any body + DcimRacksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksPartialUpdateResponse, error) + + DcimRacksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRacksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksPartialUpdateResponse, error) + + // DcimRacksUpdate request with any body + DcimRacksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksUpdateResponse, error) + + DcimRacksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRacksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksUpdateResponse, error) + + // 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) + + // DcimRearPortTemplatesList request + DcimRearPortTemplatesListWithResponse(ctx context.Context, params *DcimRearPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesListResponse, error) + + // DcimRearPortTemplatesBulkPartialUpdate request with any body + DcimRearPortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkPartialUpdateResponse, error) + + DcimRearPortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkPartialUpdateResponse, error) + + // DcimRearPortTemplatesCreate request with any body + DcimRearPortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesCreateResponse, error) + + DcimRearPortTemplatesCreateWithResponse(ctx context.Context, body DcimRearPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesCreateResponse, error) + + // DcimRearPortTemplatesBulkUpdate request with any body + DcimRearPortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkUpdateResponse, error) + + DcimRearPortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimRearPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkUpdateResponse, error) + + // DcimRearPortTemplatesDestroy request + DcimRearPortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesDestroyResponse, error) + + // DcimRearPortTemplatesRetrieve request + DcimRearPortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesRetrieveResponse, error) + + // DcimRearPortTemplatesPartialUpdate request with any body + DcimRearPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesPartialUpdateResponse, error) + + DcimRearPortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesPartialUpdateResponse, error) + + // DcimRearPortTemplatesUpdate request with any body + DcimRearPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesUpdateResponse, error) + + DcimRearPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesUpdateResponse, error) + + // DcimRearPortsBulkDestroy request + DcimRearPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) + + // DcimRearPortsList request + DcimRearPortsListWithResponse(ctx context.Context, params *DcimRearPortsListParams, reqEditors ...RequestEditorFn) (*DcimRearPortsListResponse, error) + + // DcimRearPortsBulkPartialUpdate request with any body + DcimRearPortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkPartialUpdateResponse, error) + + DcimRearPortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimRearPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkPartialUpdateResponse, error) + + // DcimRearPortsCreate request with any body + DcimRearPortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsCreateResponse, error) + + DcimRearPortsCreateWithResponse(ctx context.Context, body DcimRearPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsCreateResponse, error) + + // DcimRearPortsBulkUpdate request with any body + DcimRearPortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkUpdateResponse, error) + + DcimRearPortsBulkUpdateWithResponse(ctx context.Context, body DcimRearPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkUpdateResponse, error) + + // DcimRearPortsDestroy request + DcimRearPortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortsDestroyResponse, error) + + // DcimRearPortsRetrieve request + DcimRearPortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortsRetrieveResponse, error) + + // DcimRearPortsPartialUpdate request with any body + DcimRearPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsPartialUpdateResponse, error) + + DcimRearPortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsPartialUpdateResponse, error) + + // DcimRearPortsUpdate request with any body + DcimRearPortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsUpdateResponse, error) + + DcimRearPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsUpdateResponse, 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) + + // DcimRegionsList request + DcimRegionsListWithResponse(ctx context.Context, params *DcimRegionsListParams, reqEditors ...RequestEditorFn) (*DcimRegionsListResponse, error) + + // DcimRegionsBulkPartialUpdate request with any body + DcimRegionsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsBulkPartialUpdateResponse, error) + + DcimRegionsBulkPartialUpdateWithResponse(ctx context.Context, body DcimRegionsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsBulkPartialUpdateResponse, error) + + // DcimRegionsCreate request with any body + DcimRegionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsCreateResponse, error) + + DcimRegionsCreateWithResponse(ctx context.Context, body DcimRegionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsCreateResponse, error) + + // DcimRegionsBulkUpdate request with any body + DcimRegionsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsBulkUpdateResponse, error) + + DcimRegionsBulkUpdateWithResponse(ctx context.Context, body DcimRegionsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsBulkUpdateResponse, error) + + // DcimRegionsDestroy request + DcimRegionsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRegionsDestroyResponse, error) + + // DcimRegionsRetrieve request + DcimRegionsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRegionsRetrieveResponse, error) + + // DcimRegionsPartialUpdate request with any body + DcimRegionsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsPartialUpdateResponse, error) + + DcimRegionsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRegionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsPartialUpdateResponse, error) + + // DcimRegionsUpdate request with any body + DcimRegionsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsUpdateResponse, error) + + DcimRegionsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRegionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsUpdateResponse, error) + + // DcimSitesBulkDestroy request + DcimSitesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) + + // DcimSitesList request + DcimSitesListWithResponse(ctx context.Context, params *DcimSitesListParams, reqEditors ...RequestEditorFn) (*DcimSitesListResponse, error) + + // DcimSitesBulkPartialUpdate request with any body + DcimSitesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesBulkPartialUpdateResponse, error) + + DcimSitesBulkPartialUpdateWithResponse(ctx context.Context, body DcimSitesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesBulkPartialUpdateResponse, error) + + // DcimSitesCreate request with any body + DcimSitesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesCreateResponse, error) + + DcimSitesCreateWithResponse(ctx context.Context, body DcimSitesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesCreateResponse, error) + + // DcimSitesBulkUpdate request with any body + DcimSitesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesBulkUpdateResponse, error) + + DcimSitesBulkUpdateWithResponse(ctx context.Context, body DcimSitesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesBulkUpdateResponse, error) + + // DcimSitesDestroy request + DcimSitesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimSitesDestroyResponse, error) + + // DcimSitesRetrieve request + DcimSitesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimSitesRetrieveResponse, error) + + // DcimSitesPartialUpdate request with any body + DcimSitesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesPartialUpdateResponse, error) + + DcimSitesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimSitesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesPartialUpdateResponse, error) + + // DcimSitesUpdate request with any body + DcimSitesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesUpdateResponse, error) + + DcimSitesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimSitesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesUpdateResponse, error) + + // DcimVirtualChassisBulkDestroy request + DcimVirtualChassisBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) + + // DcimVirtualChassisList request + DcimVirtualChassisListWithResponse(ctx context.Context, params *DcimVirtualChassisListParams, reqEditors ...RequestEditorFn) (*DcimVirtualChassisListResponse, error) + + // DcimVirtualChassisBulkPartialUpdate request with any body + DcimVirtualChassisBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkPartialUpdateResponse, error) + + DcimVirtualChassisBulkPartialUpdateWithResponse(ctx context.Context, body DcimVirtualChassisBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkPartialUpdateResponse, error) + + // DcimVirtualChassisCreate request with any body + DcimVirtualChassisCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisCreateResponse, error) + + DcimVirtualChassisCreateWithResponse(ctx context.Context, body DcimVirtualChassisCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisCreateResponse, error) + + // DcimVirtualChassisBulkUpdate request with any body + DcimVirtualChassisBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkUpdateResponse, error) + + DcimVirtualChassisBulkUpdateWithResponse(ctx context.Context, body DcimVirtualChassisBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkUpdateResponse, error) + + // DcimVirtualChassisDestroy request + DcimVirtualChassisDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimVirtualChassisDestroyResponse, error) + + // DcimVirtualChassisRetrieve request + DcimVirtualChassisRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimVirtualChassisRetrieveResponse, error) + + // DcimVirtualChassisPartialUpdate request with any body + DcimVirtualChassisPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisPartialUpdateResponse, error) + + DcimVirtualChassisPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisPartialUpdateResponse, error) + + // DcimVirtualChassisUpdate request with any body + DcimVirtualChassisUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisUpdateResponse, error) + + DcimVirtualChassisUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisUpdateResponse, error) + + // ExtrasComputedFieldsBulkDestroy request + ExtrasComputedFieldsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkDestroyResponse, error) + + // ExtrasComputedFieldsList request + ExtrasComputedFieldsListWithResponse(ctx context.Context, params *ExtrasComputedFieldsListParams, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsListResponse, error) + + // ExtrasComputedFieldsBulkPartialUpdate request with any body + ExtrasComputedFieldsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkPartialUpdateResponse, error) + + ExtrasComputedFieldsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkPartialUpdateResponse, error) + + // ExtrasComputedFieldsCreate request with any body + ExtrasComputedFieldsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsCreateResponse, error) + + ExtrasComputedFieldsCreateWithResponse(ctx context.Context, body ExtrasComputedFieldsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsCreateResponse, error) + + // ExtrasComputedFieldsBulkUpdate request with any body + ExtrasComputedFieldsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkUpdateResponse, error) + + ExtrasComputedFieldsBulkUpdateWithResponse(ctx context.Context, body ExtrasComputedFieldsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkUpdateResponse, error) + + // ExtrasComputedFieldsDestroy request + ExtrasComputedFieldsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsDestroyResponse, error) + + // ExtrasComputedFieldsRetrieve request + ExtrasComputedFieldsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsRetrieveResponse, error) + + // ExtrasComputedFieldsPartialUpdate request with any body + ExtrasComputedFieldsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsPartialUpdateResponse, error) + + ExtrasComputedFieldsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsPartialUpdateResponse, error) + + // ExtrasComputedFieldsUpdate request with any body + ExtrasComputedFieldsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsUpdateResponse, error) + + ExtrasComputedFieldsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsUpdateResponse, error) + + // ExtrasConfigContextSchemasBulkDestroy request + ExtrasConfigContextSchemasBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkDestroyResponse, error) + + // ExtrasConfigContextSchemasList request + ExtrasConfigContextSchemasListWithResponse(ctx context.Context, params *ExtrasConfigContextSchemasListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasListResponse, error) + + // ExtrasConfigContextSchemasBulkPartialUpdate request with any body + ExtrasConfigContextSchemasBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkPartialUpdateResponse, error) + + ExtrasConfigContextSchemasBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkPartialUpdateResponse, error) + + // ExtrasConfigContextSchemasCreate request with any body + ExtrasConfigContextSchemasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasCreateResponse, error) + + ExtrasConfigContextSchemasCreateWithResponse(ctx context.Context, body ExtrasConfigContextSchemasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasCreateResponse, error) + + // ExtrasConfigContextSchemasBulkUpdate request with any body + ExtrasConfigContextSchemasBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkUpdateResponse, error) + + ExtrasConfigContextSchemasBulkUpdateWithResponse(ctx context.Context, body ExtrasConfigContextSchemasBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkUpdateResponse, error) + + // ExtrasConfigContextSchemasDestroy request + ExtrasConfigContextSchemasDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasDestroyResponse, error) + + // ExtrasConfigContextSchemasRetrieve request + ExtrasConfigContextSchemasRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasRetrieveResponse, error) + + // ExtrasConfigContextSchemasPartialUpdate request with any body + ExtrasConfigContextSchemasPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasPartialUpdateResponse, error) + + ExtrasConfigContextSchemasPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasPartialUpdateResponse, error) + + // ExtrasConfigContextSchemasUpdate request with any body + ExtrasConfigContextSchemasUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasUpdateResponse, error) + + ExtrasConfigContextSchemasUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasUpdateResponse, error) + + // ExtrasConfigContextsBulkDestroy request + ExtrasConfigContextsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) + + // ExtrasConfigContextsList request + ExtrasConfigContextsListWithResponse(ctx context.Context, params *ExtrasConfigContextsListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsListResponse, error) + + // ExtrasConfigContextsBulkPartialUpdate request with any body + ExtrasConfigContextsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkPartialUpdateResponse, error) + + ExtrasConfigContextsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasConfigContextsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkPartialUpdateResponse, error) + + // ExtrasConfigContextsCreate request with any body + ExtrasConfigContextsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsCreateResponse, error) + + ExtrasConfigContextsCreateWithResponse(ctx context.Context, body ExtrasConfigContextsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsCreateResponse, error) + + // ExtrasConfigContextsBulkUpdate request with any body + ExtrasConfigContextsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkUpdateResponse, error) + + ExtrasConfigContextsBulkUpdateWithResponse(ctx context.Context, body ExtrasConfigContextsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkUpdateResponse, error) + + // ExtrasConfigContextsDestroy request + ExtrasConfigContextsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsDestroyResponse, error) + + // ExtrasConfigContextsRetrieve request + ExtrasConfigContextsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsRetrieveResponse, error) + + // ExtrasConfigContextsPartialUpdate request with any body + ExtrasConfigContextsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsPartialUpdateResponse, error) + + ExtrasConfigContextsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsPartialUpdateResponse, error) + + // ExtrasConfigContextsUpdate request with any body + ExtrasConfigContextsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsUpdateResponse, error) + + ExtrasConfigContextsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsUpdateResponse, 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) + + // ExtrasCustomFieldChoicesList request + ExtrasCustomFieldChoicesListWithResponse(ctx context.Context, params *ExtrasCustomFieldChoicesListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesListResponse, error) + + // ExtrasCustomFieldChoicesBulkPartialUpdate request with any body + ExtrasCustomFieldChoicesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkPartialUpdateResponse, error) + + ExtrasCustomFieldChoicesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkPartialUpdateResponse, error) + + // ExtrasCustomFieldChoicesCreate request with any body + ExtrasCustomFieldChoicesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesCreateResponse, error) + + ExtrasCustomFieldChoicesCreateWithResponse(ctx context.Context, body ExtrasCustomFieldChoicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesCreateResponse, error) + + // ExtrasCustomFieldChoicesBulkUpdate request with any body + ExtrasCustomFieldChoicesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkUpdateResponse, error) + + ExtrasCustomFieldChoicesBulkUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkUpdateResponse, error) + + // ExtrasCustomFieldChoicesDestroy request + ExtrasCustomFieldChoicesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesDestroyResponse, error) + + // ExtrasCustomFieldChoicesRetrieve request + ExtrasCustomFieldChoicesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesRetrieveResponse, error) + + // ExtrasCustomFieldChoicesPartialUpdate request with any body + ExtrasCustomFieldChoicesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesPartialUpdateResponse, error) + + ExtrasCustomFieldChoicesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesPartialUpdateResponse, error) + + // ExtrasCustomFieldChoicesUpdate request with any body + ExtrasCustomFieldChoicesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesUpdateResponse, error) + + ExtrasCustomFieldChoicesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldChoicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesUpdateResponse, error) + + // ExtrasCustomFieldsBulkDestroy request + ExtrasCustomFieldsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) + + // ExtrasCustomFieldsList request + ExtrasCustomFieldsListWithResponse(ctx context.Context, params *ExtrasCustomFieldsListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsListResponse, error) + + // ExtrasCustomFieldsBulkPartialUpdate request with any body + ExtrasCustomFieldsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkPartialUpdateResponse, error) + + ExtrasCustomFieldsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkPartialUpdateResponse, error) + + // ExtrasCustomFieldsCreate request with any body + ExtrasCustomFieldsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsCreateResponse, error) + + ExtrasCustomFieldsCreateWithResponse(ctx context.Context, body ExtrasCustomFieldsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsCreateResponse, error) + + // ExtrasCustomFieldsBulkUpdate request with any body + ExtrasCustomFieldsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkUpdateResponse, error) + + ExtrasCustomFieldsBulkUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkUpdateResponse, error) + + // ExtrasCustomFieldsDestroy request + ExtrasCustomFieldsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsDestroyResponse, error) + + // ExtrasCustomFieldsRetrieve request + ExtrasCustomFieldsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsRetrieveResponse, error) + + // ExtrasCustomFieldsPartialUpdate request with any body + ExtrasCustomFieldsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsPartialUpdateResponse, error) + + ExtrasCustomFieldsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsPartialUpdateResponse, error) + + // ExtrasCustomFieldsUpdate request with any body + ExtrasCustomFieldsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsUpdateResponse, error) + + ExtrasCustomFieldsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsUpdateResponse, error) + + // ExtrasCustomLinksBulkDestroy request + ExtrasCustomLinksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) + + // ExtrasCustomLinksList request + ExtrasCustomLinksListWithResponse(ctx context.Context, params *ExtrasCustomLinksListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksListResponse, error) + + // ExtrasCustomLinksBulkPartialUpdate request with any body + ExtrasCustomLinksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkPartialUpdateResponse, error) + + ExtrasCustomLinksBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasCustomLinksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkPartialUpdateResponse, error) + + // ExtrasCustomLinksCreate request with any body + ExtrasCustomLinksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksCreateResponse, error) + + ExtrasCustomLinksCreateWithResponse(ctx context.Context, body ExtrasCustomLinksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksCreateResponse, error) + + // ExtrasCustomLinksBulkUpdate request with any body + ExtrasCustomLinksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkUpdateResponse, error) + + ExtrasCustomLinksBulkUpdateWithResponse(ctx context.Context, body ExtrasCustomLinksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkUpdateResponse, error) + + // ExtrasCustomLinksDestroy request + ExtrasCustomLinksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksDestroyResponse, error) + + // ExtrasCustomLinksRetrieve request + ExtrasCustomLinksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksRetrieveResponse, error) + + // ExtrasCustomLinksPartialUpdate request with any body + ExtrasCustomLinksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksPartialUpdateResponse, error) + + ExtrasCustomLinksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksPartialUpdateResponse, error) + + // ExtrasCustomLinksUpdate request with any body + ExtrasCustomLinksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksUpdateResponse, error) + + ExtrasCustomLinksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksUpdateResponse, error) + + // ExtrasDynamicGroupsBulkDestroy request + ExtrasDynamicGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkDestroyResponse, error) + + // ExtrasDynamicGroupsList request + ExtrasDynamicGroupsListWithResponse(ctx context.Context, params *ExtrasDynamicGroupsListParams, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsListResponse, error) + + // ExtrasDynamicGroupsBulkPartialUpdate request with any body + ExtrasDynamicGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkPartialUpdateResponse, error) + + ExtrasDynamicGroupsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkPartialUpdateResponse, error) + + // ExtrasDynamicGroupsCreate request with any body + ExtrasDynamicGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsCreateResponse, error) + + ExtrasDynamicGroupsCreateWithResponse(ctx context.Context, body ExtrasDynamicGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsCreateResponse, error) + + // ExtrasDynamicGroupsBulkUpdate request with any body + ExtrasDynamicGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkUpdateResponse, error) + + ExtrasDynamicGroupsBulkUpdateWithResponse(ctx context.Context, body ExtrasDynamicGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkUpdateResponse, error) + + // ExtrasDynamicGroupsDestroy request + ExtrasDynamicGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsDestroyResponse, error) + + // ExtrasDynamicGroupsRetrieve request + ExtrasDynamicGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsRetrieveResponse, error) + + // ExtrasDynamicGroupsPartialUpdate request with any body + ExtrasDynamicGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsPartialUpdateResponse, error) + + ExtrasDynamicGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsPartialUpdateResponse, error) + + // ExtrasDynamicGroupsUpdate request with any body + ExtrasDynamicGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsUpdateResponse, error) + + ExtrasDynamicGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsUpdateResponse, error) + + // ExtrasDynamicGroupsMembersRetrieve request + ExtrasDynamicGroupsMembersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsMembersRetrieveResponse, error) + + // ExtrasExportTemplatesBulkDestroy request + ExtrasExportTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) + + // ExtrasExportTemplatesList request + ExtrasExportTemplatesListWithResponse(ctx context.Context, params *ExtrasExportTemplatesListParams, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesListResponse, error) + + // ExtrasExportTemplatesBulkPartialUpdate request with any body + ExtrasExportTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkPartialUpdateResponse, error) + + ExtrasExportTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkPartialUpdateResponse, error) + + // ExtrasExportTemplatesCreate request with any body + ExtrasExportTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesCreateResponse, error) + + ExtrasExportTemplatesCreateWithResponse(ctx context.Context, body ExtrasExportTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesCreateResponse, error) + + // ExtrasExportTemplatesBulkUpdate request with any body + ExtrasExportTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkUpdateResponse, error) + + ExtrasExportTemplatesBulkUpdateWithResponse(ctx context.Context, body ExtrasExportTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkUpdateResponse, error) + + // ExtrasExportTemplatesDestroy request + ExtrasExportTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesDestroyResponse, error) + + // ExtrasExportTemplatesRetrieve request + ExtrasExportTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesRetrieveResponse, error) + + // ExtrasExportTemplatesPartialUpdate request with any body + ExtrasExportTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesPartialUpdateResponse, error) + + ExtrasExportTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesPartialUpdateResponse, error) + + // ExtrasExportTemplatesUpdate request with any body + ExtrasExportTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesUpdateResponse, error) + + ExtrasExportTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesUpdateResponse, error) + + // ExtrasGitRepositoriesBulkDestroy request + ExtrasGitRepositoriesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkDestroyResponse, error) + + // ExtrasGitRepositoriesList request + ExtrasGitRepositoriesListWithResponse(ctx context.Context, params *ExtrasGitRepositoriesListParams, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesListResponse, error) + + // ExtrasGitRepositoriesBulkPartialUpdate request with any body + ExtrasGitRepositoriesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkPartialUpdateResponse, error) + + ExtrasGitRepositoriesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkPartialUpdateResponse, error) + + // ExtrasGitRepositoriesCreate request with any body + ExtrasGitRepositoriesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesCreateResponse, error) + + ExtrasGitRepositoriesCreateWithResponse(ctx context.Context, body ExtrasGitRepositoriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesCreateResponse, error) + + // ExtrasGitRepositoriesBulkUpdate request with any body + ExtrasGitRepositoriesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkUpdateResponse, error) + + ExtrasGitRepositoriesBulkUpdateWithResponse(ctx context.Context, body ExtrasGitRepositoriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkUpdateResponse, error) + + // ExtrasGitRepositoriesDestroy request + ExtrasGitRepositoriesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesDestroyResponse, error) + + // ExtrasGitRepositoriesRetrieve request + ExtrasGitRepositoriesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesRetrieveResponse, error) + + // ExtrasGitRepositoriesPartialUpdate request with any body + ExtrasGitRepositoriesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesPartialUpdateResponse, error) + + ExtrasGitRepositoriesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesPartialUpdateResponse, error) + + // ExtrasGitRepositoriesUpdate request with any body + ExtrasGitRepositoriesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesUpdateResponse, error) + + ExtrasGitRepositoriesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesUpdateResponse, 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) + + // ExtrasGraphqlQueriesList request + ExtrasGraphqlQueriesListWithResponse(ctx context.Context, params *ExtrasGraphqlQueriesListParams, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesListResponse, error) + + // ExtrasGraphqlQueriesBulkPartialUpdate request with any body + ExtrasGraphqlQueriesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkPartialUpdateResponse, error) + + ExtrasGraphqlQueriesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkPartialUpdateResponse, error) + + // ExtrasGraphqlQueriesCreate request with any body + ExtrasGraphqlQueriesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesCreateResponse, error) + + ExtrasGraphqlQueriesCreateWithResponse(ctx context.Context, body ExtrasGraphqlQueriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesCreateResponse, error) + + // ExtrasGraphqlQueriesBulkUpdate request with any body + ExtrasGraphqlQueriesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkUpdateResponse, error) + + ExtrasGraphqlQueriesBulkUpdateWithResponse(ctx context.Context, body ExtrasGraphqlQueriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkUpdateResponse, error) + + // ExtrasGraphqlQueriesDestroy request + ExtrasGraphqlQueriesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesDestroyResponse, error) + + // ExtrasGraphqlQueriesRetrieve request + ExtrasGraphqlQueriesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesRetrieveResponse, error) + + // ExtrasGraphqlQueriesPartialUpdate request with any body + ExtrasGraphqlQueriesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesPartialUpdateResponse, error) + + ExtrasGraphqlQueriesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesPartialUpdateResponse, error) + + // ExtrasGraphqlQueriesUpdate request with any body + ExtrasGraphqlQueriesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesUpdateResponse, error) + + ExtrasGraphqlQueriesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesUpdateResponse, 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) + + // ExtrasImageAttachmentsList request + ExtrasImageAttachmentsListWithResponse(ctx context.Context, params *ExtrasImageAttachmentsListParams, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsListResponse, error) + + // ExtrasImageAttachmentsBulkPartialUpdate request with any body + ExtrasImageAttachmentsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkPartialUpdateResponse, error) + + ExtrasImageAttachmentsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkPartialUpdateResponse, error) + + // ExtrasImageAttachmentsCreate request with any body + ExtrasImageAttachmentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsCreateResponse, error) + + ExtrasImageAttachmentsCreateWithResponse(ctx context.Context, body ExtrasImageAttachmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsCreateResponse, error) + + // ExtrasImageAttachmentsBulkUpdate request with any body + ExtrasImageAttachmentsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkUpdateResponse, error) + + ExtrasImageAttachmentsBulkUpdateWithResponse(ctx context.Context, body ExtrasImageAttachmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkUpdateResponse, error) + + // ExtrasImageAttachmentsDestroy request + ExtrasImageAttachmentsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsDestroyResponse, error) + + // ExtrasImageAttachmentsRetrieve request + ExtrasImageAttachmentsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsRetrieveResponse, error) + + // ExtrasImageAttachmentsPartialUpdate request with any body + ExtrasImageAttachmentsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsPartialUpdateResponse, error) + + ExtrasImageAttachmentsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsPartialUpdateResponse, error) + + // ExtrasImageAttachmentsUpdate request with any body + ExtrasImageAttachmentsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsUpdateResponse, error) + + ExtrasImageAttachmentsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsUpdateResponse, 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) + + // 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) + + // ExtrasJobsList request + ExtrasJobsListWithResponse(ctx context.Context, params *ExtrasJobsListParams, reqEditors ...RequestEditorFn) (*ExtrasJobsListResponse, error) + + // ExtrasJobsBulkPartialUpdate request with any body + ExtrasJobsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkPartialUpdateResponse, error) + + ExtrasJobsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasJobsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkPartialUpdateResponse, error) + + // ExtrasJobsBulkUpdate request with any body + ExtrasJobsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkUpdateResponse, error) + + ExtrasJobsBulkUpdateWithResponse(ctx context.Context, body ExtrasJobsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkUpdateResponse, error) + + // ExtrasJobsReadDeprecated request + ExtrasJobsReadDeprecatedWithResponse(ctx context.Context, classPath string, reqEditors ...RequestEditorFn) (*ExtrasJobsReadDeprecatedResponse, error) + + // ExtrasJobsRunDeprecated request with any body + ExtrasJobsRunDeprecatedWithBodyWithResponse(ctx context.Context, classPath string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsRunDeprecatedResponse, error) + + ExtrasJobsRunDeprecatedWithResponse(ctx context.Context, classPath string, body ExtrasJobsRunDeprecatedJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsRunDeprecatedResponse, error) + + // ExtrasJobsDestroy request + ExtrasJobsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobsDestroyResponse, error) + + // ExtrasJobsRetrieve request + ExtrasJobsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobsRetrieveResponse, error) + + // ExtrasJobsPartialUpdate request with any body + ExtrasJobsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsPartialUpdateResponse, error) + + ExtrasJobsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsPartialUpdateResponse, error) + + // ExtrasJobsUpdate request with any body + ExtrasJobsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsUpdateResponse, error) + + ExtrasJobsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsUpdateResponse, error) + + // ExtrasJobsRunCreate request with any body + ExtrasJobsRunCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsRunCreateResponse, error) + + ExtrasJobsRunCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobsRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsRunCreateResponse, error) + + // ExtrasJobsVariablesList request + ExtrasJobsVariablesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsVariablesListParams, reqEditors ...RequestEditorFn) (*ExtrasJobsVariablesListResponse, 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) + + // ExtrasRelationshipAssociationsList request + ExtrasRelationshipAssociationsListWithResponse(ctx context.Context, params *ExtrasRelationshipAssociationsListParams, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsListResponse, error) + + // ExtrasRelationshipAssociationsBulkPartialUpdate request with any body + ExtrasRelationshipAssociationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkPartialUpdateResponse, error) + + ExtrasRelationshipAssociationsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkPartialUpdateResponse, error) + + // ExtrasRelationshipAssociationsCreate request with any body + ExtrasRelationshipAssociationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsCreateResponse, error) + + ExtrasRelationshipAssociationsCreateWithResponse(ctx context.Context, body ExtrasRelationshipAssociationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsCreateResponse, error) + + // ExtrasRelationshipAssociationsBulkUpdate request with any body + ExtrasRelationshipAssociationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkUpdateResponse, error) + + ExtrasRelationshipAssociationsBulkUpdateWithResponse(ctx context.Context, body ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkUpdateResponse, error) + + // ExtrasRelationshipAssociationsDestroy request + ExtrasRelationshipAssociationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsDestroyResponse, error) + + // ExtrasRelationshipAssociationsRetrieve request + ExtrasRelationshipAssociationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsRetrieveResponse, error) + + // ExtrasRelationshipAssociationsPartialUpdate request with any body + ExtrasRelationshipAssociationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsPartialUpdateResponse, error) + + ExtrasRelationshipAssociationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsPartialUpdateResponse, error) + + // ExtrasRelationshipAssociationsUpdate request with any body + ExtrasRelationshipAssociationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsUpdateResponse, error) + + ExtrasRelationshipAssociationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsUpdateResponse, error) + + // ExtrasRelationshipsBulkDestroy request + ExtrasRelationshipsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkDestroyResponse, error) + + // ExtrasRelationshipsList request + ExtrasRelationshipsListWithResponse(ctx context.Context, params *ExtrasRelationshipsListParams, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsListResponse, error) + + // ExtrasRelationshipsBulkPartialUpdate request with any body + ExtrasRelationshipsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkPartialUpdateResponse, error) + + ExtrasRelationshipsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasRelationshipsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkPartialUpdateResponse, error) + + // ExtrasRelationshipsCreate request with any body + ExtrasRelationshipsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsCreateResponse, error) + + ExtrasRelationshipsCreateWithResponse(ctx context.Context, body ExtrasRelationshipsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsCreateResponse, error) + + // ExtrasRelationshipsBulkUpdate request with any body + ExtrasRelationshipsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkUpdateResponse, error) + + ExtrasRelationshipsBulkUpdateWithResponse(ctx context.Context, body ExtrasRelationshipsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkUpdateResponse, error) + + // ExtrasRelationshipsDestroy request + ExtrasRelationshipsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsDestroyResponse, error) + + // ExtrasRelationshipsRetrieve request + ExtrasRelationshipsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsRetrieveResponse, error) + + // ExtrasRelationshipsPartialUpdate request with any body + ExtrasRelationshipsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsPartialUpdateResponse, error) + + ExtrasRelationshipsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsPartialUpdateResponse, error) + + // ExtrasRelationshipsUpdate request with any body + ExtrasRelationshipsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsUpdateResponse, error) + + ExtrasRelationshipsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsUpdateResponse, error) + + // ExtrasScheduledJobsList request + ExtrasScheduledJobsListWithResponse(ctx context.Context, params *ExtrasScheduledJobsListParams, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsListResponse, error) + + // ExtrasScheduledJobsRetrieve request + ExtrasScheduledJobsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsRetrieveResponse, error) + + // ExtrasScheduledJobsApproveCreate request + ExtrasScheduledJobsApproveCreateWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasScheduledJobsApproveCreateParams, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsApproveCreateResponse, error) + + // ExtrasScheduledJobsDenyCreate request + ExtrasScheduledJobsDenyCreateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsDenyCreateResponse, error) + + // ExtrasScheduledJobsDryRunCreate request + ExtrasScheduledJobsDryRunCreateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsDryRunCreateResponse, error) + + // ExtrasSecretsGroupsAssociationsBulkDestroy request + ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) + + // ExtrasSecretsGroupsAssociationsList request + ExtrasSecretsGroupsAssociationsListWithResponse(ctx context.Context, params *ExtrasSecretsGroupsAssociationsListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsListResponse, error) + + // ExtrasSecretsGroupsAssociationsBulkPartialUpdate request with any body + ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse, error) + + ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse, error) + + // ExtrasSecretsGroupsAssociationsCreate request with any body + ExtrasSecretsGroupsAssociationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsCreateResponse, error) + + ExtrasSecretsGroupsAssociationsCreateWithResponse(ctx context.Context, body ExtrasSecretsGroupsAssociationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsCreateResponse, error) + + // ExtrasSecretsGroupsAssociationsBulkUpdate request with any body + ExtrasSecretsGroupsAssociationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkUpdateResponse, error) + + ExtrasSecretsGroupsAssociationsBulkUpdateWithResponse(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkUpdateResponse, error) + + // ExtrasSecretsGroupsAssociationsDestroy request + ExtrasSecretsGroupsAssociationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsDestroyResponse, error) + + // ExtrasSecretsGroupsAssociationsRetrieve request + ExtrasSecretsGroupsAssociationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsRetrieveResponse, error) + + // ExtrasSecretsGroupsAssociationsPartialUpdate request with any body + ExtrasSecretsGroupsAssociationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsPartialUpdateResponse, error) + + ExtrasSecretsGroupsAssociationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsPartialUpdateResponse, error) + + // ExtrasSecretsGroupsAssociationsUpdate request with any body + ExtrasSecretsGroupsAssociationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsUpdateResponse, error) + + ExtrasSecretsGroupsAssociationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsUpdateResponse, error) + + // ExtrasSecretsGroupsBulkDestroy request + ExtrasSecretsGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkDestroyResponse, error) + + // ExtrasSecretsGroupsList request + ExtrasSecretsGroupsListWithResponse(ctx context.Context, params *ExtrasSecretsGroupsListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsListResponse, error) + + // ExtrasSecretsGroupsBulkPartialUpdate request with any body + ExtrasSecretsGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkPartialUpdateResponse, error) + + ExtrasSecretsGroupsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkPartialUpdateResponse, error) + + // ExtrasSecretsGroupsCreate request with any body + ExtrasSecretsGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsCreateResponse, error) + + ExtrasSecretsGroupsCreateWithResponse(ctx context.Context, body ExtrasSecretsGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsCreateResponse, error) + + // ExtrasSecretsGroupsBulkUpdate request with any body + ExtrasSecretsGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkUpdateResponse, error) + + ExtrasSecretsGroupsBulkUpdateWithResponse(ctx context.Context, body ExtrasSecretsGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkUpdateResponse, error) + + // ExtrasSecretsGroupsDestroy request + ExtrasSecretsGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsDestroyResponse, error) + + // ExtrasSecretsGroupsRetrieve request + ExtrasSecretsGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsRetrieveResponse, error) + + // ExtrasSecretsGroupsPartialUpdate request with any body + ExtrasSecretsGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsPartialUpdateResponse, error) + + ExtrasSecretsGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsPartialUpdateResponse, error) + + // ExtrasSecretsGroupsUpdate request with any body + ExtrasSecretsGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsUpdateResponse, error) + + ExtrasSecretsGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsUpdateResponse, error) + + // ExtrasSecretsBulkDestroy request + ExtrasSecretsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkDestroyResponse, error) + + // ExtrasSecretsList request + ExtrasSecretsListWithResponse(ctx context.Context, params *ExtrasSecretsListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsListResponse, error) + + // ExtrasSecretsBulkPartialUpdate request with any body + ExtrasSecretsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkPartialUpdateResponse, error) + + ExtrasSecretsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasSecretsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkPartialUpdateResponse, error) + + // ExtrasSecretsCreate request with any body + ExtrasSecretsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsCreateResponse, error) + + ExtrasSecretsCreateWithResponse(ctx context.Context, body ExtrasSecretsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsCreateResponse, error) + + // ExtrasSecretsBulkUpdate request with any body + ExtrasSecretsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkUpdateResponse, error) + + ExtrasSecretsBulkUpdateWithResponse(ctx context.Context, body ExtrasSecretsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkUpdateResponse, error) + + // ExtrasSecretsDestroy request + ExtrasSecretsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsDestroyResponse, error) + + // ExtrasSecretsRetrieve request + ExtrasSecretsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsRetrieveResponse, error) + + // ExtrasSecretsPartialUpdate request with any body + ExtrasSecretsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsPartialUpdateResponse, error) + + ExtrasSecretsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsPartialUpdateResponse, error) + + // ExtrasSecretsUpdate request with any body + ExtrasSecretsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsUpdateResponse, error) + + ExtrasSecretsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsUpdateResponse, error) + + // ExtrasStatusesBulkDestroy request + ExtrasStatusesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkDestroyResponse, error) + + // ExtrasStatusesList request + ExtrasStatusesListWithResponse(ctx context.Context, params *ExtrasStatusesListParams, reqEditors ...RequestEditorFn) (*ExtrasStatusesListResponse, error) + + // ExtrasStatusesBulkPartialUpdate request with any body + ExtrasStatusesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkPartialUpdateResponse, error) + + ExtrasStatusesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasStatusesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkPartialUpdateResponse, error) + + // ExtrasStatusesCreate request with any body + ExtrasStatusesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesCreateResponse, error) + + ExtrasStatusesCreateWithResponse(ctx context.Context, body ExtrasStatusesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesCreateResponse, error) + + // ExtrasStatusesBulkUpdate request with any body + ExtrasStatusesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkUpdateResponse, error) + + ExtrasStatusesBulkUpdateWithResponse(ctx context.Context, body ExtrasStatusesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkUpdateResponse, error) + + // ExtrasStatusesDestroy request + ExtrasStatusesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasStatusesDestroyResponse, error) + + // ExtrasStatusesRetrieve request + ExtrasStatusesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasStatusesRetrieveResponse, error) + + // ExtrasStatusesPartialUpdate request with any body + ExtrasStatusesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesPartialUpdateResponse, error) + + ExtrasStatusesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesPartialUpdateResponse, error) + + // ExtrasStatusesUpdate request with any body + ExtrasStatusesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesUpdateResponse, error) + + ExtrasStatusesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesUpdateResponse, error) + + // ExtrasTagsBulkDestroy request + ExtrasTagsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) + + // ExtrasTagsList request + ExtrasTagsListWithResponse(ctx context.Context, params *ExtrasTagsListParams, reqEditors ...RequestEditorFn) (*ExtrasTagsListResponse, error) + + // ExtrasTagsBulkPartialUpdate request with any body + ExtrasTagsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkPartialUpdateResponse, error) + + ExtrasTagsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasTagsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkPartialUpdateResponse, error) + + // ExtrasTagsCreate request with any body + ExtrasTagsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsCreateResponse, error) + + ExtrasTagsCreateWithResponse(ctx context.Context, body ExtrasTagsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsCreateResponse, error) + + // ExtrasTagsBulkUpdate request with any body + ExtrasTagsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkUpdateResponse, error) + + ExtrasTagsBulkUpdateWithResponse(ctx context.Context, body ExtrasTagsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkUpdateResponse, error) + + // ExtrasTagsDestroy request + ExtrasTagsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasTagsDestroyResponse, error) + + // ExtrasTagsRetrieve request + ExtrasTagsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasTagsRetrieveResponse, error) + + // ExtrasTagsPartialUpdate request with any body + ExtrasTagsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsPartialUpdateResponse, error) + + ExtrasTagsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasTagsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsPartialUpdateResponse, error) + + // ExtrasTagsUpdate request with any body + ExtrasTagsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsUpdateResponse, error) + + ExtrasTagsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasTagsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsUpdateResponse, error) + + // ExtrasWebhooksBulkDestroy request + ExtrasWebhooksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) + + // ExtrasWebhooksList request + ExtrasWebhooksListWithResponse(ctx context.Context, params *ExtrasWebhooksListParams, reqEditors ...RequestEditorFn) (*ExtrasWebhooksListResponse, error) + + // ExtrasWebhooksBulkPartialUpdate request with any body + ExtrasWebhooksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkPartialUpdateResponse, error) + + ExtrasWebhooksBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasWebhooksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkPartialUpdateResponse, error) + + // ExtrasWebhooksCreate request with any body + ExtrasWebhooksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksCreateResponse, error) + + ExtrasWebhooksCreateWithResponse(ctx context.Context, body ExtrasWebhooksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksCreateResponse, error) + + // ExtrasWebhooksBulkUpdate request with any body + ExtrasWebhooksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkUpdateResponse, error) + + ExtrasWebhooksBulkUpdateWithResponse(ctx context.Context, body ExtrasWebhooksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkUpdateResponse, error) + + // ExtrasWebhooksDestroy request + ExtrasWebhooksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasWebhooksDestroyResponse, error) + + // ExtrasWebhooksRetrieve request + ExtrasWebhooksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasWebhooksRetrieveResponse, error) + + // ExtrasWebhooksPartialUpdate request with any body + ExtrasWebhooksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksPartialUpdateResponse, error) + + ExtrasWebhooksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksPartialUpdateResponse, error) + + // ExtrasWebhooksUpdate request with any body + ExtrasWebhooksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, error) + + ExtrasWebhooksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, 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) + + // IpamAggregatesList request + IpamAggregatesListWithResponse(ctx context.Context, params *IpamAggregatesListParams, reqEditors ...RequestEditorFn) (*IpamAggregatesListResponse, error) + + // IpamAggregatesBulkPartialUpdate request with any body + IpamAggregatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkPartialUpdateResponse, error) + + IpamAggregatesBulkPartialUpdateWithResponse(ctx context.Context, body IpamAggregatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkPartialUpdateResponse, error) + + // IpamAggregatesCreate request with any body + IpamAggregatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesCreateResponse, error) + + IpamAggregatesCreateWithResponse(ctx context.Context, body IpamAggregatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesCreateResponse, error) + + // IpamAggregatesBulkUpdate request with any body + IpamAggregatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkUpdateResponse, error) + + IpamAggregatesBulkUpdateWithResponse(ctx context.Context, body IpamAggregatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkUpdateResponse, error) + + // IpamAggregatesDestroy request + IpamAggregatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamAggregatesDestroyResponse, error) + + // IpamAggregatesRetrieve request + IpamAggregatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamAggregatesRetrieveResponse, error) + + // IpamAggregatesPartialUpdate request with any body + IpamAggregatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesPartialUpdateResponse, error) + + IpamAggregatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamAggregatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesPartialUpdateResponse, error) + + // IpamAggregatesUpdate request with any body + IpamAggregatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesUpdateResponse, error) + + IpamAggregatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamAggregatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesUpdateResponse, error) + + // IpamIpAddressesBulkDestroy request + IpamIpAddressesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) + + // IpamIpAddressesList request + IpamIpAddressesListWithResponse(ctx context.Context, params *IpamIpAddressesListParams, reqEditors ...RequestEditorFn) (*IpamIpAddressesListResponse, error) + + // IpamIpAddressesBulkPartialUpdate request with any body + IpamIpAddressesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkPartialUpdateResponse, error) + + IpamIpAddressesBulkPartialUpdateWithResponse(ctx context.Context, body IpamIpAddressesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkPartialUpdateResponse, error) + + // IpamIpAddressesCreate request with any body + IpamIpAddressesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesCreateResponse, error) + + IpamIpAddressesCreateWithResponse(ctx context.Context, body IpamIpAddressesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesCreateResponse, error) + + // IpamIpAddressesBulkUpdate request with any body + IpamIpAddressesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkUpdateResponse, error) + + IpamIpAddressesBulkUpdateWithResponse(ctx context.Context, body IpamIpAddressesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkUpdateResponse, error) + + // IpamIpAddressesDestroy request + IpamIpAddressesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamIpAddressesDestroyResponse, error) + + // IpamIpAddressesRetrieve request + IpamIpAddressesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamIpAddressesRetrieveResponse, error) + + // IpamIpAddressesPartialUpdate request with any body + IpamIpAddressesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesPartialUpdateResponse, error) + + IpamIpAddressesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesPartialUpdateResponse, error) + + // IpamIpAddressesUpdate request with any body + IpamIpAddressesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesUpdateResponse, error) + + IpamIpAddressesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesUpdateResponse, error) + + // IpamPrefixesBulkDestroy request + IpamPrefixesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) + + // IpamPrefixesList request + IpamPrefixesListWithResponse(ctx context.Context, params *IpamPrefixesListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesListResponse, error) + + // IpamPrefixesBulkPartialUpdate request with any body + IpamPrefixesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkPartialUpdateResponse, error) + + IpamPrefixesBulkPartialUpdateWithResponse(ctx context.Context, body IpamPrefixesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkPartialUpdateResponse, error) + + // IpamPrefixesCreate request with any body + IpamPrefixesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesCreateResponse, error) + + IpamPrefixesCreateWithResponse(ctx context.Context, body IpamPrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesCreateResponse, error) + + // IpamPrefixesBulkUpdate request with any body + IpamPrefixesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkUpdateResponse, error) + + IpamPrefixesBulkUpdateWithResponse(ctx context.Context, body IpamPrefixesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkUpdateResponse, error) + + // IpamPrefixesDestroy request + IpamPrefixesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamPrefixesDestroyResponse, error) + + // IpamPrefixesRetrieve request + IpamPrefixesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamPrefixesRetrieveResponse, error) + + // IpamPrefixesPartialUpdate request with any body + IpamPrefixesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesPartialUpdateResponse, error) + + IpamPrefixesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamPrefixesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesPartialUpdateResponse, error) + + // IpamPrefixesUpdate request with any body + IpamPrefixesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesUpdateResponse, error) + + IpamPrefixesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamPrefixesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesUpdateResponse, error) + + // 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) + + // IpamPrefixesAvailablePrefixesList request + IpamPrefixesAvailablePrefixesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailablePrefixesListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesListResponse, error) + + // IpamPrefixesAvailablePrefixesCreate request with any body + IpamPrefixesAvailablePrefixesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesCreateResponse, error) + + IpamPrefixesAvailablePrefixesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamPrefixesAvailablePrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesCreateResponse, error) + + // IpamRirsBulkDestroy request + IpamRirsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) + + // IpamRirsList request + IpamRirsListWithResponse(ctx context.Context, params *IpamRirsListParams, reqEditors ...RequestEditorFn) (*IpamRirsListResponse, error) + + // IpamRirsBulkPartialUpdate request with any body + IpamRirsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsBulkPartialUpdateResponse, error) + + IpamRirsBulkPartialUpdateWithResponse(ctx context.Context, body IpamRirsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsBulkPartialUpdateResponse, error) + + // IpamRirsCreate request with any body + IpamRirsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsCreateResponse, error) + + IpamRirsCreateWithResponse(ctx context.Context, body IpamRirsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsCreateResponse, error) + + // IpamRirsBulkUpdate request with any body + IpamRirsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsBulkUpdateResponse, error) + + IpamRirsBulkUpdateWithResponse(ctx context.Context, body IpamRirsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsBulkUpdateResponse, error) + + // IpamRirsDestroy request + IpamRirsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRirsDestroyResponse, error) + + // IpamRirsRetrieve request + IpamRirsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRirsRetrieveResponse, error) + + // IpamRirsPartialUpdate request with any body + IpamRirsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsPartialUpdateResponse, error) + + IpamRirsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRirsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsPartialUpdateResponse, error) + + // IpamRirsUpdate request with any body + IpamRirsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsUpdateResponse, error) + + IpamRirsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRirsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsUpdateResponse, error) + + // IpamRolesBulkDestroy request + IpamRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) + + // IpamRolesList request + IpamRolesListWithResponse(ctx context.Context, params *IpamRolesListParams, reqEditors ...RequestEditorFn) (*IpamRolesListResponse, error) + + // IpamRolesBulkPartialUpdate request with any body + IpamRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesBulkPartialUpdateResponse, error) + + IpamRolesBulkPartialUpdateWithResponse(ctx context.Context, body IpamRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesBulkPartialUpdateResponse, error) + + // IpamRolesCreate request with any body + IpamRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesCreateResponse, error) + + IpamRolesCreateWithResponse(ctx context.Context, body IpamRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesCreateResponse, error) + + // IpamRolesBulkUpdate request with any body + IpamRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesBulkUpdateResponse, error) + + IpamRolesBulkUpdateWithResponse(ctx context.Context, body IpamRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesBulkUpdateResponse, error) + + // IpamRolesDestroy request + IpamRolesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRolesDestroyResponse, error) + + // IpamRolesRetrieve request + IpamRolesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRolesRetrieveResponse, error) + + // IpamRolesPartialUpdate request with any body + IpamRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesPartialUpdateResponse, error) + + IpamRolesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesPartialUpdateResponse, error) + + // IpamRolesUpdate request with any body + IpamRolesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesUpdateResponse, error) + + IpamRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesUpdateResponse, error) + + // IpamRouteTargetsBulkDestroy request + IpamRouteTargetsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) + + // IpamRouteTargetsList request + IpamRouteTargetsListWithResponse(ctx context.Context, params *IpamRouteTargetsListParams, reqEditors ...RequestEditorFn) (*IpamRouteTargetsListResponse, error) + + // IpamRouteTargetsBulkPartialUpdate request with any body + IpamRouteTargetsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkPartialUpdateResponse, error) + + IpamRouteTargetsBulkPartialUpdateWithResponse(ctx context.Context, body IpamRouteTargetsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkPartialUpdateResponse, error) + + // IpamRouteTargetsCreate request with any body + IpamRouteTargetsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsCreateResponse, error) + + IpamRouteTargetsCreateWithResponse(ctx context.Context, body IpamRouteTargetsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsCreateResponse, error) + + // IpamRouteTargetsBulkUpdate request with any body + IpamRouteTargetsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkUpdateResponse, error) + + IpamRouteTargetsBulkUpdateWithResponse(ctx context.Context, body IpamRouteTargetsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkUpdateResponse, error) + + // IpamRouteTargetsDestroy request + IpamRouteTargetsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRouteTargetsDestroyResponse, error) + + // IpamRouteTargetsRetrieve request + IpamRouteTargetsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRouteTargetsRetrieveResponse, error) + + // IpamRouteTargetsPartialUpdate request with any body + IpamRouteTargetsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsPartialUpdateResponse, error) + + IpamRouteTargetsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsPartialUpdateResponse, error) + + // IpamRouteTargetsUpdate request with any body + IpamRouteTargetsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsUpdateResponse, error) + + IpamRouteTargetsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsUpdateResponse, error) + + // IpamServicesBulkDestroy request + IpamServicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) + + // IpamServicesList request + IpamServicesListWithResponse(ctx context.Context, params *IpamServicesListParams, reqEditors ...RequestEditorFn) (*IpamServicesListResponse, error) + + // IpamServicesBulkPartialUpdate request with any body + IpamServicesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesBulkPartialUpdateResponse, error) + + IpamServicesBulkPartialUpdateWithResponse(ctx context.Context, body IpamServicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesBulkPartialUpdateResponse, error) + + // IpamServicesCreate request with any body + IpamServicesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesCreateResponse, error) + + IpamServicesCreateWithResponse(ctx context.Context, body IpamServicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesCreateResponse, error) + + // IpamServicesBulkUpdate request with any body + IpamServicesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesBulkUpdateResponse, error) + + IpamServicesBulkUpdateWithResponse(ctx context.Context, body IpamServicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesBulkUpdateResponse, error) + + // IpamServicesDestroy request + IpamServicesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamServicesDestroyResponse, error) + + // IpamServicesRetrieve request + IpamServicesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamServicesRetrieveResponse, error) + + // IpamServicesPartialUpdate request with any body + IpamServicesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesPartialUpdateResponse, error) + + IpamServicesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamServicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesPartialUpdateResponse, error) + + // IpamServicesUpdate request with any body + IpamServicesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesUpdateResponse, error) + + IpamServicesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamServicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesUpdateResponse, error) + + // IpamVlanGroupsBulkDestroy request + IpamVlanGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) + + // IpamVlanGroupsList request + IpamVlanGroupsListWithResponse(ctx context.Context, params *IpamVlanGroupsListParams, reqEditors ...RequestEditorFn) (*IpamVlanGroupsListResponse, error) + + // IpamVlanGroupsBulkPartialUpdate request with any body + IpamVlanGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkPartialUpdateResponse, error) + + IpamVlanGroupsBulkPartialUpdateWithResponse(ctx context.Context, body IpamVlanGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkPartialUpdateResponse, error) + + // IpamVlanGroupsCreate request with any body + IpamVlanGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsCreateResponse, error) + + IpamVlanGroupsCreateWithResponse(ctx context.Context, body IpamVlanGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsCreateResponse, error) + + // IpamVlanGroupsBulkUpdate request with any body + IpamVlanGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkUpdateResponse, error) + + IpamVlanGroupsBulkUpdateWithResponse(ctx context.Context, body IpamVlanGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkUpdateResponse, error) + + // IpamVlanGroupsDestroy request + IpamVlanGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVlanGroupsDestroyResponse, error) + + // IpamVlanGroupsRetrieve request + IpamVlanGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVlanGroupsRetrieveResponse, error) + + // IpamVlanGroupsPartialUpdate request with any body + IpamVlanGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsPartialUpdateResponse, error) + + IpamVlanGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsPartialUpdateResponse, error) + + // IpamVlanGroupsUpdate request with any body + IpamVlanGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsUpdateResponse, error) + + IpamVlanGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsUpdateResponse, error) + + // IpamVlansBulkDestroy request + IpamVlansBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) + + // IpamVlansList request + IpamVlansListWithResponse(ctx context.Context, params *IpamVlansListParams, reqEditors ...RequestEditorFn) (*IpamVlansListResponse, error) + + // IpamVlansBulkPartialUpdate request with any body + IpamVlansBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansBulkPartialUpdateResponse, error) + + IpamVlansBulkPartialUpdateWithResponse(ctx context.Context, body IpamVlansBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansBulkPartialUpdateResponse, error) + + // IpamVlansCreate request with any body + IpamVlansCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansCreateResponse, error) + + IpamVlansCreateWithResponse(ctx context.Context, body IpamVlansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansCreateResponse, error) + + // IpamVlansBulkUpdate request with any body + IpamVlansBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansBulkUpdateResponse, error) + + IpamVlansBulkUpdateWithResponse(ctx context.Context, body IpamVlansBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansBulkUpdateResponse, error) + + // IpamVlansDestroy request + IpamVlansDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVlansDestroyResponse, error) + + // IpamVlansRetrieve request + IpamVlansRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVlansRetrieveResponse, error) + + // IpamVlansPartialUpdate request with any body + IpamVlansPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansPartialUpdateResponse, error) + + IpamVlansPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansPartialUpdateResponse, error) + + // IpamVlansUpdate request with any body + IpamVlansUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansUpdateResponse, error) + + IpamVlansUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansUpdateResponse, error) + + // IpamVrfsBulkDestroy request + IpamVrfsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) + + // IpamVrfsList request + IpamVrfsListWithResponse(ctx context.Context, params *IpamVrfsListParams, reqEditors ...RequestEditorFn) (*IpamVrfsListResponse, error) + + // IpamVrfsBulkPartialUpdate request with any body + IpamVrfsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsBulkPartialUpdateResponse, error) + + IpamVrfsBulkPartialUpdateWithResponse(ctx context.Context, body IpamVrfsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsBulkPartialUpdateResponse, error) + + // IpamVrfsCreate request with any body + IpamVrfsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsCreateResponse, error) + + IpamVrfsCreateWithResponse(ctx context.Context, body IpamVrfsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsCreateResponse, error) + + // IpamVrfsBulkUpdate request with any body + IpamVrfsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsBulkUpdateResponse, error) + + IpamVrfsBulkUpdateWithResponse(ctx context.Context, body IpamVrfsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsBulkUpdateResponse, error) + + // IpamVrfsDestroy request + IpamVrfsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVrfsDestroyResponse, error) + + // IpamVrfsRetrieve request + IpamVrfsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVrfsRetrieveResponse, error) + + // IpamVrfsPartialUpdate request with any body + IpamVrfsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsPartialUpdateResponse, error) + + IpamVrfsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVrfsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsPartialUpdateResponse, error) + + // IpamVrfsUpdate request with any body + IpamVrfsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsUpdateResponse, error) + + IpamVrfsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVrfsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsUpdateResponse, error) + + // PluginsChatopsAccessgrantBulkDestroy request + PluginsChatopsAccessgrantBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkDestroyResponse, error) + + // PluginsChatopsAccessgrantList request + PluginsChatopsAccessgrantListWithResponse(ctx context.Context, params *PluginsChatopsAccessgrantListParams, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantListResponse, error) + + // PluginsChatopsAccessgrantBulkPartialUpdate request with any body + PluginsChatopsAccessgrantBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkPartialUpdateResponse, error) + + PluginsChatopsAccessgrantBulkPartialUpdateWithResponse(ctx context.Context, body PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkPartialUpdateResponse, error) + + // PluginsChatopsAccessgrantCreate request with any body + PluginsChatopsAccessgrantCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantCreateResponse, error) + + PluginsChatopsAccessgrantCreateWithResponse(ctx context.Context, body PluginsChatopsAccessgrantCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantCreateResponse, error) + + // PluginsChatopsAccessgrantBulkUpdate request with any body + PluginsChatopsAccessgrantBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkUpdateResponse, error) + + PluginsChatopsAccessgrantBulkUpdateWithResponse(ctx context.Context, body PluginsChatopsAccessgrantBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkUpdateResponse, error) + + // PluginsChatopsAccessgrantDestroy request + PluginsChatopsAccessgrantDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantDestroyResponse, error) + + // PluginsChatopsAccessgrantRetrieve request + PluginsChatopsAccessgrantRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantRetrieveResponse, error) + + // PluginsChatopsAccessgrantPartialUpdate request with any body + PluginsChatopsAccessgrantPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantPartialUpdateResponse, error) + + PluginsChatopsAccessgrantPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsAccessgrantPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantPartialUpdateResponse, error) + + // PluginsChatopsAccessgrantUpdate request with any body + PluginsChatopsAccessgrantUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantUpdateResponse, error) + + PluginsChatopsAccessgrantUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsAccessgrantUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantUpdateResponse, error) + + // PluginsChatopsCommandtokenBulkDestroy request + PluginsChatopsCommandtokenBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) + + // PluginsChatopsCommandtokenList request + PluginsChatopsCommandtokenListWithResponse(ctx context.Context, params *PluginsChatopsCommandtokenListParams, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenListResponse, error) + + // PluginsChatopsCommandtokenBulkPartialUpdate request with any body + PluginsChatopsCommandtokenBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkPartialUpdateResponse, error) + + PluginsChatopsCommandtokenBulkPartialUpdateWithResponse(ctx context.Context, body PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkPartialUpdateResponse, error) + + // PluginsChatopsCommandtokenCreate request with any body + PluginsChatopsCommandtokenCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenCreateResponse, error) + + PluginsChatopsCommandtokenCreateWithResponse(ctx context.Context, body PluginsChatopsCommandtokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenCreateResponse, error) + + // PluginsChatopsCommandtokenBulkUpdate request with any body + PluginsChatopsCommandtokenBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkUpdateResponse, error) + + PluginsChatopsCommandtokenBulkUpdateWithResponse(ctx context.Context, body PluginsChatopsCommandtokenBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkUpdateResponse, error) + + // PluginsChatopsCommandtokenDestroy request + PluginsChatopsCommandtokenDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenDestroyResponse, error) + + // PluginsChatopsCommandtokenRetrieve request + PluginsChatopsCommandtokenRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenRetrieveResponse, error) + + // PluginsChatopsCommandtokenPartialUpdate request with any body + PluginsChatopsCommandtokenPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenPartialUpdateResponse, error) + + PluginsChatopsCommandtokenPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsCommandtokenPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenPartialUpdateResponse, error) + + // PluginsChatopsCommandtokenUpdate request with any body + PluginsChatopsCommandtokenUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenUpdateResponse, error) + + PluginsChatopsCommandtokenUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsCommandtokenUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenUpdateResponse, error) + + // PluginsCircuitMaintenanceCircuitimpactBulkDestroy request + PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) + + // PluginsCircuitMaintenanceCircuitimpactList request + PluginsCircuitMaintenanceCircuitimpactListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceCircuitimpactListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactListResponse, error) + + // PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate request with any body + PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse, error) + + PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse, error) + + // PluginsCircuitMaintenanceCircuitimpactCreate request with any body + PluginsCircuitMaintenanceCircuitimpactCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactCreateResponse, error) + + PluginsCircuitMaintenanceCircuitimpactCreateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactCreateResponse, error) + + // PluginsCircuitMaintenanceCircuitimpactBulkUpdate request with any body + PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse, error) + + PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse, error) + + // PluginsCircuitMaintenanceCircuitimpactDestroy request + PluginsCircuitMaintenanceCircuitimpactDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactDestroyResponse, error) + + // PluginsCircuitMaintenanceCircuitimpactRetrieve request + PluginsCircuitMaintenanceCircuitimpactRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactRetrieveResponse, error) + + // PluginsCircuitMaintenanceCircuitimpactPartialUpdate request with any body + PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse, error) + + PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse, error) + + // PluginsCircuitMaintenanceCircuitimpactUpdate request with any body + PluginsCircuitMaintenanceCircuitimpactUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactUpdateResponse, error) + + PluginsCircuitMaintenanceCircuitimpactUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactUpdateResponse, error) + + // PluginsCircuitMaintenanceMaintenanceBulkDestroy request + PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) + + // PluginsCircuitMaintenanceMaintenanceList request + PluginsCircuitMaintenanceMaintenanceListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceMaintenanceListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceListResponse, error) + + // PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate request with any body + PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse, error) + + PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse, error) + + // PluginsCircuitMaintenanceMaintenanceCreate request with any body + PluginsCircuitMaintenanceMaintenanceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceCreateResponse, error) + + PluginsCircuitMaintenanceMaintenanceCreateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceCreateResponse, error) + + // PluginsCircuitMaintenanceMaintenanceBulkUpdate request with any body + PluginsCircuitMaintenanceMaintenanceBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse, error) + + PluginsCircuitMaintenanceMaintenanceBulkUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse, error) + + // PluginsCircuitMaintenanceMaintenanceDestroy request + PluginsCircuitMaintenanceMaintenanceDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceDestroyResponse, error) + + // PluginsCircuitMaintenanceMaintenanceRetrieve request + PluginsCircuitMaintenanceMaintenanceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceRetrieveResponse, error) + + // PluginsCircuitMaintenanceMaintenancePartialUpdate request with any body + PluginsCircuitMaintenanceMaintenancePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenancePartialUpdateResponse, error) + + PluginsCircuitMaintenanceMaintenancePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenancePartialUpdateResponse, error) + + // PluginsCircuitMaintenanceMaintenanceUpdate request with any body + PluginsCircuitMaintenanceMaintenanceUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceUpdateResponse, error) + + PluginsCircuitMaintenanceMaintenanceUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceUpdateResponse, error) + + // PluginsCircuitMaintenanceNoteBulkDestroy request + PluginsCircuitMaintenanceNoteBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) + + // PluginsCircuitMaintenanceNoteList request + PluginsCircuitMaintenanceNoteListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceNoteListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteListResponse, error) + + // PluginsCircuitMaintenanceNoteBulkPartialUpdate request with any body + PluginsCircuitMaintenanceNoteBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse, error) + + PluginsCircuitMaintenanceNoteBulkPartialUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse, error) + + // PluginsCircuitMaintenanceNoteCreate request with any body + PluginsCircuitMaintenanceNoteCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteCreateResponse, error) + + PluginsCircuitMaintenanceNoteCreateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceNoteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteCreateResponse, error) + + // PluginsCircuitMaintenanceNoteBulkUpdate request with any body + PluginsCircuitMaintenanceNoteBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkUpdateResponse, error) + + PluginsCircuitMaintenanceNoteBulkUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkUpdateResponse, error) + + // PluginsCircuitMaintenanceNoteDestroy request + PluginsCircuitMaintenanceNoteDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteDestroyResponse, error) + + // PluginsCircuitMaintenanceNoteRetrieve request + PluginsCircuitMaintenanceNoteRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteRetrieveResponse, error) + + // PluginsCircuitMaintenanceNotePartialUpdate request with any body + PluginsCircuitMaintenanceNotePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNotePartialUpdateResponse, error) + + PluginsCircuitMaintenanceNotePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNotePartialUpdateResponse, error) + + // PluginsCircuitMaintenanceNoteUpdate request with any body + PluginsCircuitMaintenanceNoteUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteUpdateResponse, error) + + PluginsCircuitMaintenanceNoteUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceNoteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteUpdateResponse, error) + + // PluginsCircuitMaintenanceNotificationsourceList request + PluginsCircuitMaintenanceNotificationsourceListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceNotificationsourceListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNotificationsourceListResponse, error) + + // PluginsCircuitMaintenanceNotificationsourceRetrieve request + PluginsCircuitMaintenanceNotificationsourceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNotificationsourceRetrieveResponse, error) + + // PluginsDataValidationEngineRulesMinMaxBulkDestroy request + PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) + + // PluginsDataValidationEngineRulesMinMaxList request + PluginsDataValidationEngineRulesMinMaxListWithResponse(ctx context.Context, params *PluginsDataValidationEngineRulesMinMaxListParams, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxListResponse, error) + + // PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate request with any body + PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse, error) + + PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse, error) + + // PluginsDataValidationEngineRulesMinMaxCreate request with any body + PluginsDataValidationEngineRulesMinMaxCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxCreateResponse, error) + + PluginsDataValidationEngineRulesMinMaxCreateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxCreateResponse, error) + + // PluginsDataValidationEngineRulesMinMaxBulkUpdate request with any body + PluginsDataValidationEngineRulesMinMaxBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse, error) + + PluginsDataValidationEngineRulesMinMaxBulkUpdateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse, error) + + // PluginsDataValidationEngineRulesMinMaxDestroy request + PluginsDataValidationEngineRulesMinMaxDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxDestroyResponse, error) + + // PluginsDataValidationEngineRulesMinMaxRetrieve request + PluginsDataValidationEngineRulesMinMaxRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxRetrieveResponse, error) + + // PluginsDataValidationEngineRulesMinMaxPartialUpdate request with any body + PluginsDataValidationEngineRulesMinMaxPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse, error) + + PluginsDataValidationEngineRulesMinMaxPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse, error) + + // PluginsDataValidationEngineRulesMinMaxUpdate request with any body + PluginsDataValidationEngineRulesMinMaxUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxUpdateResponse, error) + + PluginsDataValidationEngineRulesMinMaxUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxUpdateResponse, error) + + // PluginsDataValidationEngineRulesRegexBulkDestroy request + PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) + + // PluginsDataValidationEngineRulesRegexList request + PluginsDataValidationEngineRulesRegexListWithResponse(ctx context.Context, params *PluginsDataValidationEngineRulesRegexListParams, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexListResponse, error) + + // PluginsDataValidationEngineRulesRegexBulkPartialUpdate request with any body + PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse, error) + + PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse, error) + + // PluginsDataValidationEngineRulesRegexCreate request with any body + PluginsDataValidationEngineRulesRegexCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexCreateResponse, error) + + PluginsDataValidationEngineRulesRegexCreateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesRegexCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexCreateResponse, error) + + // PluginsDataValidationEngineRulesRegexBulkUpdate request with any body + PluginsDataValidationEngineRulesRegexBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkUpdateResponse, error) + + PluginsDataValidationEngineRulesRegexBulkUpdateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkUpdateResponse, error) + + // PluginsDataValidationEngineRulesRegexDestroy request + PluginsDataValidationEngineRulesRegexDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexDestroyResponse, error) + + // PluginsDataValidationEngineRulesRegexRetrieve request + PluginsDataValidationEngineRulesRegexRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexRetrieveResponse, error) + + // PluginsDataValidationEngineRulesRegexPartialUpdate request with any body + PluginsDataValidationEngineRulesRegexPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexPartialUpdateResponse, error) + + PluginsDataValidationEngineRulesRegexPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexPartialUpdateResponse, error) + + // PluginsDataValidationEngineRulesRegexUpdate request with any body + PluginsDataValidationEngineRulesRegexUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexUpdateResponse, error) + + PluginsDataValidationEngineRulesRegexUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexUpdateResponse, error) + + // PluginsDeviceOnboardingOnboardingList request + PluginsDeviceOnboardingOnboardingListWithResponse(ctx context.Context, params *PluginsDeviceOnboardingOnboardingListParams, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingListResponse, error) + + // PluginsDeviceOnboardingOnboardingCreate request with any body + PluginsDeviceOnboardingOnboardingCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingCreateResponse, error) + + PluginsDeviceOnboardingOnboardingCreateWithResponse(ctx context.Context, body PluginsDeviceOnboardingOnboardingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingCreateResponse, error) + + // PluginsDeviceOnboardingOnboardingDestroy request + PluginsDeviceOnboardingOnboardingDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingDestroyResponse, error) + + // PluginsDeviceOnboardingOnboardingRetrieve request + PluginsDeviceOnboardingOnboardingRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingRetrieveResponse, error) + + // PluginsGoldenConfigComplianceFeatureBulkDestroy request + PluginsGoldenConfigComplianceFeatureBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkDestroyResponse, error) + + // PluginsGoldenConfigComplianceFeatureList request + PluginsGoldenConfigComplianceFeatureListWithResponse(ctx context.Context, params *PluginsGoldenConfigComplianceFeatureListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureListResponse, error) + + // PluginsGoldenConfigComplianceFeatureBulkPartialUpdate request with any body + PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse, error) + + PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse, error) + + // PluginsGoldenConfigComplianceFeatureCreate request with any body + PluginsGoldenConfigComplianceFeatureCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureCreateResponse, error) + + PluginsGoldenConfigComplianceFeatureCreateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureCreateResponse, error) + + // PluginsGoldenConfigComplianceFeatureBulkUpdate request with any body + PluginsGoldenConfigComplianceFeatureBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkUpdateResponse, error) + + PluginsGoldenConfigComplianceFeatureBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkUpdateResponse, error) + + // PluginsGoldenConfigComplianceFeatureDestroy request + PluginsGoldenConfigComplianceFeatureDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureDestroyResponse, error) + + // PluginsGoldenConfigComplianceFeatureRetrieve request + PluginsGoldenConfigComplianceFeatureRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureRetrieveResponse, error) + + // PluginsGoldenConfigComplianceFeaturePartialUpdate request with any body + PluginsGoldenConfigComplianceFeaturePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeaturePartialUpdateResponse, error) + + PluginsGoldenConfigComplianceFeaturePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeaturePartialUpdateResponse, error) + + // PluginsGoldenConfigComplianceFeatureUpdate request with any body + PluginsGoldenConfigComplianceFeatureUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureUpdateResponse, error) + + PluginsGoldenConfigComplianceFeatureUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureUpdateResponse, error) + + // PluginsGoldenConfigComplianceRuleBulkDestroy request + PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) + + // PluginsGoldenConfigComplianceRuleList request + PluginsGoldenConfigComplianceRuleListWithResponse(ctx context.Context, params *PluginsGoldenConfigComplianceRuleListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleListResponse, error) + + // PluginsGoldenConfigComplianceRuleBulkPartialUpdate request with any body + PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse, error) + + PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse, error) + + // PluginsGoldenConfigComplianceRuleCreate request with any body + PluginsGoldenConfigComplianceRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleCreateResponse, error) + + PluginsGoldenConfigComplianceRuleCreateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleCreateResponse, error) + + // PluginsGoldenConfigComplianceRuleBulkUpdate request with any body + PluginsGoldenConfigComplianceRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkUpdateResponse, error) + + PluginsGoldenConfigComplianceRuleBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkUpdateResponse, error) + + // PluginsGoldenConfigComplianceRuleDestroy request + PluginsGoldenConfigComplianceRuleDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleDestroyResponse, error) + + // PluginsGoldenConfigComplianceRuleRetrieve request + PluginsGoldenConfigComplianceRuleRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleRetrieveResponse, error) + + // PluginsGoldenConfigComplianceRulePartialUpdate request with any body + PluginsGoldenConfigComplianceRulePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRulePartialUpdateResponse, error) + + PluginsGoldenConfigComplianceRulePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRulePartialUpdateResponse, error) + + // PluginsGoldenConfigComplianceRuleUpdate request with any body + PluginsGoldenConfigComplianceRuleUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleUpdateResponse, error) + + PluginsGoldenConfigComplianceRuleUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleUpdateResponse, error) + + // PluginsGoldenConfigConfigComplianceBulkDestroy request + PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) + + // PluginsGoldenConfigConfigComplianceList request + PluginsGoldenConfigConfigComplianceListWithResponse(ctx context.Context, params *PluginsGoldenConfigConfigComplianceListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceListResponse, error) + + // PluginsGoldenConfigConfigComplianceBulkPartialUpdate request with any body + PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse, error) + + PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse, error) + + // PluginsGoldenConfigConfigComplianceCreate request with any body + PluginsGoldenConfigConfigComplianceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceCreateResponse, error) + + PluginsGoldenConfigConfigComplianceCreateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceCreateResponse, error) + + // PluginsGoldenConfigConfigComplianceBulkUpdate request with any body + PluginsGoldenConfigConfigComplianceBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkUpdateResponse, error) + + PluginsGoldenConfigConfigComplianceBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkUpdateResponse, error) + + // PluginsGoldenConfigConfigComplianceDestroy request + PluginsGoldenConfigConfigComplianceDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceDestroyResponse, error) + + // PluginsGoldenConfigConfigComplianceRetrieve request + PluginsGoldenConfigConfigComplianceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceRetrieveResponse, error) + + // PluginsGoldenConfigConfigCompliancePartialUpdate request with any body + PluginsGoldenConfigConfigCompliancePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigCompliancePartialUpdateResponse, error) + + PluginsGoldenConfigConfigCompliancePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigCompliancePartialUpdateResponse, error) + + // PluginsGoldenConfigConfigComplianceUpdate request with any body + PluginsGoldenConfigConfigComplianceUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceUpdateResponse, error) + + PluginsGoldenConfigConfigComplianceUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceUpdateResponse, error) + + // PluginsGoldenConfigConfigRemoveBulkDestroy request + PluginsGoldenConfigConfigRemoveBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkDestroyResponse, error) + + // PluginsGoldenConfigConfigRemoveList request + PluginsGoldenConfigConfigRemoveListWithResponse(ctx context.Context, params *PluginsGoldenConfigConfigRemoveListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveListResponse, error) + + // PluginsGoldenConfigConfigRemoveBulkPartialUpdate request with any body + PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse, error) + + PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse, error) + + // PluginsGoldenConfigConfigRemoveCreate request with any body + PluginsGoldenConfigConfigRemoveCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveCreateResponse, error) + + PluginsGoldenConfigConfigRemoveCreateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigRemoveCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveCreateResponse, error) + + // PluginsGoldenConfigConfigRemoveBulkUpdate request with any body + PluginsGoldenConfigConfigRemoveBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkUpdateResponse, error) + + PluginsGoldenConfigConfigRemoveBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkUpdateResponse, error) + + // PluginsGoldenConfigConfigRemoveDestroy request + PluginsGoldenConfigConfigRemoveDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveDestroyResponse, error) + + // PluginsGoldenConfigConfigRemoveRetrieve request + PluginsGoldenConfigConfigRemoveRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveRetrieveResponse, error) + + // PluginsGoldenConfigConfigRemovePartialUpdate request with any body + PluginsGoldenConfigConfigRemovePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemovePartialUpdateResponse, error) + + PluginsGoldenConfigConfigRemovePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemovePartialUpdateResponse, error) + + // PluginsGoldenConfigConfigRemoveUpdate request with any body + PluginsGoldenConfigConfigRemoveUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveUpdateResponse, error) + + PluginsGoldenConfigConfigRemoveUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveUpdateResponse, error) + + // PluginsGoldenConfigConfigReplaceBulkDestroy request + PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) + + // PluginsGoldenConfigConfigReplaceList request + PluginsGoldenConfigConfigReplaceListWithResponse(ctx context.Context, params *PluginsGoldenConfigConfigReplaceListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceListResponse, error) + + // PluginsGoldenConfigConfigReplaceBulkPartialUpdate request with any body + PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse, error) + + PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse, error) + + // PluginsGoldenConfigConfigReplaceCreate request with any body + PluginsGoldenConfigConfigReplaceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceCreateResponse, error) + + PluginsGoldenConfigConfigReplaceCreateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigReplaceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceCreateResponse, error) + + // PluginsGoldenConfigConfigReplaceBulkUpdate request with any body + PluginsGoldenConfigConfigReplaceBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkUpdateResponse, error) + + PluginsGoldenConfigConfigReplaceBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkUpdateResponse, error) + + // PluginsGoldenConfigConfigReplaceDestroy request + PluginsGoldenConfigConfigReplaceDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceDestroyResponse, error) + + // PluginsGoldenConfigConfigReplaceRetrieve request + PluginsGoldenConfigConfigReplaceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceRetrieveResponse, error) + + // PluginsGoldenConfigConfigReplacePartialUpdate request with any body + PluginsGoldenConfigConfigReplacePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplacePartialUpdateResponse, error) + + PluginsGoldenConfigConfigReplacePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplacePartialUpdateResponse, error) + + // PluginsGoldenConfigConfigReplaceUpdate request with any body + PluginsGoldenConfigConfigReplaceUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceUpdateResponse, error) + + PluginsGoldenConfigConfigReplaceUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceUpdateResponse, error) + + // PluginsGoldenConfigGoldenConfigSettingsBulkDestroy request + PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) + + // PluginsGoldenConfigGoldenConfigSettingsList request + PluginsGoldenConfigGoldenConfigSettingsListWithResponse(ctx context.Context, params *PluginsGoldenConfigGoldenConfigSettingsListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsListResponse, error) + + // PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate request with any body + PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse, error) + + PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse, error) + + // PluginsGoldenConfigGoldenConfigSettingsCreate request with any body + PluginsGoldenConfigGoldenConfigSettingsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsCreateResponse, error) + + PluginsGoldenConfigGoldenConfigSettingsCreateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsCreateResponse, error) + + // PluginsGoldenConfigGoldenConfigSettingsBulkUpdate request with any body + PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse, error) + + PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse, error) + + // PluginsGoldenConfigGoldenConfigSettingsDestroy request + PluginsGoldenConfigGoldenConfigSettingsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsDestroyResponse, error) + + // PluginsGoldenConfigGoldenConfigSettingsRetrieve request + PluginsGoldenConfigGoldenConfigSettingsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsRetrieveResponse, error) + + // PluginsGoldenConfigGoldenConfigSettingsPartialUpdate request with any body + PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse, error) + + PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse, error) + + // PluginsGoldenConfigGoldenConfigSettingsUpdate request with any body + PluginsGoldenConfigGoldenConfigSettingsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsUpdateResponse, error) + + PluginsGoldenConfigGoldenConfigSettingsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsUpdateResponse, error) + + // PluginsGoldenConfigGoldenConfigBulkDestroy request + PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) + + // PluginsGoldenConfigGoldenConfigList request + PluginsGoldenConfigGoldenConfigListWithResponse(ctx context.Context, params *PluginsGoldenConfigGoldenConfigListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigListResponse, error) + + // PluginsGoldenConfigGoldenConfigBulkPartialUpdate request with any body + PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse, error) + + PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse, error) + + // PluginsGoldenConfigGoldenConfigCreate request with any body + PluginsGoldenConfigGoldenConfigCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigCreateResponse, error) + + PluginsGoldenConfigGoldenConfigCreateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigCreateResponse, error) + + // PluginsGoldenConfigGoldenConfigBulkUpdate request with any body + PluginsGoldenConfigGoldenConfigBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkUpdateResponse, error) + + PluginsGoldenConfigGoldenConfigBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkUpdateResponse, error) + + // PluginsGoldenConfigGoldenConfigDestroy request + PluginsGoldenConfigGoldenConfigDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigDestroyResponse, error) + + // PluginsGoldenConfigGoldenConfigRetrieve request + PluginsGoldenConfigGoldenConfigRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigRetrieveResponse, error) + + // PluginsGoldenConfigGoldenConfigPartialUpdate request with any body + PluginsGoldenConfigGoldenConfigPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigPartialUpdateResponse, error) + + PluginsGoldenConfigGoldenConfigPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigPartialUpdateResponse, error) + + // PluginsGoldenConfigGoldenConfigUpdate request with any body + PluginsGoldenConfigGoldenConfigUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigUpdateResponse, error) + + PluginsGoldenConfigGoldenConfigUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigUpdateResponse, error) + + // PluginsGoldenConfigSotaggRetrieve request + PluginsGoldenConfigSotaggRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigSotaggRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy request + PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContactList request + PluginsNautobotDeviceLifecycleMgmtContactListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContactListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactListResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContactCreate request with any body + PluginsNautobotDeviceLifecycleMgmtContactCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactCreateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContactCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactCreateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContactDestroy request + PluginsNautobotDeviceLifecycleMgmtContactDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContactRetrieve request + PluginsNautobotDeviceLifecycleMgmtContactRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContactUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContactUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContactUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy request + PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContractList request + PluginsNautobotDeviceLifecycleMgmtContractListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContractListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractListResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContractCreate request with any body + PluginsNautobotDeviceLifecycleMgmtContractCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractCreateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContractCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractCreateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContractDestroy request + PluginsNautobotDeviceLifecycleMgmtContractDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContractRetrieve request + PluginsNautobotDeviceLifecycleMgmtContractRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtContractUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtContractUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContractUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy request + PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtCveList request + PluginsNautobotDeviceLifecycleMgmtCveListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtCveListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveListResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtCveCreate request with any body + PluginsNautobotDeviceLifecycleMgmtCveCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveCreateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtCveCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveCreateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtCveDestroy request + PluginsNautobotDeviceLifecycleMgmtCveDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtCveRetrieve request + PluginsNautobotDeviceLifecycleMgmtCveRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtCveUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtCveUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtCveUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy request + PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareList request + PluginsNautobotDeviceLifecycleMgmtHardwareListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtHardwareListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareListResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareCreate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareDestroy request + PluginsNautobotDeviceLifecycleMgmtHardwareDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareRetrieve request + PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtHardwareUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy request + PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderList request + PluginsNautobotDeviceLifecycleMgmtProviderListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtProviderListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderListResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderCreate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtProviderCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderDestroy request + PluginsNautobotDeviceLifecycleMgmtProviderDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderRetrieve request + PluginsNautobotDeviceLifecycleMgmtProviderRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtProviderUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy request + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageList request + PluginsNautobotDeviceLifecycleMgmtSoftwareImageListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroy request + PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieve request + PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy request + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareList request + PluginsNautobotDeviceLifecycleMgmtSoftwareListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareCreate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareDestroy request + PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieve request + PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy request + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList request + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroy request + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieve request + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy request + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityList request + PluginsNautobotDeviceLifecycleMgmtVulnerabilityListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtVulnerabilityListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroy request + PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieve request + PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse, error) + + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse, error) + + // StatusRetrieve request + StatusRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatusRetrieveResponse, error) + + // SwaggerJsonRetrieve request + SwaggerJsonRetrieveWithResponse(ctx context.Context, params *SwaggerJsonRetrieveParams, reqEditors ...RequestEditorFn) (*SwaggerJsonRetrieveResponse, error) + + // SwaggerYamlRetrieve request + SwaggerYamlRetrieveWithResponse(ctx context.Context, params *SwaggerYamlRetrieveParams, reqEditors ...RequestEditorFn) (*SwaggerYamlRetrieveResponse, error) + + // SwaggerRetrieve request + SwaggerRetrieveWithResponse(ctx context.Context, params *SwaggerRetrieveParams, reqEditors ...RequestEditorFn) (*SwaggerRetrieveResponse, error) + + // TenancyTenantGroupsBulkDestroy request + TenancyTenantGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) + + // TenancyTenantGroupsList request + TenancyTenantGroupsListWithResponse(ctx context.Context, params *TenancyTenantGroupsListParams, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsListResponse, error) + + // TenancyTenantGroupsBulkPartialUpdate request with any body + TenancyTenantGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkPartialUpdateResponse, error) + + TenancyTenantGroupsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyTenantGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkPartialUpdateResponse, error) + + // TenancyTenantGroupsCreate request with any body + TenancyTenantGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsCreateResponse, error) + + TenancyTenantGroupsCreateWithResponse(ctx context.Context, body TenancyTenantGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsCreateResponse, error) + + // TenancyTenantGroupsBulkUpdate request with any body + TenancyTenantGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkUpdateResponse, error) + + TenancyTenantGroupsBulkUpdateWithResponse(ctx context.Context, body TenancyTenantGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkUpdateResponse, error) + + // TenancyTenantGroupsDestroy request + TenancyTenantGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsDestroyResponse, error) + + // TenancyTenantGroupsRetrieve request + TenancyTenantGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsRetrieveResponse, error) + + // TenancyTenantGroupsPartialUpdate request with any body + TenancyTenantGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsPartialUpdateResponse, error) + + TenancyTenantGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsPartialUpdateResponse, error) + + // TenancyTenantGroupsUpdate request with any body + TenancyTenantGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsUpdateResponse, error) + + TenancyTenantGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsUpdateResponse, error) + + // TenancyTenantsBulkDestroy request + TenancyTenantsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) + + // TenancyTenantsList request + TenancyTenantsListWithResponse(ctx context.Context, params *TenancyTenantsListParams, reqEditors ...RequestEditorFn) (*TenancyTenantsListResponse, error) + + // TenancyTenantsBulkPartialUpdate request with any body + TenancyTenantsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkPartialUpdateResponse, error) + + TenancyTenantsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyTenantsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkPartialUpdateResponse, error) + + // TenancyTenantsCreate request with any body + TenancyTenantsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsCreateResponse, error) + + TenancyTenantsCreateWithResponse(ctx context.Context, body TenancyTenantsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsCreateResponse, error) + + // TenancyTenantsBulkUpdate request with any body + TenancyTenantsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkUpdateResponse, error) + + TenancyTenantsBulkUpdateWithResponse(ctx context.Context, body TenancyTenantsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkUpdateResponse, error) + + // TenancyTenantsDestroy request + TenancyTenantsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenancyTenantsDestroyResponse, error) + + // TenancyTenantsRetrieve request + TenancyTenantsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenancyTenantsRetrieveResponse, error) + + // TenancyTenantsPartialUpdate request with any body + TenancyTenantsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsPartialUpdateResponse, error) + + TenancyTenantsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsPartialUpdateResponse, error) + + // TenancyTenantsUpdate request with any body + TenancyTenantsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsUpdateResponse, error) + + TenancyTenantsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsUpdateResponse, error) + + // UsersConfigRetrieve request + UsersConfigRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersConfigRetrieveResponse, error) + + // UsersGroupsBulkDestroy request + UsersGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) + + // UsersGroupsList request + UsersGroupsListWithResponse(ctx context.Context, params *UsersGroupsListParams, reqEditors ...RequestEditorFn) (*UsersGroupsListResponse, error) + + // UsersGroupsBulkPartialUpdate request with any body + UsersGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsBulkPartialUpdateResponse, error) + + UsersGroupsBulkPartialUpdateWithResponse(ctx context.Context, body UsersGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsBulkPartialUpdateResponse, error) + + // UsersGroupsCreate request with any body + UsersGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsCreateResponse, error) + + UsersGroupsCreateWithResponse(ctx context.Context, body UsersGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsCreateResponse, error) + + // UsersGroupsBulkUpdate request with any body + UsersGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsBulkUpdateResponse, error) + + UsersGroupsBulkUpdateWithResponse(ctx context.Context, body UsersGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsBulkUpdateResponse, error) + + // UsersGroupsDestroy request + UsersGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersGroupsDestroyResponse, error) + + // UsersGroupsRetrieve request + UsersGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersGroupsRetrieveResponse, error) + + // UsersGroupsPartialUpdate request with any body + UsersGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsPartialUpdateResponse, error) + + UsersGroupsPartialUpdateWithResponse(ctx context.Context, id int, body UsersGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsPartialUpdateResponse, error) + + // UsersGroupsUpdate request with any body + UsersGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsUpdateResponse, error) + + UsersGroupsUpdateWithResponse(ctx context.Context, id int, body UsersGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsUpdateResponse, error) + + // UsersPermissionsBulkDestroy request + UsersPermissionsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) + + // UsersPermissionsList request + UsersPermissionsListWithResponse(ctx context.Context, params *UsersPermissionsListParams, reqEditors ...RequestEditorFn) (*UsersPermissionsListResponse, error) + + // UsersPermissionsBulkPartialUpdate request with any body + UsersPermissionsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkPartialUpdateResponse, error) + + UsersPermissionsBulkPartialUpdateWithResponse(ctx context.Context, body UsersPermissionsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkPartialUpdateResponse, error) + + // UsersPermissionsCreate request with any body + UsersPermissionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsCreateResponse, error) + + UsersPermissionsCreateWithResponse(ctx context.Context, body UsersPermissionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsCreateResponse, error) + + // UsersPermissionsBulkUpdate request with any body + UsersPermissionsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkUpdateResponse, error) + + UsersPermissionsBulkUpdateWithResponse(ctx context.Context, body UsersPermissionsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkUpdateResponse, error) + + // UsersPermissionsDestroy request + UsersPermissionsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersPermissionsDestroyResponse, error) + + // UsersPermissionsRetrieve request + UsersPermissionsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersPermissionsRetrieveResponse, error) + + // UsersPermissionsPartialUpdate request with any body + UsersPermissionsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsPartialUpdateResponse, error) + + UsersPermissionsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersPermissionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsPartialUpdateResponse, error) + + // UsersPermissionsUpdate request with any body + UsersPermissionsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsUpdateResponse, error) + + UsersPermissionsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersPermissionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsUpdateResponse, error) + + // UsersTokensBulkDestroy request + UsersTokensBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) + + // UsersTokensList request + UsersTokensListWithResponse(ctx context.Context, params *UsersTokensListParams, reqEditors ...RequestEditorFn) (*UsersTokensListResponse, error) + + // UsersTokensBulkPartialUpdate request with any body + UsersTokensBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensBulkPartialUpdateResponse, error) + + UsersTokensBulkPartialUpdateWithResponse(ctx context.Context, body UsersTokensBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensBulkPartialUpdateResponse, error) + + // UsersTokensCreate request with any body + UsersTokensCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensCreateResponse, error) + + UsersTokensCreateWithResponse(ctx context.Context, body UsersTokensCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensCreateResponse, error) + + // UsersTokensBulkUpdate request with any body + UsersTokensBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensBulkUpdateResponse, error) + + UsersTokensBulkUpdateWithResponse(ctx context.Context, body UsersTokensBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensBulkUpdateResponse, error) + + // UsersTokensDestroy request + UsersTokensDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersTokensDestroyResponse, error) + + // UsersTokensRetrieve request + UsersTokensRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersTokensRetrieveResponse, error) + + // UsersTokensPartialUpdate request with any body + UsersTokensPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensPartialUpdateResponse, error) + + UsersTokensPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersTokensPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensPartialUpdateResponse, error) + + // UsersTokensUpdate request with any body + UsersTokensUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensUpdateResponse, error) + + UsersTokensUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersTokensUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensUpdateResponse, error) + + // UsersUsersBulkDestroy request + UsersUsersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) + + // UsersUsersList request + UsersUsersListWithResponse(ctx context.Context, params *UsersUsersListParams, reqEditors ...RequestEditorFn) (*UsersUsersListResponse, error) + + // UsersUsersBulkPartialUpdate request with any body + UsersUsersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersBulkPartialUpdateResponse, error) + + UsersUsersBulkPartialUpdateWithResponse(ctx context.Context, body UsersUsersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersBulkPartialUpdateResponse, error) + + // UsersUsersCreate request with any body + UsersUsersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersCreateResponse, error) + + UsersUsersCreateWithResponse(ctx context.Context, body UsersUsersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersCreateResponse, error) + + // UsersUsersBulkUpdate request with any body + UsersUsersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersBulkUpdateResponse, error) + + UsersUsersBulkUpdateWithResponse(ctx context.Context, body UsersUsersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersBulkUpdateResponse, error) + + // UsersUsersDestroy request + UsersUsersDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersUsersDestroyResponse, error) + + // UsersUsersRetrieve request + UsersUsersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersUsersRetrieveResponse, error) + + // UsersUsersPartialUpdate request with any body + UsersUsersPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersPartialUpdateResponse, error) + + UsersUsersPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersUsersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersPartialUpdateResponse, error) + + // UsersUsersUpdate request with any body + UsersUsersUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersUpdateResponse, error) + + UsersUsersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersUpdateResponse, error) + + // VirtualizationClusterGroupsBulkDestroy request + VirtualizationClusterGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) + + // VirtualizationClusterGroupsList request + VirtualizationClusterGroupsListWithResponse(ctx context.Context, params *VirtualizationClusterGroupsListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsListResponse, error) + + // VirtualizationClusterGroupsBulkPartialUpdate request with any body + VirtualizationClusterGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkPartialUpdateResponse, error) + + VirtualizationClusterGroupsBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkPartialUpdateResponse, error) + + // VirtualizationClusterGroupsCreate request with any body + VirtualizationClusterGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsCreateResponse, error) + + VirtualizationClusterGroupsCreateWithResponse(ctx context.Context, body VirtualizationClusterGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsCreateResponse, error) + + // VirtualizationClusterGroupsBulkUpdate request with any body + VirtualizationClusterGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkUpdateResponse, error) + + VirtualizationClusterGroupsBulkUpdateWithResponse(ctx context.Context, body VirtualizationClusterGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkUpdateResponse, error) + + // VirtualizationClusterGroupsDestroy request + VirtualizationClusterGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsDestroyResponse, error) + + // VirtualizationClusterGroupsRetrieve request + VirtualizationClusterGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsRetrieveResponse, error) + + // VirtualizationClusterGroupsPartialUpdate request with any body + VirtualizationClusterGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsPartialUpdateResponse, error) + + VirtualizationClusterGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsPartialUpdateResponse, error) + + // VirtualizationClusterGroupsUpdate request with any body + VirtualizationClusterGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsUpdateResponse, error) + + VirtualizationClusterGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsUpdateResponse, error) + + // VirtualizationClusterTypesBulkDestroy request + VirtualizationClusterTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) + + // VirtualizationClusterTypesList request + VirtualizationClusterTypesListWithResponse(ctx context.Context, params *VirtualizationClusterTypesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesListResponse, error) + + // VirtualizationClusterTypesBulkPartialUpdate request with any body + VirtualizationClusterTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkPartialUpdateResponse, error) + + VirtualizationClusterTypesBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkPartialUpdateResponse, error) + + // VirtualizationClusterTypesCreate request with any body + VirtualizationClusterTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesCreateResponse, error) + + VirtualizationClusterTypesCreateWithResponse(ctx context.Context, body VirtualizationClusterTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesCreateResponse, error) + + // VirtualizationClusterTypesBulkUpdate request with any body + VirtualizationClusterTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkUpdateResponse, error) + + VirtualizationClusterTypesBulkUpdateWithResponse(ctx context.Context, body VirtualizationClusterTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkUpdateResponse, error) + + // VirtualizationClusterTypesDestroy request + VirtualizationClusterTypesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesDestroyResponse, error) + + // VirtualizationClusterTypesRetrieve request + VirtualizationClusterTypesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesRetrieveResponse, error) + + // VirtualizationClusterTypesPartialUpdate request with any body + VirtualizationClusterTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesPartialUpdateResponse, error) + + VirtualizationClusterTypesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesPartialUpdateResponse, error) + + // VirtualizationClusterTypesUpdate request with any body + VirtualizationClusterTypesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesUpdateResponse, error) + + VirtualizationClusterTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesUpdateResponse, error) + + // VirtualizationClustersBulkDestroy request + VirtualizationClustersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) + + // VirtualizationClustersList request + VirtualizationClustersListWithResponse(ctx context.Context, params *VirtualizationClustersListParams, reqEditors ...RequestEditorFn) (*VirtualizationClustersListResponse, error) + + // VirtualizationClustersBulkPartialUpdate request with any body + VirtualizationClustersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkPartialUpdateResponse, error) + + VirtualizationClustersBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationClustersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkPartialUpdateResponse, error) + + // VirtualizationClustersCreate request with any body + VirtualizationClustersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersCreateResponse, error) + + VirtualizationClustersCreateWithResponse(ctx context.Context, body VirtualizationClustersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersCreateResponse, error) + + // VirtualizationClustersBulkUpdate request with any body + VirtualizationClustersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkUpdateResponse, error) + + VirtualizationClustersBulkUpdateWithResponse(ctx context.Context, body VirtualizationClustersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkUpdateResponse, error) + + // VirtualizationClustersDestroy request + VirtualizationClustersDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClustersDestroyResponse, error) + + // VirtualizationClustersRetrieve request + VirtualizationClustersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClustersRetrieveResponse, error) + + // VirtualizationClustersPartialUpdate request with any body + VirtualizationClustersPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersPartialUpdateResponse, error) + + VirtualizationClustersPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersPartialUpdateResponse, error) + + // VirtualizationClustersUpdate request with any body + VirtualizationClustersUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersUpdateResponse, error) + + VirtualizationClustersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersUpdateResponse, error) + + // VirtualizationInterfacesBulkDestroy request + VirtualizationInterfacesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) + + // VirtualizationInterfacesList request + VirtualizationInterfacesListWithResponse(ctx context.Context, params *VirtualizationInterfacesListParams, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesListResponse, error) + + // VirtualizationInterfacesBulkPartialUpdate request with any body + VirtualizationInterfacesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkPartialUpdateResponse, error) + + VirtualizationInterfacesBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationInterfacesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkPartialUpdateResponse, error) + + // VirtualizationInterfacesCreate request with any body + VirtualizationInterfacesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesCreateResponse, error) + + VirtualizationInterfacesCreateWithResponse(ctx context.Context, body VirtualizationInterfacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesCreateResponse, error) + + // VirtualizationInterfacesBulkUpdate request with any body + VirtualizationInterfacesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkUpdateResponse, error) + + VirtualizationInterfacesBulkUpdateWithResponse(ctx context.Context, body VirtualizationInterfacesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkUpdateResponse, error) + + // VirtualizationInterfacesDestroy request + VirtualizationInterfacesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesDestroyResponse, error) + + // VirtualizationInterfacesRetrieve request + VirtualizationInterfacesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesRetrieveResponse, error) + + // VirtualizationInterfacesPartialUpdate request with any body + VirtualizationInterfacesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesPartialUpdateResponse, error) + + VirtualizationInterfacesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesPartialUpdateResponse, error) + + // VirtualizationInterfacesUpdate request with any body + VirtualizationInterfacesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesUpdateResponse, error) + + VirtualizationInterfacesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesUpdateResponse, error) + + // VirtualizationVirtualMachinesBulkDestroy request + VirtualizationVirtualMachinesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) + + // VirtualizationVirtualMachinesList request + VirtualizationVirtualMachinesListWithResponse(ctx context.Context, params *VirtualizationVirtualMachinesListParams, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesListResponse, error) + + // VirtualizationVirtualMachinesBulkPartialUpdate request with any body + VirtualizationVirtualMachinesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkPartialUpdateResponse, error) + + VirtualizationVirtualMachinesBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkPartialUpdateResponse, error) + + // VirtualizationVirtualMachinesCreate request with any body + VirtualizationVirtualMachinesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesCreateResponse, error) + + VirtualizationVirtualMachinesCreateWithResponse(ctx context.Context, body VirtualizationVirtualMachinesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesCreateResponse, error) + + // VirtualizationVirtualMachinesBulkUpdate request with any body + VirtualizationVirtualMachinesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkUpdateResponse, error) + + VirtualizationVirtualMachinesBulkUpdateWithResponse(ctx context.Context, body VirtualizationVirtualMachinesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkUpdateResponse, error) + + // VirtualizationVirtualMachinesDestroy request + VirtualizationVirtualMachinesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesDestroyResponse, error) + + // VirtualizationVirtualMachinesRetrieve request + VirtualizationVirtualMachinesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesRetrieveResponse, error) + + // VirtualizationVirtualMachinesPartialUpdate request with any body + VirtualizationVirtualMachinesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesPartialUpdateResponse, error) + + VirtualizationVirtualMachinesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesPartialUpdateResponse, error) + + // VirtualizationVirtualMachinesUpdate request with any body + 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) +} + +type CircuitsCircuitTerminationsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsTraceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsTraceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsTraceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConnectedDeviceListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConnectedDeviceListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConnectedDeviceListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleConnectionsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleConnectionsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleConnectionsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsTraceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsTraceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsTraceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsTraceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsTraceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsTraceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesNapalmRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesNapalmRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesNapalmRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsPathsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsPathsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsPathsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceConnectionsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceConnectionsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceConnectionsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesTraceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesTraceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesTraceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerConnectionsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerConnectionsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerConnectionsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsTraceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsTraceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsTraceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsTraceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsTraceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsTraceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsTraceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsTraceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsTraceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksElevationListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksElevationListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksElevationListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsPathsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsPathsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsPathsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasContentTypesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasContentTypesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasContentTypesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasContentTypesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasContentTypesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasContentTypesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoicesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoicesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoicesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoicesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoicesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoicesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoicesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoicesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoicesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoicesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoicesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoicesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoicesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoicesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoicesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoicesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoicesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoicesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoicesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoicesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoicesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoicesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoicesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoicesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldChoicesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldChoicesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldChoicesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsMembersRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsMembersRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsMembersRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesSyncCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesSyncCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesSyncCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesRunCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesRunCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesRunCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasImageAttachmentsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasImageAttachmentsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasImageAttachmentsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasImageAttachmentsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasImageAttachmentsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasImageAttachmentsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasImageAttachmentsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasImageAttachmentsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasImageAttachmentsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasImageAttachmentsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasImageAttachmentsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobLogsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobLogsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobLogsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobLogsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobLogsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobLogsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobResultsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobResultsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobResultsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobResultsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobResultsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobResultsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + 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 +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobResultsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobResultsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobResultsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobResultsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobResultsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + 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 +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobResultsLogsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobResultsLogsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsReadDeprecatedResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsReadDeprecatedResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsReadDeprecatedResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsRunDeprecatedResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsRunDeprecatedResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsRunDeprecatedResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsRunCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsRunCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsRunCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsVariablesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsVariablesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsVariablesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasObjectChangesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasObjectChangesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasObjectChangesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasObjectChangesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasObjectChangesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasObjectChangesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipAssociationsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipAssociationsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipAssociationsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipAssociationsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipAssociationsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipAssociationsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipAssociationsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipAssociationsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipAssociationsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipAssociationsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipAssociationsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipAssociationsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipAssociationsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipAssociationsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipAssociationsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipAssociationsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipAssociationsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipAssociationsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipAssociationsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipAssociationsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipAssociationsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipAssociationsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipAssociationsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipAssociationsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipAssociationsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipAssociationsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipAssociationsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasScheduledJobsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasScheduledJobsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScheduledJobsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasScheduledJobsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasScheduledJobsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScheduledJobsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasScheduledJobsApproveCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasScheduledJobsApproveCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScheduledJobsApproveCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasScheduledJobsDenyCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasScheduledJobsDenyCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScheduledJobsDenyCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasScheduledJobsDryRunCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasScheduledJobsDryRunCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasScheduledJobsDryRunCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsAssociationsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsAssociationsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsAssociationsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsAssociationsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsAssociationsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsAssociationsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsAssociationsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsAssociationsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsAssociationsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsAssociationsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsAssociationsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsAssociationsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsAssociationsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsAssociationsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsAssociationsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsAssociationsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsAssociationsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsAssociationsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsAssociationsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsAssociationsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsAssociationsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsAssociationsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsAssociationsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsAssociationsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GraphqlCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GraphqlCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GraphqlCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesAvailableIpsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesAvailableIpsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesAvailableIpsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesAvailableIpsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesAvailableIpsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesAvailableIpsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesAvailablePrefixesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesAvailablePrefixesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesAvailablePrefixesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesAvailablePrefixesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesAvailablePrefixesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesAvailablePrefixesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsAccessgrantBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsAccessgrantBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsAccessgrantBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsAccessgrantListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsAccessgrantListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsAccessgrantListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsAccessgrantBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsAccessgrantBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsAccessgrantBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsAccessgrantCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsAccessgrantCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsAccessgrantCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsAccessgrantBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsAccessgrantBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsAccessgrantBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsAccessgrantDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsAccessgrantDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsAccessgrantDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsAccessgrantRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsAccessgrantRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsAccessgrantRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsAccessgrantPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsAccessgrantPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsAccessgrantPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsAccessgrantUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsAccessgrantUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsAccessgrantUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsCommandtokenBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsCommandtokenBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsCommandtokenBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsCommandtokenListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsCommandtokenListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsCommandtokenListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsCommandtokenBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsCommandtokenBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsCommandtokenBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsCommandtokenCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsCommandtokenCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsCommandtokenCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsCommandtokenBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsCommandtokenBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsCommandtokenBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsCommandtokenDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsCommandtokenDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsCommandtokenDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsCommandtokenRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsCommandtokenRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsCommandtokenRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsCommandtokenPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsCommandtokenPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsCommandtokenPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsChatopsCommandtokenUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsChatopsCommandtokenUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsChatopsCommandtokenUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceCircuitimpactListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceCircuitimpactListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceCircuitimpactListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceCircuitimpactCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceCircuitimpactCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceCircuitimpactCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceCircuitimpactDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceCircuitimpactDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceCircuitimpactDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceCircuitimpactRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceCircuitimpactRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceCircuitimpactRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceCircuitimpactUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceCircuitimpactUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceCircuitimpactUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceMaintenanceListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceMaintenanceListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceMaintenanceListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceMaintenanceCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceMaintenanceCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceMaintenanceCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceMaintenanceDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceMaintenanceDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceMaintenanceDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceMaintenanceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceMaintenanceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceMaintenanceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceMaintenancePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceMaintenancePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceMaintenancePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceMaintenanceUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceMaintenanceUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceMaintenanceUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNoteBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNoteBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNoteBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNoteListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNoteListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNoteListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNoteCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNoteCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNoteCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNoteBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNoteBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNoteBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNoteDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNoteDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNoteDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNoteRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNoteRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNoteRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNotePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNotePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNotePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNoteUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNoteUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNoteUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNotificationsourceListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNotificationsourceListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNotificationsourceListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsCircuitMaintenanceNotificationsourceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsCircuitMaintenanceNotificationsourceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsCircuitMaintenanceNotificationsourceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesMinMaxListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesMinMaxListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesMinMaxListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesMinMaxCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesMinMaxCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesMinMaxCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesMinMaxDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesMinMaxDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesMinMaxDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesMinMaxRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesMinMaxRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesMinMaxRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesMinMaxUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesMinMaxUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesMinMaxUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesRegexBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesRegexBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesRegexBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesRegexListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesRegexListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesRegexListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesRegexCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesRegexCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesRegexCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesRegexBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesRegexBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesRegexBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesRegexDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesRegexDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesRegexDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesRegexRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesRegexRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesRegexRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesRegexPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesRegexPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesRegexPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDataValidationEngineRulesRegexUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDataValidationEngineRulesRegexUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDataValidationEngineRulesRegexUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDeviceOnboardingOnboardingListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDeviceOnboardingOnboardingListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDeviceOnboardingOnboardingListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDeviceOnboardingOnboardingCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDeviceOnboardingOnboardingCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDeviceOnboardingOnboardingCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDeviceOnboardingOnboardingDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDeviceOnboardingOnboardingDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDeviceOnboardingOnboardingDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsDeviceOnboardingOnboardingRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsDeviceOnboardingOnboardingRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsDeviceOnboardingOnboardingRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceFeatureBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceFeatureBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceFeatureBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceFeatureListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceFeatureListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceFeatureListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceFeatureCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceFeatureCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceFeatureCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceFeatureBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceFeatureBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceFeatureBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceFeatureDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceFeatureDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceFeatureDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceFeatureRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceFeatureRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceFeatureRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceFeaturePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceFeaturePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceFeaturePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceFeatureUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceFeatureUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceFeatureUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceRuleBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceRuleBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceRuleBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceRuleListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceRuleListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceRuleListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceRuleCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceRuleCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceRuleCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceRuleBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceRuleBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceRuleBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceRuleDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceRuleDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceRuleDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceRuleRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceRuleRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceRuleRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceRulePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceRulePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceRulePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigComplianceRuleUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigComplianceRuleUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigComplianceRuleUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigComplianceBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigComplianceBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigComplianceBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigComplianceListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigComplianceListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigComplianceListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigComplianceCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigComplianceCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigComplianceCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigComplianceBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigComplianceBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigComplianceBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigComplianceDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigComplianceDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigComplianceDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigComplianceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigComplianceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigComplianceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigCompliancePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigCompliancePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigCompliancePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigComplianceUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigComplianceUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigComplianceUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigRemoveBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigRemoveBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigRemoveBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigRemoveListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigRemoveListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigRemoveListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigRemoveCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigRemoveCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigRemoveCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigRemoveBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigRemoveBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigRemoveBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigRemoveDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigRemoveDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigRemoveDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigRemoveRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigRemoveRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigRemoveRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigRemovePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigRemovePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigRemovePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigRemoveUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigRemoveUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigRemoveUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigReplaceBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigReplaceBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigReplaceBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigReplaceListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigReplaceListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigReplaceListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigReplaceCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigReplaceCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigReplaceCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigReplaceBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigReplaceBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigReplaceBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigReplaceDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigReplaceDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigReplaceDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigReplaceRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigReplaceRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigReplaceRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigReplacePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigReplacePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigReplacePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigConfigReplaceUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigReplaceUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigReplaceUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigSettingsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigSettingsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigSettingsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigSettingsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigSettingsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigSettingsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigSettingsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigSettingsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigSettingsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigSettingsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigSettingsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigSettingsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigSettingsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigSettingsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigSettingsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigGoldenConfigUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigGoldenConfigUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigGoldenConfigUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsGoldenConfigSotaggRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigSotaggRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigSotaggRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContactListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContactListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContactListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContactCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContactCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContactCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContactDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContactDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContactDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContractListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContractListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContractListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContractCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContractCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContractCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContractDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContractDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContractDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtCveListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtCveListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtCveListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtCveCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtCveCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtCveCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtCveDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtCveDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtCveDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtHardwareListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtHardwareListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtHardwareListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtProviderListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtProviderListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtProviderListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type StatusRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r StatusRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r StatusRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type SwaggerJsonRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r SwaggerJsonRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r SwaggerJsonRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type SwaggerYamlRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r SwaggerYamlRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r SwaggerYamlRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type SwaggerRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r SwaggerRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r SwaggerRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersConfigRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersConfigRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersConfigRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersPermissionsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersPermissionsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersPermissionsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersPermissionsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersPermissionsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersPermissionsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersPermissionsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersPermissionsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersPermissionsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersPermissionsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersPermissionsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersPermissionsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersPermissionsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersPermissionsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersPermissionsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersPermissionsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersPermissionsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersPermissionsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersPermissionsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersPermissionsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersPermissionsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersPermissionsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersPermissionsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersPermissionsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersPermissionsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersPermissionsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersPermissionsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersTokensBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersTokensBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersTokensListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersTokensListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersTokensBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersTokensBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersTokensCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersTokensCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersTokensBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersTokensBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersTokensDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersTokensDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersTokensRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersTokensRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersTokensPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersTokensPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersTokensUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersTokensUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersTokensUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersUsersBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersUsersBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersUsersBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersUsersListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersUsersListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersUsersListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersUsersBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersUsersBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersUsersBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersUsersCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersUsersCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersUsersCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersUsersBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersUsersBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersUsersBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersUsersDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersUsersDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersUsersDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersUsersRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersUsersRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersUsersRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersUsersPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersUsersPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersUsersPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type UsersUsersUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r UsersUsersUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r UsersUsersUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +// CircuitsCircuitTerminationsBulkDestroyWithResponse request returning *CircuitsCircuitTerminationsBulkDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsBulkDestroyResponse(rsp) +} + +// CircuitsCircuitTerminationsListWithResponse request returning *CircuitsCircuitTerminationsListResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsListWithResponse(ctx context.Context, params *CircuitsCircuitTerminationsListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsListResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsListResponse(rsp) +} + +// CircuitsCircuitTerminationsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTerminationsBulkPartialUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsBulkPartialUpdateResponse(rsp) +} + +// CircuitsCircuitTerminationsCreateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTerminationsCreateResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsCreateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTerminationsCreateWithResponse(ctx context.Context, body CircuitsCircuitTerminationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsCreateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsCreateResponse(rsp) +} + +// CircuitsCircuitTerminationsBulkUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTerminationsBulkUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkUpdateWithResponse(ctx context.Context, body CircuitsCircuitTerminationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsBulkUpdateResponse(rsp) +} + +// CircuitsCircuitTerminationsDestroyWithResponse request returning *CircuitsCircuitTerminationsDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsDestroyResponse(rsp) +} + +// CircuitsCircuitTerminationsRetrieveWithResponse request returning *CircuitsCircuitTerminationsRetrieveResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsRetrieveResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsRetrieveResponse(rsp) +} + +// CircuitsCircuitTerminationsPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTerminationsPartialUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTerminationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsPartialUpdateResponse(rsp) +} + +// CircuitsCircuitTerminationsUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTerminationsUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTerminationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsTraceRetrieveResponse(rsp) +} + +// CircuitsCircuitTypesBulkDestroyWithResponse request returning *CircuitsCircuitTypesBulkDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTypesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesBulkDestroyResponse(rsp) +} + +// CircuitsCircuitTypesListWithResponse request returning *CircuitsCircuitTypesListResponse +func (c *ClientWithResponses) CircuitsCircuitTypesListWithResponse(ctx context.Context, params *CircuitsCircuitTypesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesListResponse, error) { + rsp, err := c.CircuitsCircuitTypesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesListResponse(rsp) +} + +// CircuitsCircuitTypesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTypesBulkPartialUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTypesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTypesBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTypesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesBulkPartialUpdateResponse(rsp) +} + +// CircuitsCircuitTypesCreateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTypesCreateResponse +func (c *ClientWithResponses) CircuitsCircuitTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesCreateResponse, error) { + rsp, err := c.CircuitsCircuitTypesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTypesCreateWithResponse(ctx context.Context, body CircuitsCircuitTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesCreateResponse, error) { + rsp, err := c.CircuitsCircuitTypesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesCreateResponse(rsp) +} + +// CircuitsCircuitTypesBulkUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTypesBulkUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTypesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTypesBulkUpdateWithResponse(ctx context.Context, body CircuitsCircuitTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTypesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesBulkUpdateResponse(rsp) +} + +// CircuitsCircuitTypesDestroyWithResponse request returning *CircuitsCircuitTypesDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitTypesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTypesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesDestroyResponse(rsp) +} + +// CircuitsCircuitTypesRetrieveWithResponse request returning *CircuitsCircuitTypesRetrieveResponse +func (c *ClientWithResponses) CircuitsCircuitTypesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesRetrieveResponse, error) { + rsp, err := c.CircuitsCircuitTypesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesRetrieveResponse(rsp) +} + +// CircuitsCircuitTypesPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTypesPartialUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTypesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTypesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTypesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesPartialUpdateResponse(rsp) +} + +// CircuitsCircuitTypesUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTypesUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitTypesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTypesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesUpdateResponse, error) { + rsp, err := c.CircuitsCircuitTypesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesUpdateResponse(rsp) +} + +// CircuitsCircuitsBulkDestroyWithResponse request returning *CircuitsCircuitsBulkDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsBulkDestroyResponse(rsp) +} + +// CircuitsCircuitsListWithResponse request returning *CircuitsCircuitsListResponse +func (c *ClientWithResponses) CircuitsCircuitsListWithResponse(ctx context.Context, params *CircuitsCircuitsListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitsListResponse, error) { + rsp, err := c.CircuitsCircuitsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsListResponse(rsp) +} + +// CircuitsCircuitsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitsBulkPartialUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitsBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsCircuitsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsBulkPartialUpdateResponse(rsp) +} + +// CircuitsCircuitsCreateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitsCreateResponse +func (c *ClientWithResponses) CircuitsCircuitsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsCreateResponse, error) { + rsp, err := c.CircuitsCircuitsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitsCreateWithResponse(ctx context.Context, body CircuitsCircuitsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsCreateResponse, error) { + rsp, err := c.CircuitsCircuitsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsCreateResponse(rsp) +} + +// CircuitsCircuitsBulkUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitsBulkUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkUpdateResponse, error) { + rsp, err := c.CircuitsCircuitsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitsBulkUpdateWithResponse(ctx context.Context, body CircuitsCircuitsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkUpdateResponse, error) { + rsp, err := c.CircuitsCircuitsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsBulkUpdateResponse(rsp) +} + +// CircuitsCircuitsDestroyWithResponse request returning *CircuitsCircuitsDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitsDestroyResponse, error) { + rsp, err := c.CircuitsCircuitsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsDestroyResponse(rsp) +} + +// CircuitsCircuitsRetrieveWithResponse request returning *CircuitsCircuitsRetrieveResponse +func (c *ClientWithResponses) CircuitsCircuitsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitsRetrieveResponse, error) { + rsp, err := c.CircuitsCircuitsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsRetrieveResponse(rsp) +} + +// CircuitsCircuitsPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitsPartialUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsPartialUpdateResponse, error) { + rsp, err := c.CircuitsCircuitsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsPartialUpdateResponse(rsp) +} + +// CircuitsCircuitsUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitsUpdateResponse +func (c *ClientWithResponses) CircuitsCircuitsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsUpdateResponse, error) { + rsp, err := c.CircuitsCircuitsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsUpdateResponse, error) { + rsp, err := c.CircuitsCircuitsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsUpdateResponse(rsp) +} + +// CircuitsProviderNetworksBulkDestroyWithResponse request returning *CircuitsProviderNetworksBulkDestroyResponse +func (c *ClientWithResponses) CircuitsProviderNetworksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) { + rsp, err := c.CircuitsProviderNetworksBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksBulkDestroyResponse(rsp) +} + +// CircuitsProviderNetworksListWithResponse request returning *CircuitsProviderNetworksListResponse +func (c *ClientWithResponses) CircuitsProviderNetworksListWithResponse(ctx context.Context, params *CircuitsProviderNetworksListParams, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksListResponse, error) { + rsp, err := c.CircuitsProviderNetworksList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksListResponse(rsp) +} + +// CircuitsProviderNetworksBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderNetworksBulkPartialUpdateResponse +func (c *ClientWithResponses) CircuitsProviderNetworksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsProviderNetworksBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderNetworksBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsProviderNetworksBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksBulkPartialUpdateResponse(rsp) +} + +// CircuitsProviderNetworksCreateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderNetworksCreateResponse +func (c *ClientWithResponses) CircuitsProviderNetworksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksCreateResponse, error) { + rsp, err := c.CircuitsProviderNetworksCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderNetworksCreateWithResponse(ctx context.Context, body CircuitsProviderNetworksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksCreateResponse, error) { + rsp, err := c.CircuitsProviderNetworksCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksCreateResponse(rsp) +} + +// CircuitsProviderNetworksBulkUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderNetworksBulkUpdateResponse +func (c *ClientWithResponses) CircuitsProviderNetworksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkUpdateResponse, error) { + rsp, err := c.CircuitsProviderNetworksBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderNetworksBulkUpdateWithResponse(ctx context.Context, body CircuitsProviderNetworksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkUpdateResponse, error) { + rsp, err := c.CircuitsProviderNetworksBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksBulkUpdateResponse(rsp) +} + +// CircuitsProviderNetworksDestroyWithResponse request returning *CircuitsProviderNetworksDestroyResponse +func (c *ClientWithResponses) CircuitsProviderNetworksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksDestroyResponse, error) { + rsp, err := c.CircuitsProviderNetworksDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksDestroyResponse(rsp) +} + +// CircuitsProviderNetworksRetrieveWithResponse request returning *CircuitsProviderNetworksRetrieveResponse +func (c *ClientWithResponses) CircuitsProviderNetworksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksRetrieveResponse, error) { + rsp, err := c.CircuitsProviderNetworksRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksRetrieveResponse(rsp) +} + +// CircuitsProviderNetworksPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderNetworksPartialUpdateResponse +func (c *ClientWithResponses) CircuitsProviderNetworksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksPartialUpdateResponse, error) { + rsp, err := c.CircuitsProviderNetworksPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderNetworksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksPartialUpdateResponse, error) { + rsp, err := c.CircuitsProviderNetworksPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksPartialUpdateResponse(rsp) +} + +// CircuitsProviderNetworksUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderNetworksUpdateResponse +func (c *ClientWithResponses) CircuitsProviderNetworksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksUpdateResponse, error) { + rsp, err := c.CircuitsProviderNetworksUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderNetworksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksUpdateResponse, error) { + rsp, err := c.CircuitsProviderNetworksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksUpdateResponse(rsp) +} + +// CircuitsProvidersBulkDestroyWithResponse request returning *CircuitsProvidersBulkDestroyResponse +func (c *ClientWithResponses) CircuitsProvidersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) { + rsp, err := c.CircuitsProvidersBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersBulkDestroyResponse(rsp) +} + +// CircuitsProvidersListWithResponse request returning *CircuitsProvidersListResponse +func (c *ClientWithResponses) CircuitsProvidersListWithResponse(ctx context.Context, params *CircuitsProvidersListParams, reqEditors ...RequestEditorFn) (*CircuitsProvidersListResponse, error) { + rsp, err := c.CircuitsProvidersList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersListResponse(rsp) +} + +// CircuitsProvidersBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProvidersBulkPartialUpdateResponse +func (c *ClientWithResponses) CircuitsProvidersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsProvidersBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProvidersBulkPartialUpdateWithResponse(ctx context.Context, body CircuitsProvidersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkPartialUpdateResponse, error) { + rsp, err := c.CircuitsProvidersBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersBulkPartialUpdateResponse(rsp) +} + +// CircuitsProvidersCreateWithBodyWithResponse request with arbitrary body returning *CircuitsProvidersCreateResponse +func (c *ClientWithResponses) CircuitsProvidersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersCreateResponse, error) { + rsp, err := c.CircuitsProvidersCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProvidersCreateWithResponse(ctx context.Context, body CircuitsProvidersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersCreateResponse, error) { + rsp, err := c.CircuitsProvidersCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersCreateResponse(rsp) +} + +// CircuitsProvidersBulkUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProvidersBulkUpdateResponse +func (c *ClientWithResponses) CircuitsProvidersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkUpdateResponse, error) { + rsp, err := c.CircuitsProvidersBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProvidersBulkUpdateWithResponse(ctx context.Context, body CircuitsProvidersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkUpdateResponse, error) { + rsp, err := c.CircuitsProvidersBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersBulkUpdateResponse(rsp) +} + +// CircuitsProvidersDestroyWithResponse request returning *CircuitsProvidersDestroyResponse +func (c *ClientWithResponses) CircuitsProvidersDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsProvidersDestroyResponse, error) { + rsp, err := c.CircuitsProvidersDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersDestroyResponse(rsp) +} + +// CircuitsProvidersRetrieveWithResponse request returning *CircuitsProvidersRetrieveResponse +func (c *ClientWithResponses) CircuitsProvidersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsProvidersRetrieveResponse, error) { + rsp, err := c.CircuitsProvidersRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersRetrieveResponse(rsp) +} + +// CircuitsProvidersPartialUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProvidersPartialUpdateResponse +func (c *ClientWithResponses) CircuitsProvidersPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersPartialUpdateResponse, error) { + rsp, err := c.CircuitsProvidersPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProvidersPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersPartialUpdateResponse, error) { + rsp, err := c.CircuitsProvidersPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersPartialUpdateResponse(rsp) +} + +// CircuitsProvidersUpdateWithBodyWithResponse request with arbitrary body returning *CircuitsProvidersUpdateResponse +func (c *ClientWithResponses) CircuitsProvidersUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersUpdateResponse, error) { + rsp, err := c.CircuitsProvidersUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersUpdateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProvidersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersUpdateResponse, error) { + rsp, err := c.CircuitsProvidersUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersUpdateResponse(rsp) +} + +// DcimCablesBulkDestroyWithResponse request returning *DcimCablesBulkDestroyResponse +func (c *ClientWithResponses) DcimCablesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) { + rsp, err := c.DcimCablesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesBulkDestroyResponse(rsp) +} + +// DcimCablesListWithResponse request returning *DcimCablesListResponse +func (c *ClientWithResponses) DcimCablesListWithResponse(ctx context.Context, params *DcimCablesListParams, reqEditors ...RequestEditorFn) (*DcimCablesListResponse, error) { + rsp, err := c.DcimCablesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesListResponse(rsp) +} + +// DcimCablesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimCablesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimCablesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimCablesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCablesBulkPartialUpdateWithResponse(ctx context.Context, body DcimCablesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimCablesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesBulkPartialUpdateResponse(rsp) +} + +// DcimCablesCreateWithBodyWithResponse request with arbitrary body returning *DcimCablesCreateResponse +func (c *ClientWithResponses) DcimCablesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesCreateResponse, error) { + rsp, err := c.DcimCablesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCablesCreateWithResponse(ctx context.Context, body DcimCablesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesCreateResponse, error) { + rsp, err := c.DcimCablesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesCreateResponse(rsp) +} + +// DcimCablesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimCablesBulkUpdateResponse +func (c *ClientWithResponses) DcimCablesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesBulkUpdateResponse, error) { + rsp, err := c.DcimCablesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCablesBulkUpdateWithResponse(ctx context.Context, body DcimCablesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesBulkUpdateResponse, error) { + rsp, err := c.DcimCablesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesBulkUpdateResponse(rsp) +} + +// DcimCablesDestroyWithResponse request returning *DcimCablesDestroyResponse +func (c *ClientWithResponses) DcimCablesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimCablesDestroyResponse, error) { + rsp, err := c.DcimCablesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesDestroyResponse(rsp) +} + +// DcimCablesRetrieveWithResponse request returning *DcimCablesRetrieveResponse +func (c *ClientWithResponses) DcimCablesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimCablesRetrieveResponse, error) { + rsp, err := c.DcimCablesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesRetrieveResponse(rsp) +} + +// DcimCablesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimCablesPartialUpdateResponse +func (c *ClientWithResponses) DcimCablesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesPartialUpdateResponse, error) { + rsp, err := c.DcimCablesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCablesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimCablesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesPartialUpdateResponse, error) { + rsp, err := c.DcimCablesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesPartialUpdateResponse(rsp) +} + +// DcimCablesUpdateWithBodyWithResponse request with arbitrary body returning *DcimCablesUpdateResponse +func (c *ClientWithResponses) DcimCablesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesUpdateResponse, error) { + rsp, err := c.DcimCablesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCablesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimCablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesUpdateResponse, error) { + rsp, err := c.DcimCablesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimConnectedDeviceListResponse(rsp) +} + +// DcimConsoleConnectionsListWithResponse request returning *DcimConsoleConnectionsListResponse +func (c *ClientWithResponses) DcimConsoleConnectionsListWithResponse(ctx context.Context, params *DcimConsoleConnectionsListParams, reqEditors ...RequestEditorFn) (*DcimConsoleConnectionsListResponse, error) { + rsp, err := c.DcimConsoleConnectionsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleConnectionsListResponse(rsp) +} + +// DcimConsolePortTemplatesBulkDestroyWithResponse request returning *DcimConsolePortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortTemplatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesBulkDestroyResponse(rsp) +} + +// DcimConsolePortTemplatesListWithResponse request returning *DcimConsolePortTemplatesListResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesListWithResponse(ctx context.Context, params *DcimConsolePortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesListResponse, error) { + rsp, err := c.DcimConsolePortTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesListResponse(rsp) +} + +// DcimConsolePortTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimConsolePortTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortTemplatesCreateResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesCreateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortTemplatesCreateWithResponse(ctx context.Context, body DcimConsolePortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesCreateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesCreateResponse(rsp) +} + +// DcimConsolePortTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimConsolePortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesBulkUpdateResponse(rsp) +} + +// DcimConsolePortTemplatesDestroyWithResponse request returning *DcimConsolePortTemplatesDestroyResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesDestroyResponse, error) { + rsp, err := c.DcimConsolePortTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesDestroyResponse(rsp) +} + +// DcimConsolePortTemplatesRetrieveWithResponse request returning *DcimConsolePortTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesRetrieveResponse, error) { + rsp, err := c.DcimConsolePortTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesRetrieveResponse(rsp) +} + +// DcimConsolePortTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesPartialUpdateResponse(rsp) +} + +// DcimConsolePortTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortTemplatesUpdateResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesUpdateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesUpdateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesUpdateResponse(rsp) +} + +// DcimConsolePortsBulkDestroyWithResponse request returning *DcimConsolePortsBulkDestroyResponse +func (c *ClientWithResponses) DcimConsolePortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsBulkDestroyResponse(rsp) +} + +// DcimConsolePortsListWithResponse request returning *DcimConsolePortsListResponse +func (c *ClientWithResponses) DcimConsolePortsListWithResponse(ctx context.Context, params *DcimConsolePortsListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortsListResponse, error) { + rsp, err := c.DcimConsolePortsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsListResponse(rsp) +} + +// DcimConsolePortsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimConsolePortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimConsolePortsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimConsolePortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimConsolePortsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsBulkPartialUpdateResponse(rsp) +} + +// DcimConsolePortsCreateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortsCreateResponse +func (c *ClientWithResponses) DcimConsolePortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsCreateResponse, error) { + rsp, err := c.DcimConsolePortsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortsCreateWithResponse(ctx context.Context, body DcimConsolePortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsCreateResponse, error) { + rsp, err := c.DcimConsolePortsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsCreateResponse(rsp) +} + +// DcimConsolePortsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortsBulkUpdateResponse +func (c *ClientWithResponses) DcimConsolePortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkUpdateResponse, error) { + rsp, err := c.DcimConsolePortsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortsBulkUpdateWithResponse(ctx context.Context, body DcimConsolePortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkUpdateResponse, error) { + rsp, err := c.DcimConsolePortsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsBulkUpdateResponse(rsp) +} + +// DcimConsolePortsDestroyWithResponse request returning *DcimConsolePortsDestroyResponse +func (c *ClientWithResponses) DcimConsolePortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortsDestroyResponse, error) { + rsp, err := c.DcimConsolePortsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsDestroyResponse(rsp) +} + +// DcimConsolePortsRetrieveWithResponse request returning *DcimConsolePortsRetrieveResponse +func (c *ClientWithResponses) DcimConsolePortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortsRetrieveResponse, error) { + rsp, err := c.DcimConsolePortsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsRetrieveResponse(rsp) +} + +// DcimConsolePortsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortsPartialUpdateResponse +func (c *ClientWithResponses) DcimConsolePortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsPartialUpdateResponse, error) { + rsp, err := c.DcimConsolePortsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsPartialUpdateResponse, error) { + rsp, err := c.DcimConsolePortsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsPartialUpdateResponse(rsp) +} + +// DcimConsolePortsUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortsUpdateResponse +func (c *ClientWithResponses) DcimConsolePortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsUpdateResponse, error) { + rsp, err := c.DcimConsolePortsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsUpdateResponse, error) { + rsp, err := c.DcimConsolePortsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsTraceRetrieveResponse(rsp) +} + +// DcimConsoleServerPortTemplatesBulkDestroyWithResponse request returning *DcimConsoleServerPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesBulkDestroyResponse(rsp) +} + +// DcimConsoleServerPortTemplatesListWithResponse request returning *DcimConsoleServerPortTemplatesListResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesListWithResponse(ctx context.Context, params *DcimConsoleServerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesListResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesListResponse(rsp) +} + +// DcimConsoleServerPortTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimConsoleServerPortTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortTemplatesCreateResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesCreateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesCreateWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesCreateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesCreateResponse(rsp) +} + +// DcimConsoleServerPortTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesBulkUpdateResponse(rsp) +} + +// DcimConsoleServerPortTemplatesDestroyWithResponse request returning *DcimConsoleServerPortTemplatesDestroyResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesDestroyResponse(rsp) +} + +// DcimConsoleServerPortTemplatesRetrieveWithResponse request returning *DcimConsoleServerPortTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesRetrieveResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesRetrieveResponse(rsp) +} + +// DcimConsoleServerPortTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesPartialUpdateResponse(rsp) +} + +// DcimConsoleServerPortTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortTemplatesUpdateResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesUpdateResponse(rsp) +} + +// DcimConsoleServerPortsBulkDestroyWithResponse request returning *DcimConsoleServerPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimConsoleServerPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsBulkDestroyResponse(rsp) +} + +// DcimConsoleServerPortsListWithResponse request returning *DcimConsoleServerPortsListResponse +func (c *ClientWithResponses) DcimConsoleServerPortsListWithResponse(ctx context.Context, params *DcimConsoleServerPortsListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsListResponse, error) { + rsp, err := c.DcimConsoleServerPortsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsListResponse(rsp) +} + +// DcimConsoleServerPortsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimConsoleServerPortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsBulkPartialUpdateResponse(rsp) +} + +// DcimConsoleServerPortsCreateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortsCreateResponse +func (c *ClientWithResponses) DcimConsoleServerPortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsCreateResponse, error) { + rsp, err := c.DcimConsoleServerPortsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortsCreateWithResponse(ctx context.Context, body DcimConsoleServerPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsCreateResponse, error) { + rsp, err := c.DcimConsoleServerPortsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsCreateResponse(rsp) +} + +// DcimConsoleServerPortsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortsBulkUpdateResponse +func (c *ClientWithResponses) DcimConsoleServerPortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortsBulkUpdateWithResponse(ctx context.Context, body DcimConsoleServerPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsBulkUpdateResponse(rsp) +} + +// DcimConsoleServerPortsDestroyWithResponse request returning *DcimConsoleServerPortsDestroyResponse +func (c *ClientWithResponses) DcimConsoleServerPortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsDestroyResponse(rsp) +} + +// DcimConsoleServerPortsRetrieveWithResponse request returning *DcimConsoleServerPortsRetrieveResponse +func (c *ClientWithResponses) DcimConsoleServerPortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsRetrieveResponse, error) { + rsp, err := c.DcimConsoleServerPortsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsRetrieveResponse(rsp) +} + +// DcimConsoleServerPortsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortsPartialUpdateResponse +func (c *ClientWithResponses) DcimConsoleServerPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsPartialUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsPartialUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsPartialUpdateResponse(rsp) +} + +// DcimConsoleServerPortsUpdateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortsUpdateResponse +func (c *ClientWithResponses) DcimConsoleServerPortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsUpdateResponse, error) { + rsp, err := c.DcimConsoleServerPortsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsTraceRetrieveResponse(rsp) +} + +// DcimDeviceBayTemplatesBulkDestroyWithResponse request returning *DcimDeviceBayTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesBulkDestroyResponse(rsp) +} + +// DcimDeviceBayTemplatesListWithResponse request returning *DcimDeviceBayTemplatesListResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesListWithResponse(ctx context.Context, params *DcimDeviceBayTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesListResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesListResponse(rsp) +} + +// DcimDeviceBayTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBayTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimDeviceBayTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBayTemplatesCreateResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesCreateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBayTemplatesCreateWithResponse(ctx context.Context, body DcimDeviceBayTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesCreateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesCreateResponse(rsp) +} + +// DcimDeviceBayTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBayTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimDeviceBayTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesBulkUpdateResponse(rsp) +} + +// DcimDeviceBayTemplatesDestroyWithResponse request returning *DcimDeviceBayTemplatesDestroyResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesDestroyResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesDestroyResponse(rsp) +} + +// DcimDeviceBayTemplatesRetrieveWithResponse request returning *DcimDeviceBayTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesRetrieveResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesRetrieveResponse(rsp) +} + +// DcimDeviceBayTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBayTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBayTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesPartialUpdateResponse(rsp) +} + +// DcimDeviceBayTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBayTemplatesUpdateResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesUpdateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBayTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesUpdateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesUpdateResponse(rsp) +} + +// DcimDeviceBaysBulkDestroyWithResponse request returning *DcimDeviceBaysBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceBaysBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBaysBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysBulkDestroyResponse(rsp) +} + +// DcimDeviceBaysListWithResponse request returning *DcimDeviceBaysListResponse +func (c *ClientWithResponses) DcimDeviceBaysListWithResponse(ctx context.Context, params *DcimDeviceBaysListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBaysListResponse, error) { + rsp, err := c.DcimDeviceBaysList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysListResponse(rsp) +} + +// DcimDeviceBaysBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBaysBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceBaysBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceBaysBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBaysBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceBaysBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceBaysBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysBulkPartialUpdateResponse(rsp) +} + +// DcimDeviceBaysCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBaysCreateResponse +func (c *ClientWithResponses) DcimDeviceBaysCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysCreateResponse, error) { + rsp, err := c.DcimDeviceBaysCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBaysCreateWithResponse(ctx context.Context, body DcimDeviceBaysCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysCreateResponse, error) { + rsp, err := c.DcimDeviceBaysCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysCreateResponse(rsp) +} + +// DcimDeviceBaysBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBaysBulkUpdateResponse +func (c *ClientWithResponses) DcimDeviceBaysBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceBaysBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBaysBulkUpdateWithResponse(ctx context.Context, body DcimDeviceBaysBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceBaysBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysBulkUpdateResponse(rsp) +} + +// DcimDeviceBaysDestroyWithResponse request returning *DcimDeviceBaysDestroyResponse +func (c *ClientWithResponses) DcimDeviceBaysDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceBaysDestroyResponse, error) { + rsp, err := c.DcimDeviceBaysDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysDestroyResponse(rsp) +} + +// DcimDeviceBaysRetrieveWithResponse request returning *DcimDeviceBaysRetrieveResponse +func (c *ClientWithResponses) DcimDeviceBaysRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceBaysRetrieveResponse, error) { + rsp, err := c.DcimDeviceBaysRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysRetrieveResponse(rsp) +} + +// DcimDeviceBaysPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBaysPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceBaysPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceBaysPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBaysPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceBaysPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysPartialUpdateResponse(rsp) +} + +// DcimDeviceBaysUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBaysUpdateResponse +func (c *ClientWithResponses) DcimDeviceBaysUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysUpdateResponse, error) { + rsp, err := c.DcimDeviceBaysUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBaysUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysUpdateResponse, error) { + rsp, err := c.DcimDeviceBaysUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysUpdateResponse(rsp) +} + +// DcimDeviceRolesBulkDestroyWithResponse request returning *DcimDeviceRolesBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceRolesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesBulkDestroyResponse(rsp) +} + +// DcimDeviceRolesListWithResponse request returning *DcimDeviceRolesListResponse +func (c *ClientWithResponses) DcimDeviceRolesListWithResponse(ctx context.Context, params *DcimDeviceRolesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRolesListResponse, error) { + rsp, err := c.DcimDeviceRolesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesListResponse(rsp) +} + +// DcimDeviceRolesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRolesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceRolesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRolesBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceRolesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesBulkPartialUpdateResponse(rsp) +} + +// DcimDeviceRolesCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRolesCreateResponse +func (c *ClientWithResponses) DcimDeviceRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesCreateResponse, error) { + rsp, err := c.DcimDeviceRolesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRolesCreateWithResponse(ctx context.Context, body DcimDeviceRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesCreateResponse, error) { + rsp, err := c.DcimDeviceRolesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesCreateResponse(rsp) +} + +// DcimDeviceRolesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRolesBulkUpdateResponse +func (c *ClientWithResponses) DcimDeviceRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceRolesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRolesBulkUpdateWithResponse(ctx context.Context, body DcimDeviceRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceRolesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesBulkUpdateResponse(rsp) +} + +// DcimDeviceRolesDestroyWithResponse request returning *DcimDeviceRolesDestroyResponse +func (c *ClientWithResponses) DcimDeviceRolesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceRolesDestroyResponse, error) { + rsp, err := c.DcimDeviceRolesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesDestroyResponse(rsp) +} + +// DcimDeviceRolesRetrieveWithResponse request returning *DcimDeviceRolesRetrieveResponse +func (c *ClientWithResponses) DcimDeviceRolesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceRolesRetrieveResponse, error) { + rsp, err := c.DcimDeviceRolesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesRetrieveResponse(rsp) +} + +// DcimDeviceRolesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRolesPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceRolesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRolesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceRolesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesPartialUpdateResponse(rsp) +} + +// DcimDeviceRolesUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRolesUpdateResponse +func (c *ClientWithResponses) DcimDeviceRolesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesUpdateResponse, error) { + rsp, err := c.DcimDeviceRolesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesUpdateResponse, error) { + rsp, err := c.DcimDeviceRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesUpdateResponse(rsp) +} + +// DcimDeviceTypesBulkDestroyWithResponse request returning *DcimDeviceTypesBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceTypesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesBulkDestroyResponse(rsp) +} + +// DcimDeviceTypesListWithResponse request returning *DcimDeviceTypesListResponse +func (c *ClientWithResponses) DcimDeviceTypesListWithResponse(ctx context.Context, params *DcimDeviceTypesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceTypesListResponse, error) { + rsp, err := c.DcimDeviceTypesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesListResponse(rsp) +} + +// DcimDeviceTypesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceTypesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceTypesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceTypesBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceTypesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesBulkPartialUpdateResponse(rsp) +} + +// DcimDeviceTypesCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceTypesCreateResponse +func (c *ClientWithResponses) DcimDeviceTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesCreateResponse, error) { + rsp, err := c.DcimDeviceTypesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceTypesCreateWithResponse(ctx context.Context, body DcimDeviceTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesCreateResponse, error) { + rsp, err := c.DcimDeviceTypesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesCreateResponse(rsp) +} + +// DcimDeviceTypesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceTypesBulkUpdateResponse +func (c *ClientWithResponses) DcimDeviceTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceTypesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceTypesBulkUpdateWithResponse(ctx context.Context, body DcimDeviceTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceTypesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesBulkUpdateResponse(rsp) +} + +// DcimDeviceTypesDestroyWithResponse request returning *DcimDeviceTypesDestroyResponse +func (c *ClientWithResponses) DcimDeviceTypesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceTypesDestroyResponse, error) { + rsp, err := c.DcimDeviceTypesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesDestroyResponse(rsp) +} + +// DcimDeviceTypesRetrieveWithResponse request returning *DcimDeviceTypesRetrieveResponse +func (c *ClientWithResponses) DcimDeviceTypesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceTypesRetrieveResponse, error) { + rsp, err := c.DcimDeviceTypesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesRetrieveResponse(rsp) +} + +// DcimDeviceTypesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceTypesPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceTypesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceTypesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceTypesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesPartialUpdateResponse(rsp) +} + +// DcimDeviceTypesUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceTypesUpdateResponse +func (c *ClientWithResponses) DcimDeviceTypesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesUpdateResponse, error) { + rsp, err := c.DcimDeviceTypesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesUpdateResponse, error) { + rsp, err := c.DcimDeviceTypesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesUpdateResponse(rsp) +} + +// DcimDevicesBulkDestroyWithResponse request returning *DcimDevicesBulkDestroyResponse +func (c *ClientWithResponses) DcimDevicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) { + rsp, err := c.DcimDevicesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesBulkDestroyResponse(rsp) +} + +// DcimDevicesListWithResponse request returning *DcimDevicesListResponse +func (c *ClientWithResponses) DcimDevicesListWithResponse(ctx context.Context, params *DcimDevicesListParams, reqEditors ...RequestEditorFn) (*DcimDevicesListResponse, error) { + rsp, err := c.DcimDevicesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesListResponse(rsp) +} + +// DcimDevicesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDevicesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimDevicesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDevicesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDevicesBulkPartialUpdateWithResponse(ctx context.Context, body DcimDevicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDevicesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesBulkPartialUpdateResponse(rsp) +} + +// DcimDevicesCreateWithBodyWithResponse request with arbitrary body returning *DcimDevicesCreateResponse +func (c *ClientWithResponses) DcimDevicesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesCreateResponse, error) { + rsp, err := c.DcimDevicesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDevicesCreateWithResponse(ctx context.Context, body DcimDevicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesCreateResponse, error) { + rsp, err := c.DcimDevicesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesCreateResponse(rsp) +} + +// DcimDevicesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimDevicesBulkUpdateResponse +func (c *ClientWithResponses) DcimDevicesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesBulkUpdateResponse, error) { + rsp, err := c.DcimDevicesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDevicesBulkUpdateWithResponse(ctx context.Context, body DcimDevicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesBulkUpdateResponse, error) { + rsp, err := c.DcimDevicesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesBulkUpdateResponse(rsp) +} + +// DcimDevicesDestroyWithResponse request returning *DcimDevicesDestroyResponse +func (c *ClientWithResponses) DcimDevicesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDevicesDestroyResponse, error) { + rsp, err := c.DcimDevicesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesDestroyResponse(rsp) +} + +// DcimDevicesRetrieveWithResponse request returning *DcimDevicesRetrieveResponse +func (c *ClientWithResponses) DcimDevicesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDevicesRetrieveResponse, error) { + rsp, err := c.DcimDevicesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesRetrieveResponse(rsp) +} + +// DcimDevicesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDevicesPartialUpdateResponse +func (c *ClientWithResponses) DcimDevicesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesPartialUpdateResponse, error) { + rsp, err := c.DcimDevicesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDevicesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDevicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesPartialUpdateResponse, error) { + rsp, err := c.DcimDevicesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesPartialUpdateResponse(rsp) +} + +// DcimDevicesUpdateWithBodyWithResponse request with arbitrary body returning *DcimDevicesUpdateResponse +func (c *ClientWithResponses) DcimDevicesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesUpdateResponse, error) { + rsp, err := c.DcimDevicesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDevicesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDevicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesUpdateResponse, error) { + rsp, err := c.DcimDevicesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesUpdateResponse(rsp) +} + +// DcimDevicesNapalmRetrieveWithResponse request returning *DcimDevicesNapalmRetrieveResponse +func (c *ClientWithResponses) DcimDevicesNapalmRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDevicesNapalmRetrieveParams, reqEditors ...RequestEditorFn) (*DcimDevicesNapalmRetrieveResponse, error) { + rsp, err := c.DcimDevicesNapalmRetrieve(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesNapalmRetrieveResponse(rsp) +} + +// DcimFrontPortTemplatesBulkDestroyWithResponse request returning *DcimFrontPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortTemplatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesBulkDestroyResponse(rsp) +} + +// DcimFrontPortTemplatesListWithResponse request returning *DcimFrontPortTemplatesListResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesListWithResponse(ctx context.Context, params *DcimFrontPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesListResponse, error) { + rsp, err := c.DcimFrontPortTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesListResponse(rsp) +} + +// DcimFrontPortTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimFrontPortTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortTemplatesCreateResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesCreateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortTemplatesCreateWithResponse(ctx context.Context, body DcimFrontPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesCreateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesCreateResponse(rsp) +} + +// DcimFrontPortTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimFrontPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesBulkUpdateResponse(rsp) +} + +// DcimFrontPortTemplatesDestroyWithResponse request returning *DcimFrontPortTemplatesDestroyResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesDestroyResponse, error) { + rsp, err := c.DcimFrontPortTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesDestroyResponse(rsp) +} + +// DcimFrontPortTemplatesRetrieveWithResponse request returning *DcimFrontPortTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesRetrieveResponse, error) { + rsp, err := c.DcimFrontPortTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesRetrieveResponse(rsp) +} + +// DcimFrontPortTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesPartialUpdateResponse(rsp) +} + +// DcimFrontPortTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortTemplatesUpdateResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesUpdateResponse(rsp) +} + +// DcimFrontPortsBulkDestroyWithResponse request returning *DcimFrontPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimFrontPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsBulkDestroyResponse(rsp) +} + +// DcimFrontPortsListWithResponse request returning *DcimFrontPortsListResponse +func (c *ClientWithResponses) DcimFrontPortsListWithResponse(ctx context.Context, params *DcimFrontPortsListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortsListResponse, error) { + rsp, err := c.DcimFrontPortsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsListResponse(rsp) +} + +// DcimFrontPortsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimFrontPortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimFrontPortsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimFrontPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimFrontPortsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsBulkPartialUpdateResponse(rsp) +} + +// DcimFrontPortsCreateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortsCreateResponse +func (c *ClientWithResponses) DcimFrontPortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsCreateResponse, error) { + rsp, err := c.DcimFrontPortsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortsCreateWithResponse(ctx context.Context, body DcimFrontPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsCreateResponse, error) { + rsp, err := c.DcimFrontPortsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsCreateResponse(rsp) +} + +// DcimFrontPortsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortsBulkUpdateResponse +func (c *ClientWithResponses) DcimFrontPortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkUpdateResponse, error) { + rsp, err := c.DcimFrontPortsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortsBulkUpdateWithResponse(ctx context.Context, body DcimFrontPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkUpdateResponse, error) { + rsp, err := c.DcimFrontPortsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsBulkUpdateResponse(rsp) +} + +// DcimFrontPortsDestroyWithResponse request returning *DcimFrontPortsDestroyResponse +func (c *ClientWithResponses) DcimFrontPortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortsDestroyResponse, error) { + rsp, err := c.DcimFrontPortsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsDestroyResponse(rsp) +} + +// DcimFrontPortsRetrieveWithResponse request returning *DcimFrontPortsRetrieveResponse +func (c *ClientWithResponses) DcimFrontPortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortsRetrieveResponse, error) { + rsp, err := c.DcimFrontPortsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsRetrieveResponse(rsp) +} + +// DcimFrontPortsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortsPartialUpdateResponse +func (c *ClientWithResponses) DcimFrontPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsPartialUpdateResponse, error) { + rsp, err := c.DcimFrontPortsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsPartialUpdateResponse, error) { + rsp, err := c.DcimFrontPortsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsPartialUpdateResponse(rsp) +} + +// DcimFrontPortsUpdateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortsUpdateResponse +func (c *ClientWithResponses) DcimFrontPortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsUpdateResponse, error) { + rsp, err := c.DcimFrontPortsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsUpdateResponse, error) { + rsp, err := c.DcimFrontPortsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsPathsRetrieveResponse(rsp) +} + +// DcimInterfaceConnectionsListWithResponse request returning *DcimInterfaceConnectionsListResponse +func (c *ClientWithResponses) DcimInterfaceConnectionsListWithResponse(ctx context.Context, params *DcimInterfaceConnectionsListParams, reqEditors ...RequestEditorFn) (*DcimInterfaceConnectionsListResponse, error) { + rsp, err := c.DcimInterfaceConnectionsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceConnectionsListResponse(rsp) +} + +// DcimInterfaceTemplatesBulkDestroyWithResponse request returning *DcimInterfaceTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfaceTemplatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesBulkDestroyResponse(rsp) +} + +// DcimInterfaceTemplatesListWithResponse request returning *DcimInterfaceTemplatesListResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesListWithResponse(ctx context.Context, params *DcimInterfaceTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesListResponse, error) { + rsp, err := c.DcimInterfaceTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesListResponse(rsp) +} + +// DcimInterfaceTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInterfaceTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfaceTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimInterfaceTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimInterfaceTemplatesCreateResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesCreateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfaceTemplatesCreateWithResponse(ctx context.Context, body DcimInterfaceTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesCreateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesCreateResponse(rsp) +} + +// DcimInterfaceTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimInterfaceTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfaceTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimInterfaceTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesBulkUpdateResponse(rsp) +} + +// DcimInterfaceTemplatesDestroyWithResponse request returning *DcimInterfaceTemplatesDestroyResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesDestroyResponse, error) { + rsp, err := c.DcimInterfaceTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesDestroyResponse(rsp) +} + +// DcimInterfaceTemplatesRetrieveWithResponse request returning *DcimInterfaceTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesRetrieveResponse, error) { + rsp, err := c.DcimInterfaceTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesRetrieveResponse(rsp) +} + +// DcimInterfaceTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInterfaceTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfaceTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesPartialUpdateResponse(rsp) +} + +// DcimInterfaceTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimInterfaceTemplatesUpdateResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesUpdateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfaceTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesUpdateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesUpdateResponse(rsp) +} + +// DcimInterfacesBulkDestroyWithResponse request returning *DcimInterfacesBulkDestroyResponse +func (c *ClientWithResponses) DcimInterfacesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfacesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesBulkDestroyResponse(rsp) +} + +// DcimInterfacesListWithResponse request returning *DcimInterfacesListResponse +func (c *ClientWithResponses) DcimInterfacesListWithResponse(ctx context.Context, params *DcimInterfacesListParams, reqEditors ...RequestEditorFn) (*DcimInterfacesListResponse, error) { + rsp, err := c.DcimInterfacesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesListResponse(rsp) +} + +// DcimInterfacesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInterfacesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimInterfacesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInterfacesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfacesBulkPartialUpdateWithResponse(ctx context.Context, body DcimInterfacesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInterfacesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesBulkPartialUpdateResponse(rsp) +} + +// DcimInterfacesCreateWithBodyWithResponse request with arbitrary body returning *DcimInterfacesCreateResponse +func (c *ClientWithResponses) DcimInterfacesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesCreateResponse, error) { + rsp, err := c.DcimInterfacesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfacesCreateWithResponse(ctx context.Context, body DcimInterfacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesCreateResponse, error) { + rsp, err := c.DcimInterfacesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesCreateResponse(rsp) +} + +// DcimInterfacesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimInterfacesBulkUpdateResponse +func (c *ClientWithResponses) DcimInterfacesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkUpdateResponse, error) { + rsp, err := c.DcimInterfacesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfacesBulkUpdateWithResponse(ctx context.Context, body DcimInterfacesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkUpdateResponse, error) { + rsp, err := c.DcimInterfacesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesBulkUpdateResponse(rsp) +} + +// DcimInterfacesDestroyWithResponse request returning *DcimInterfacesDestroyResponse +func (c *ClientWithResponses) DcimInterfacesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfacesDestroyResponse, error) { + rsp, err := c.DcimInterfacesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesDestroyResponse(rsp) +} + +// DcimInterfacesRetrieveWithResponse request returning *DcimInterfacesRetrieveResponse +func (c *ClientWithResponses) DcimInterfacesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfacesRetrieveResponse, error) { + rsp, err := c.DcimInterfacesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesRetrieveResponse(rsp) +} + +// DcimInterfacesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInterfacesPartialUpdateResponse +func (c *ClientWithResponses) DcimInterfacesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesPartialUpdateResponse, error) { + rsp, err := c.DcimInterfacesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfacesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesPartialUpdateResponse, error) { + rsp, err := c.DcimInterfacesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesPartialUpdateResponse(rsp) +} + +// DcimInterfacesUpdateWithBodyWithResponse request with arbitrary body returning *DcimInterfacesUpdateResponse +func (c *ClientWithResponses) DcimInterfacesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesUpdateResponse, error) { + rsp, err := c.DcimInterfacesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfacesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesUpdateResponse, error) { + rsp, err := c.DcimInterfacesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesTraceRetrieveResponse(rsp) +} + +// DcimInventoryItemsBulkDestroyWithResponse request returning *DcimInventoryItemsBulkDestroyResponse +func (c *ClientWithResponses) DcimInventoryItemsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) { + rsp, err := c.DcimInventoryItemsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsBulkDestroyResponse(rsp) +} + +// DcimInventoryItemsListWithResponse request returning *DcimInventoryItemsListResponse +func (c *ClientWithResponses) DcimInventoryItemsListWithResponse(ctx context.Context, params *DcimInventoryItemsListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemsListResponse, error) { + rsp, err := c.DcimInventoryItemsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsListResponse(rsp) +} + +// DcimInventoryItemsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemsBulkPartialUpdateWithResponse(ctx context.Context, body DcimInventoryItemsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsBulkPartialUpdateResponse(rsp) +} + +// DcimInventoryItemsCreateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemsCreateResponse +func (c *ClientWithResponses) DcimInventoryItemsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsCreateResponse, error) { + rsp, err := c.DcimInventoryItemsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemsCreateWithResponse(ctx context.Context, body DcimInventoryItemsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsCreateResponse, error) { + rsp, err := c.DcimInventoryItemsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsCreateResponse(rsp) +} + +// DcimInventoryItemsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemsBulkUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkUpdateResponse, error) { + rsp, err := c.DcimInventoryItemsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemsBulkUpdateWithResponse(ctx context.Context, body DcimInventoryItemsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkUpdateResponse, error) { + rsp, err := c.DcimInventoryItemsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsBulkUpdateResponse(rsp) +} + +// DcimInventoryItemsDestroyWithResponse request returning *DcimInventoryItemsDestroyResponse +func (c *ClientWithResponses) DcimInventoryItemsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInventoryItemsDestroyResponse, error) { + rsp, err := c.DcimInventoryItemsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsDestroyResponse(rsp) +} + +// DcimInventoryItemsRetrieveWithResponse request returning *DcimInventoryItemsRetrieveResponse +func (c *ClientWithResponses) DcimInventoryItemsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInventoryItemsRetrieveResponse, error) { + rsp, err := c.DcimInventoryItemsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsRetrieveResponse(rsp) +} + +// DcimInventoryItemsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemsPartialUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsPartialUpdateResponse, error) { + rsp, err := c.DcimInventoryItemsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsPartialUpdateResponse(rsp) +} + +// DcimInventoryItemsUpdateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemsUpdateResponse +func (c *ClientWithResponses) DcimInventoryItemsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsUpdateResponse, error) { + rsp, err := c.DcimInventoryItemsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsUpdateResponse, error) { + rsp, err := c.DcimInventoryItemsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsUpdateResponse(rsp) +} + +// DcimManufacturersBulkDestroyWithResponse request returning *DcimManufacturersBulkDestroyResponse +func (c *ClientWithResponses) DcimManufacturersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) { + rsp, err := c.DcimManufacturersBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersBulkDestroyResponse(rsp) +} + +// DcimManufacturersListWithResponse request returning *DcimManufacturersListResponse +func (c *ClientWithResponses) DcimManufacturersListWithResponse(ctx context.Context, params *DcimManufacturersListParams, reqEditors ...RequestEditorFn) (*DcimManufacturersListResponse, error) { + rsp, err := c.DcimManufacturersList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersListResponse(rsp) +} + +// DcimManufacturersBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimManufacturersBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimManufacturersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkPartialUpdateResponse, error) { + rsp, err := c.DcimManufacturersBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimManufacturersBulkPartialUpdateWithResponse(ctx context.Context, body DcimManufacturersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkPartialUpdateResponse, error) { + rsp, err := c.DcimManufacturersBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersBulkPartialUpdateResponse(rsp) +} + +// DcimManufacturersCreateWithBodyWithResponse request with arbitrary body returning *DcimManufacturersCreateResponse +func (c *ClientWithResponses) DcimManufacturersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersCreateResponse, error) { + rsp, err := c.DcimManufacturersCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimManufacturersCreateWithResponse(ctx context.Context, body DcimManufacturersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersCreateResponse, error) { + rsp, err := c.DcimManufacturersCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersCreateResponse(rsp) +} + +// DcimManufacturersBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimManufacturersBulkUpdateResponse +func (c *ClientWithResponses) DcimManufacturersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkUpdateResponse, error) { + rsp, err := c.DcimManufacturersBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimManufacturersBulkUpdateWithResponse(ctx context.Context, body DcimManufacturersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkUpdateResponse, error) { + rsp, err := c.DcimManufacturersBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersBulkUpdateResponse(rsp) +} + +// DcimManufacturersDestroyWithResponse request returning *DcimManufacturersDestroyResponse +func (c *ClientWithResponses) DcimManufacturersDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimManufacturersDestroyResponse, error) { + rsp, err := c.DcimManufacturersDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersDestroyResponse(rsp) +} + +// DcimManufacturersRetrieveWithResponse request returning *DcimManufacturersRetrieveResponse +func (c *ClientWithResponses) DcimManufacturersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimManufacturersRetrieveResponse, error) { + rsp, err := c.DcimManufacturersRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersRetrieveResponse(rsp) +} + +// DcimManufacturersPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimManufacturersPartialUpdateResponse +func (c *ClientWithResponses) DcimManufacturersPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersPartialUpdateResponse, error) { + rsp, err := c.DcimManufacturersPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimManufacturersPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimManufacturersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersPartialUpdateResponse, error) { + rsp, err := c.DcimManufacturersPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersPartialUpdateResponse(rsp) +} + +// DcimManufacturersUpdateWithBodyWithResponse request with arbitrary body returning *DcimManufacturersUpdateResponse +func (c *ClientWithResponses) DcimManufacturersUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersUpdateResponse, error) { + rsp, err := c.DcimManufacturersUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimManufacturersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimManufacturersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersUpdateResponse, error) { + rsp, err := c.DcimManufacturersUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersUpdateResponse(rsp) +} + +// DcimPlatformsBulkDestroyWithResponse request returning *DcimPlatformsBulkDestroyResponse +func (c *ClientWithResponses) DcimPlatformsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) { + rsp, err := c.DcimPlatformsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsBulkDestroyResponse(rsp) +} + +// DcimPlatformsListWithResponse request returning *DcimPlatformsListResponse +func (c *ClientWithResponses) DcimPlatformsListWithResponse(ctx context.Context, params *DcimPlatformsListParams, reqEditors ...RequestEditorFn) (*DcimPlatformsListResponse, error) { + rsp, err := c.DcimPlatformsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsListResponse(rsp) +} + +// DcimPlatformsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPlatformsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimPlatformsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPlatformsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPlatformsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPlatformsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPlatformsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsBulkPartialUpdateResponse(rsp) +} + +// DcimPlatformsCreateWithBodyWithResponse request with arbitrary body returning *DcimPlatformsCreateResponse +func (c *ClientWithResponses) DcimPlatformsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsCreateResponse, error) { + rsp, err := c.DcimPlatformsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPlatformsCreateWithResponse(ctx context.Context, body DcimPlatformsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsCreateResponse, error) { + rsp, err := c.DcimPlatformsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsCreateResponse(rsp) +} + +// DcimPlatformsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimPlatformsBulkUpdateResponse +func (c *ClientWithResponses) DcimPlatformsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkUpdateResponse, error) { + rsp, err := c.DcimPlatformsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPlatformsBulkUpdateWithResponse(ctx context.Context, body DcimPlatformsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkUpdateResponse, error) { + rsp, err := c.DcimPlatformsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsBulkUpdateResponse(rsp) +} + +// DcimPlatformsDestroyWithResponse request returning *DcimPlatformsDestroyResponse +func (c *ClientWithResponses) DcimPlatformsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPlatformsDestroyResponse, error) { + rsp, err := c.DcimPlatformsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsDestroyResponse(rsp) +} + +// DcimPlatformsRetrieveWithResponse request returning *DcimPlatformsRetrieveResponse +func (c *ClientWithResponses) DcimPlatformsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPlatformsRetrieveResponse, error) { + rsp, err := c.DcimPlatformsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsRetrieveResponse(rsp) +} + +// DcimPlatformsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPlatformsPartialUpdateResponse +func (c *ClientWithResponses) DcimPlatformsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsPartialUpdateResponse, error) { + rsp, err := c.DcimPlatformsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPlatformsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPlatformsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsPartialUpdateResponse, error) { + rsp, err := c.DcimPlatformsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsPartialUpdateResponse(rsp) +} + +// DcimPlatformsUpdateWithBodyWithResponse request with arbitrary body returning *DcimPlatformsUpdateResponse +func (c *ClientWithResponses) DcimPlatformsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsUpdateResponse, error) { + rsp, err := c.DcimPlatformsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPlatformsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPlatformsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsUpdateResponse, error) { + rsp, err := c.DcimPlatformsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimPowerConnectionsListResponse(rsp) +} + +// DcimPowerFeedsBulkDestroyWithResponse request returning *DcimPowerFeedsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerFeedsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerFeedsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsBulkDestroyResponse(rsp) +} + +// DcimPowerFeedsListWithResponse request returning *DcimPowerFeedsListResponse +func (c *ClientWithResponses) DcimPowerFeedsListWithResponse(ctx context.Context, params *DcimPowerFeedsListParams, reqEditors ...RequestEditorFn) (*DcimPowerFeedsListResponse, error) { + rsp, err := c.DcimPowerFeedsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsListResponse(rsp) +} + +// DcimPowerFeedsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerFeedsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerFeedsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerFeedsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerFeedsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerFeedsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerFeedsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsBulkPartialUpdateResponse(rsp) +} + +// DcimPowerFeedsCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerFeedsCreateResponse +func (c *ClientWithResponses) DcimPowerFeedsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsCreateResponse, error) { + rsp, err := c.DcimPowerFeedsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerFeedsCreateWithResponse(ctx context.Context, body DcimPowerFeedsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsCreateResponse, error) { + rsp, err := c.DcimPowerFeedsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsCreateResponse(rsp) +} + +// DcimPowerFeedsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerFeedsBulkUpdateResponse +func (c *ClientWithResponses) DcimPowerFeedsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkUpdateResponse, error) { + rsp, err := c.DcimPowerFeedsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerFeedsBulkUpdateWithResponse(ctx context.Context, body DcimPowerFeedsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkUpdateResponse, error) { + rsp, err := c.DcimPowerFeedsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsBulkUpdateResponse(rsp) +} + +// DcimPowerFeedsDestroyWithResponse request returning *DcimPowerFeedsDestroyResponse +func (c *ClientWithResponses) DcimPowerFeedsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerFeedsDestroyResponse, error) { + rsp, err := c.DcimPowerFeedsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsDestroyResponse(rsp) +} + +// DcimPowerFeedsRetrieveWithResponse request returning *DcimPowerFeedsRetrieveResponse +func (c *ClientWithResponses) DcimPowerFeedsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerFeedsRetrieveResponse, error) { + rsp, err := c.DcimPowerFeedsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsRetrieveResponse(rsp) +} + +// DcimPowerFeedsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerFeedsPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerFeedsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsPartialUpdateResponse, error) { + rsp, err := c.DcimPowerFeedsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerFeedsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsPartialUpdateResponse, error) { + rsp, err := c.DcimPowerFeedsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsPartialUpdateResponse(rsp) +} + +// DcimPowerFeedsUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerFeedsUpdateResponse +func (c *ClientWithResponses) DcimPowerFeedsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsUpdateResponse, error) { + rsp, err := c.DcimPowerFeedsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerFeedsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsUpdateResponse, error) { + rsp, err := c.DcimPowerFeedsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsTraceRetrieveResponse(rsp) +} + +// DcimPowerOutletTemplatesBulkDestroyWithResponse request returning *DcimPowerOutletTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesBulkDestroyResponse(rsp) +} + +// DcimPowerOutletTemplatesListWithResponse request returning *DcimPowerOutletTemplatesListResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesListWithResponse(ctx context.Context, params *DcimPowerOutletTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesListResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesListResponse(rsp) +} + +// DcimPowerOutletTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimPowerOutletTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletTemplatesCreateResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesCreateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletTemplatesCreateWithResponse(ctx context.Context, body DcimPowerOutletTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesCreateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesCreateResponse(rsp) +} + +// DcimPowerOutletTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimPowerOutletTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesBulkUpdateResponse(rsp) +} + +// DcimPowerOutletTemplatesDestroyWithResponse request returning *DcimPowerOutletTemplatesDestroyResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesDestroyResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesDestroyResponse(rsp) +} + +// DcimPowerOutletTemplatesRetrieveWithResponse request returning *DcimPowerOutletTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesRetrieveResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesRetrieveResponse(rsp) +} + +// DcimPowerOutletTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesPartialUpdateResponse(rsp) +} + +// DcimPowerOutletTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletTemplatesUpdateResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesUpdateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesUpdateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesUpdateResponse(rsp) +} + +// DcimPowerOutletsBulkDestroyWithResponse request returning *DcimPowerOutletsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerOutletsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsBulkDestroyResponse(rsp) +} + +// DcimPowerOutletsListWithResponse request returning *DcimPowerOutletsListResponse +func (c *ClientWithResponses) DcimPowerOutletsListWithResponse(ctx context.Context, params *DcimPowerOutletsListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletsListResponse, error) { + rsp, err := c.DcimPowerOutletsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsListResponse(rsp) +} + +// DcimPowerOutletsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerOutletsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerOutletsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerOutletsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerOutletsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsBulkPartialUpdateResponse(rsp) +} + +// DcimPowerOutletsCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletsCreateResponse +func (c *ClientWithResponses) DcimPowerOutletsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsCreateResponse, error) { + rsp, err := c.DcimPowerOutletsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletsCreateWithResponse(ctx context.Context, body DcimPowerOutletsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsCreateResponse, error) { + rsp, err := c.DcimPowerOutletsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsCreateResponse(rsp) +} + +// DcimPowerOutletsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletsBulkUpdateResponse +func (c *ClientWithResponses) DcimPowerOutletsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkUpdateResponse, error) { + rsp, err := c.DcimPowerOutletsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletsBulkUpdateWithResponse(ctx context.Context, body DcimPowerOutletsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkUpdateResponse, error) { + rsp, err := c.DcimPowerOutletsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsBulkUpdateResponse(rsp) +} + +// DcimPowerOutletsDestroyWithResponse request returning *DcimPowerOutletsDestroyResponse +func (c *ClientWithResponses) DcimPowerOutletsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletsDestroyResponse, error) { + rsp, err := c.DcimPowerOutletsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsDestroyResponse(rsp) +} + +// DcimPowerOutletsRetrieveWithResponse request returning *DcimPowerOutletsRetrieveResponse +func (c *ClientWithResponses) DcimPowerOutletsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletsRetrieveResponse, error) { + rsp, err := c.DcimPowerOutletsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsRetrieveResponse(rsp) +} + +// DcimPowerOutletsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletsPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerOutletsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsPartialUpdateResponse, error) { + rsp, err := c.DcimPowerOutletsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsPartialUpdateResponse, error) { + rsp, err := c.DcimPowerOutletsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsPartialUpdateResponse(rsp) +} + +// DcimPowerOutletsUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletsUpdateResponse +func (c *ClientWithResponses) DcimPowerOutletsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsUpdateResponse, error) { + rsp, err := c.DcimPowerOutletsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsUpdateResponse, error) { + rsp, err := c.DcimPowerOutletsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsTraceRetrieveResponse(rsp) +} + +// DcimPowerPanelsBulkDestroyWithResponse request returning *DcimPowerPanelsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerPanelsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPanelsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsBulkDestroyResponse(rsp) +} + +// DcimPowerPanelsListWithResponse request returning *DcimPowerPanelsListResponse +func (c *ClientWithResponses) DcimPowerPanelsListWithResponse(ctx context.Context, params *DcimPowerPanelsListParams, reqEditors ...RequestEditorFn) (*DcimPowerPanelsListResponse, error) { + rsp, err := c.DcimPowerPanelsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsListResponse(rsp) +} + +// DcimPowerPanelsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPanelsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerPanelsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPanelsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPanelsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerPanelsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPanelsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsBulkPartialUpdateResponse(rsp) +} + +// DcimPowerPanelsCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerPanelsCreateResponse +func (c *ClientWithResponses) DcimPowerPanelsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsCreateResponse, error) { + rsp, err := c.DcimPowerPanelsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPanelsCreateWithResponse(ctx context.Context, body DcimPowerPanelsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsCreateResponse, error) { + rsp, err := c.DcimPowerPanelsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsCreateResponse(rsp) +} + +// DcimPowerPanelsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPanelsBulkUpdateResponse +func (c *ClientWithResponses) DcimPowerPanelsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkUpdateResponse, error) { + rsp, err := c.DcimPowerPanelsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPanelsBulkUpdateWithResponse(ctx context.Context, body DcimPowerPanelsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkUpdateResponse, error) { + rsp, err := c.DcimPowerPanelsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsBulkUpdateResponse(rsp) +} + +// DcimPowerPanelsDestroyWithResponse request returning *DcimPowerPanelsDestroyResponse +func (c *ClientWithResponses) DcimPowerPanelsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPanelsDestroyResponse, error) { + rsp, err := c.DcimPowerPanelsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsDestroyResponse(rsp) +} + +// DcimPowerPanelsRetrieveWithResponse request returning *DcimPowerPanelsRetrieveResponse +func (c *ClientWithResponses) DcimPowerPanelsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPanelsRetrieveResponse, error) { + rsp, err := c.DcimPowerPanelsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsRetrieveResponse(rsp) +} + +// DcimPowerPanelsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPanelsPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerPanelsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPanelsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPanelsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPanelsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsPartialUpdateResponse(rsp) +} + +// DcimPowerPanelsUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPanelsUpdateResponse +func (c *ClientWithResponses) DcimPowerPanelsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsUpdateResponse, error) { + rsp, err := c.DcimPowerPanelsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPanelsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsUpdateResponse, error) { + rsp, err := c.DcimPowerPanelsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsUpdateResponse(rsp) +} + +// DcimPowerPortTemplatesBulkDestroyWithResponse request returning *DcimPowerPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortTemplatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesBulkDestroyResponse(rsp) +} + +// DcimPowerPortTemplatesListWithResponse request returning *DcimPowerPortTemplatesListResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesListWithResponse(ctx context.Context, params *DcimPowerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesListResponse, error) { + rsp, err := c.DcimPowerPortTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesListResponse(rsp) +} + +// DcimPowerPortTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimPowerPortTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortTemplatesCreateResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesCreateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortTemplatesCreateWithResponse(ctx context.Context, body DcimPowerPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesCreateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesCreateResponse(rsp) +} + +// DcimPowerPortTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimPowerPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesBulkUpdateResponse(rsp) +} + +// DcimPowerPortTemplatesDestroyWithResponse request returning *DcimPowerPortTemplatesDestroyResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesDestroyResponse, error) { + rsp, err := c.DcimPowerPortTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesDestroyResponse(rsp) +} + +// DcimPowerPortTemplatesRetrieveWithResponse request returning *DcimPowerPortTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesRetrieveResponse, error) { + rsp, err := c.DcimPowerPortTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesRetrieveResponse(rsp) +} + +// DcimPowerPortTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesPartialUpdateResponse(rsp) +} + +// DcimPowerPortTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortTemplatesUpdateResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesUpdateResponse(rsp) +} + +// DcimPowerPortsBulkDestroyWithResponse request returning *DcimPowerPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsBulkDestroyResponse(rsp) +} + +// DcimPowerPortsListWithResponse request returning *DcimPowerPortsListResponse +func (c *ClientWithResponses) DcimPowerPortsListWithResponse(ctx context.Context, params *DcimPowerPortsListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortsListResponse, error) { + rsp, err := c.DcimPowerPortsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsListResponse(rsp) +} + +// DcimPowerPortsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerPortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPortsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimPowerPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPortsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsBulkPartialUpdateResponse(rsp) +} + +// DcimPowerPortsCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortsCreateResponse +func (c *ClientWithResponses) DcimPowerPortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsCreateResponse, error) { + rsp, err := c.DcimPowerPortsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortsCreateWithResponse(ctx context.Context, body DcimPowerPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsCreateResponse, error) { + rsp, err := c.DcimPowerPortsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsCreateResponse(rsp) +} + +// DcimPowerPortsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortsBulkUpdateResponse +func (c *ClientWithResponses) DcimPowerPortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkUpdateResponse, error) { + rsp, err := c.DcimPowerPortsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortsBulkUpdateWithResponse(ctx context.Context, body DcimPowerPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkUpdateResponse, error) { + rsp, err := c.DcimPowerPortsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsBulkUpdateResponse(rsp) +} + +// DcimPowerPortsDestroyWithResponse request returning *DcimPowerPortsDestroyResponse +func (c *ClientWithResponses) DcimPowerPortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortsDestroyResponse, error) { + rsp, err := c.DcimPowerPortsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsDestroyResponse(rsp) +} + +// DcimPowerPortsRetrieveWithResponse request returning *DcimPowerPortsRetrieveResponse +func (c *ClientWithResponses) DcimPowerPortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortsRetrieveResponse, error) { + rsp, err := c.DcimPowerPortsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsRetrieveResponse(rsp) +} + +// DcimPowerPortsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortsPartialUpdateResponse +func (c *ClientWithResponses) DcimPowerPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPortsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsPartialUpdateResponse, error) { + rsp, err := c.DcimPowerPortsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsPartialUpdateResponse(rsp) +} + +// DcimPowerPortsUpdateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortsUpdateResponse +func (c *ClientWithResponses) DcimPowerPortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsUpdateResponse, error) { + rsp, err := c.DcimPowerPortsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsUpdateResponse, error) { + rsp, err := c.DcimPowerPortsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsTraceRetrieveResponse(rsp) +} + +// DcimRackGroupsBulkDestroyWithResponse request returning *DcimRackGroupsBulkDestroyResponse +func (c *ClientWithResponses) DcimRackGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkDestroyResponse, error) { + rsp, err := c.DcimRackGroupsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsBulkDestroyResponse(rsp) +} + +// DcimRackGroupsListWithResponse request returning *DcimRackGroupsListResponse +func (c *ClientWithResponses) DcimRackGroupsListWithResponse(ctx context.Context, params *DcimRackGroupsListParams, reqEditors ...RequestEditorFn) (*DcimRackGroupsListResponse, error) { + rsp, err := c.DcimRackGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsListResponse(rsp) +} + +// DcimRackGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimRackGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRackGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackGroupsBulkPartialUpdateWithResponse(ctx context.Context, body DcimRackGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRackGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsBulkPartialUpdateResponse(rsp) +} + +// DcimRackGroupsCreateWithBodyWithResponse request with arbitrary body returning *DcimRackGroupsCreateResponse +func (c *ClientWithResponses) DcimRackGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsCreateResponse, error) { + rsp, err := c.DcimRackGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackGroupsCreateWithResponse(ctx context.Context, body DcimRackGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsCreateResponse, error) { + rsp, err := c.DcimRackGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsCreateResponse(rsp) +} + +// DcimRackGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackGroupsBulkUpdateResponse +func (c *ClientWithResponses) DcimRackGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkUpdateResponse, error) { + rsp, err := c.DcimRackGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackGroupsBulkUpdateWithResponse(ctx context.Context, body DcimRackGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkUpdateResponse, error) { + rsp, err := c.DcimRackGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsBulkUpdateResponse(rsp) +} + +// DcimRackGroupsDestroyWithResponse request returning *DcimRackGroupsDestroyResponse +func (c *ClientWithResponses) DcimRackGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackGroupsDestroyResponse, error) { + rsp, err := c.DcimRackGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsDestroyResponse(rsp) +} + +// DcimRackGroupsRetrieveWithResponse request returning *DcimRackGroupsRetrieveResponse +func (c *ClientWithResponses) DcimRackGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackGroupsRetrieveResponse, error) { + rsp, err := c.DcimRackGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsRetrieveResponse(rsp) +} + +// DcimRackGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackGroupsPartialUpdateResponse +func (c *ClientWithResponses) DcimRackGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsPartialUpdateResponse, error) { + rsp, err := c.DcimRackGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsPartialUpdateResponse, error) { + rsp, err := c.DcimRackGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsPartialUpdateResponse(rsp) +} + +// DcimRackGroupsUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackGroupsUpdateResponse +func (c *ClientWithResponses) DcimRackGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsUpdateResponse, error) { + rsp, err := c.DcimRackGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsUpdateResponse, error) { + rsp, err := c.DcimRackGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsUpdateResponse(rsp) +} + +// DcimRackReservationsBulkDestroyWithResponse request returning *DcimRackReservationsBulkDestroyResponse +func (c *ClientWithResponses) DcimRackReservationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) { + rsp, err := c.DcimRackReservationsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsBulkDestroyResponse(rsp) +} + +// DcimRackReservationsListWithResponse request returning *DcimRackReservationsListResponse +func (c *ClientWithResponses) DcimRackReservationsListWithResponse(ctx context.Context, params *DcimRackReservationsListParams, reqEditors ...RequestEditorFn) (*DcimRackReservationsListResponse, error) { + rsp, err := c.DcimRackReservationsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsListResponse(rsp) +} + +// DcimRackReservationsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackReservationsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimRackReservationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRackReservationsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackReservationsBulkPartialUpdateWithResponse(ctx context.Context, body DcimRackReservationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRackReservationsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsBulkPartialUpdateResponse(rsp) +} + +// DcimRackReservationsCreateWithBodyWithResponse request with arbitrary body returning *DcimRackReservationsCreateResponse +func (c *ClientWithResponses) DcimRackReservationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsCreateResponse, error) { + rsp, err := c.DcimRackReservationsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackReservationsCreateWithResponse(ctx context.Context, body DcimRackReservationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsCreateResponse, error) { + rsp, err := c.DcimRackReservationsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsCreateResponse(rsp) +} + +// DcimRackReservationsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackReservationsBulkUpdateResponse +func (c *ClientWithResponses) DcimRackReservationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkUpdateResponse, error) { + rsp, err := c.DcimRackReservationsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackReservationsBulkUpdateWithResponse(ctx context.Context, body DcimRackReservationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkUpdateResponse, error) { + rsp, err := c.DcimRackReservationsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsBulkUpdateResponse(rsp) +} + +// DcimRackReservationsDestroyWithResponse request returning *DcimRackReservationsDestroyResponse +func (c *ClientWithResponses) DcimRackReservationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackReservationsDestroyResponse, error) { + rsp, err := c.DcimRackReservationsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsDestroyResponse(rsp) +} + +// DcimRackReservationsRetrieveWithResponse request returning *DcimRackReservationsRetrieveResponse +func (c *ClientWithResponses) DcimRackReservationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackReservationsRetrieveResponse, error) { + rsp, err := c.DcimRackReservationsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsRetrieveResponse(rsp) +} + +// DcimRackReservationsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackReservationsPartialUpdateResponse +func (c *ClientWithResponses) DcimRackReservationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsPartialUpdateResponse, error) { + rsp, err := c.DcimRackReservationsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackReservationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsPartialUpdateResponse, error) { + rsp, err := c.DcimRackReservationsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsPartialUpdateResponse(rsp) +} + +// DcimRackReservationsUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackReservationsUpdateResponse +func (c *ClientWithResponses) DcimRackReservationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsUpdateResponse, error) { + rsp, err := c.DcimRackReservationsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackReservationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsUpdateResponse, error) { + rsp, err := c.DcimRackReservationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsUpdateResponse(rsp) +} + +// DcimRackRolesBulkDestroyWithResponse request returning *DcimRackRolesBulkDestroyResponse +func (c *ClientWithResponses) DcimRackRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) { + rsp, err := c.DcimRackRolesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesBulkDestroyResponse(rsp) +} + +// DcimRackRolesListWithResponse request returning *DcimRackRolesListResponse +func (c *ClientWithResponses) DcimRackRolesListWithResponse(ctx context.Context, params *DcimRackRolesListParams, reqEditors ...RequestEditorFn) (*DcimRackRolesListResponse, error) { + rsp, err := c.DcimRackRolesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesListResponse(rsp) +} + +// DcimRackRolesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackRolesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimRackRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRackRolesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackRolesBulkPartialUpdateWithResponse(ctx context.Context, body DcimRackRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRackRolesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesBulkPartialUpdateResponse(rsp) +} + +// DcimRackRolesCreateWithBodyWithResponse request with arbitrary body returning *DcimRackRolesCreateResponse +func (c *ClientWithResponses) DcimRackRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesCreateResponse, error) { + rsp, err := c.DcimRackRolesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackRolesCreateWithResponse(ctx context.Context, body DcimRackRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesCreateResponse, error) { + rsp, err := c.DcimRackRolesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesCreateResponse(rsp) +} + +// DcimRackRolesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackRolesBulkUpdateResponse +func (c *ClientWithResponses) DcimRackRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkUpdateResponse, error) { + rsp, err := c.DcimRackRolesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackRolesBulkUpdateWithResponse(ctx context.Context, body DcimRackRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkUpdateResponse, error) { + rsp, err := c.DcimRackRolesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesBulkUpdateResponse(rsp) +} + +// DcimRackRolesDestroyWithResponse request returning *DcimRackRolesDestroyResponse +func (c *ClientWithResponses) DcimRackRolesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackRolesDestroyResponse, error) { + rsp, err := c.DcimRackRolesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesDestroyResponse(rsp) +} + +// DcimRackRolesRetrieveWithResponse request returning *DcimRackRolesRetrieveResponse +func (c *ClientWithResponses) DcimRackRolesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRackRolesRetrieveResponse, error) { + rsp, err := c.DcimRackRolesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesRetrieveResponse(rsp) +} + +// DcimRackRolesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackRolesPartialUpdateResponse +func (c *ClientWithResponses) DcimRackRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesPartialUpdateResponse, error) { + rsp, err := c.DcimRackRolesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackRolesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesPartialUpdateResponse, error) { + rsp, err := c.DcimRackRolesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesPartialUpdateResponse(rsp) +} + +// DcimRackRolesUpdateWithBodyWithResponse request with arbitrary body returning *DcimRackRolesUpdateResponse +func (c *ClientWithResponses) DcimRackRolesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesUpdateResponse, error) { + rsp, err := c.DcimRackRolesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesUpdateResponse, error) { + rsp, err := c.DcimRackRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesUpdateResponse(rsp) +} + +// DcimRacksBulkDestroyWithResponse request returning *DcimRacksBulkDestroyResponse +func (c *ClientWithResponses) DcimRacksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) { + rsp, err := c.DcimRacksBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksBulkDestroyResponse(rsp) +} + +// DcimRacksListWithResponse request returning *DcimRacksListResponse +func (c *ClientWithResponses) DcimRacksListWithResponse(ctx context.Context, params *DcimRacksListParams, reqEditors ...RequestEditorFn) (*DcimRacksListResponse, error) { + rsp, err := c.DcimRacksList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksListResponse(rsp) +} + +// DcimRacksBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRacksBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimRacksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRacksBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRacksBulkPartialUpdateWithResponse(ctx context.Context, body DcimRacksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRacksBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksBulkPartialUpdateResponse(rsp) +} + +// DcimRacksCreateWithBodyWithResponse request with arbitrary body returning *DcimRacksCreateResponse +func (c *ClientWithResponses) DcimRacksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksCreateResponse, error) { + rsp, err := c.DcimRacksCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRacksCreateWithResponse(ctx context.Context, body DcimRacksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksCreateResponse, error) { + rsp, err := c.DcimRacksCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksCreateResponse(rsp) +} + +// DcimRacksBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimRacksBulkUpdateResponse +func (c *ClientWithResponses) DcimRacksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksBulkUpdateResponse, error) { + rsp, err := c.DcimRacksBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRacksBulkUpdateWithResponse(ctx context.Context, body DcimRacksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksBulkUpdateResponse, error) { + rsp, err := c.DcimRacksBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksBulkUpdateResponse(rsp) +} + +// DcimRacksDestroyWithResponse request returning *DcimRacksDestroyResponse +func (c *ClientWithResponses) DcimRacksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRacksDestroyResponse, error) { + rsp, err := c.DcimRacksDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksDestroyResponse(rsp) +} + +// DcimRacksRetrieveWithResponse request returning *DcimRacksRetrieveResponse +func (c *ClientWithResponses) DcimRacksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRacksRetrieveResponse, error) { + rsp, err := c.DcimRacksRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksRetrieveResponse(rsp) +} + +// DcimRacksPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRacksPartialUpdateResponse +func (c *ClientWithResponses) DcimRacksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksPartialUpdateResponse, error) { + rsp, err := c.DcimRacksPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRacksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRacksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksPartialUpdateResponse, error) { + rsp, err := c.DcimRacksPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksPartialUpdateResponse(rsp) +} + +// DcimRacksUpdateWithBodyWithResponse request with arbitrary body returning *DcimRacksUpdateResponse +func (c *ClientWithResponses) DcimRacksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksUpdateResponse, error) { + rsp, err := c.DcimRacksUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRacksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRacksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksUpdateResponse, error) { + rsp, err := c.DcimRacksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksUpdateResponse(rsp) +} + +// DcimRacksElevationListWithResponse request returning *DcimRacksElevationListResponse +func (c *ClientWithResponses) DcimRacksElevationListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRacksElevationListParams, reqEditors ...RequestEditorFn) (*DcimRacksElevationListResponse, error) { + rsp, err := c.DcimRacksElevationList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksElevationListResponse(rsp) +} + +// DcimRearPortTemplatesBulkDestroyWithResponse request returning *DcimRearPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimRearPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortTemplatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesBulkDestroyResponse(rsp) +} + +// DcimRearPortTemplatesListWithResponse request returning *DcimRearPortTemplatesListResponse +func (c *ClientWithResponses) DcimRearPortTemplatesListWithResponse(ctx context.Context, params *DcimRearPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesListResponse, error) { + rsp, err := c.DcimRearPortTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesListResponse(rsp) +} + +// DcimRearPortTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRearPortTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimRearPortTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRearPortTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRearPortTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesBulkPartialUpdateResponse(rsp) +} + +// DcimRearPortTemplatesCreateWithBodyWithResponse request with arbitrary body returning *DcimRearPortTemplatesCreateResponse +func (c *ClientWithResponses) DcimRearPortTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesCreateResponse, error) { + rsp, err := c.DcimRearPortTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortTemplatesCreateWithResponse(ctx context.Context, body DcimRearPortTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesCreateResponse, error) { + rsp, err := c.DcimRearPortTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesCreateResponse(rsp) +} + +// DcimRearPortTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimRearPortTemplatesBulkUpdateResponse +func (c *ClientWithResponses) DcimRearPortTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimRearPortTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortTemplatesBulkUpdateWithResponse(ctx context.Context, body DcimRearPortTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkUpdateResponse, error) { + rsp, err := c.DcimRearPortTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesBulkUpdateResponse(rsp) +} + +// DcimRearPortTemplatesDestroyWithResponse request returning *DcimRearPortTemplatesDestroyResponse +func (c *ClientWithResponses) DcimRearPortTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesDestroyResponse, error) { + rsp, err := c.DcimRearPortTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesDestroyResponse(rsp) +} + +// DcimRearPortTemplatesRetrieveWithResponse request returning *DcimRearPortTemplatesRetrieveResponse +func (c *ClientWithResponses) DcimRearPortTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesRetrieveResponse, error) { + rsp, err := c.DcimRearPortTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesRetrieveResponse(rsp) +} + +// DcimRearPortTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRearPortTemplatesPartialUpdateResponse +func (c *ClientWithResponses) DcimRearPortTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimRearPortTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesPartialUpdateResponse, error) { + rsp, err := c.DcimRearPortTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesPartialUpdateResponse(rsp) +} + +// DcimRearPortTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *DcimRearPortTemplatesUpdateResponse +func (c *ClientWithResponses) DcimRearPortTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimRearPortTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesUpdateResponse, error) { + rsp, err := c.DcimRearPortTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesUpdateResponse(rsp) +} + +// DcimRearPortsBulkDestroyWithResponse request returning *DcimRearPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimRearPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsBulkDestroyResponse(rsp) +} + +// DcimRearPortsListWithResponse request returning *DcimRearPortsListResponse +func (c *ClientWithResponses) DcimRearPortsListWithResponse(ctx context.Context, params *DcimRearPortsListParams, reqEditors ...RequestEditorFn) (*DcimRearPortsListResponse, error) { + rsp, err := c.DcimRearPortsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsListResponse(rsp) +} + +// DcimRearPortsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRearPortsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimRearPortsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRearPortsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortsBulkPartialUpdateWithResponse(ctx context.Context, body DcimRearPortsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRearPortsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsBulkPartialUpdateResponse(rsp) +} + +// DcimRearPortsCreateWithBodyWithResponse request with arbitrary body returning *DcimRearPortsCreateResponse +func (c *ClientWithResponses) DcimRearPortsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsCreateResponse, error) { + rsp, err := c.DcimRearPortsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortsCreateWithResponse(ctx context.Context, body DcimRearPortsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsCreateResponse, error) { + rsp, err := c.DcimRearPortsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsCreateResponse(rsp) +} + +// DcimRearPortsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimRearPortsBulkUpdateResponse +func (c *ClientWithResponses) DcimRearPortsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkUpdateResponse, error) { + rsp, err := c.DcimRearPortsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortsBulkUpdateWithResponse(ctx context.Context, body DcimRearPortsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkUpdateResponse, error) { + rsp, err := c.DcimRearPortsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsBulkUpdateResponse(rsp) +} + +// DcimRearPortsDestroyWithResponse request returning *DcimRearPortsDestroyResponse +func (c *ClientWithResponses) DcimRearPortsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortsDestroyResponse, error) { + rsp, err := c.DcimRearPortsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsDestroyResponse(rsp) +} + +// DcimRearPortsRetrieveWithResponse request returning *DcimRearPortsRetrieveResponse +func (c *ClientWithResponses) DcimRearPortsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortsRetrieveResponse, error) { + rsp, err := c.DcimRearPortsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsRetrieveResponse(rsp) +} + +// DcimRearPortsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRearPortsPartialUpdateResponse +func (c *ClientWithResponses) DcimRearPortsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsPartialUpdateResponse, error) { + rsp, err := c.DcimRearPortsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsPartialUpdateResponse, error) { + rsp, err := c.DcimRearPortsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsPartialUpdateResponse(rsp) +} + +// DcimRearPortsUpdateWithBodyWithResponse request with arbitrary body returning *DcimRearPortsUpdateResponse +func (c *ClientWithResponses) DcimRearPortsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsUpdateResponse, error) { + rsp, err := c.DcimRearPortsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsUpdateResponse, error) { + rsp, err := c.DcimRearPortsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsPathsRetrieveResponse(rsp) +} + +// DcimRegionsBulkDestroyWithResponse request returning *DcimRegionsBulkDestroyResponse +func (c *ClientWithResponses) DcimRegionsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) { + rsp, err := c.DcimRegionsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsBulkDestroyResponse(rsp) +} + +// DcimRegionsListWithResponse request returning *DcimRegionsListResponse +func (c *ClientWithResponses) DcimRegionsListWithResponse(ctx context.Context, params *DcimRegionsListParams, reqEditors ...RequestEditorFn) (*DcimRegionsListResponse, error) { + rsp, err := c.DcimRegionsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsListResponse(rsp) +} + +// DcimRegionsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRegionsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimRegionsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRegionsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRegionsBulkPartialUpdateWithResponse(ctx context.Context, body DcimRegionsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimRegionsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsBulkPartialUpdateResponse(rsp) +} + +// DcimRegionsCreateWithBodyWithResponse request with arbitrary body returning *DcimRegionsCreateResponse +func (c *ClientWithResponses) DcimRegionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsCreateResponse, error) { + rsp, err := c.DcimRegionsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRegionsCreateWithResponse(ctx context.Context, body DcimRegionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsCreateResponse, error) { + rsp, err := c.DcimRegionsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsCreateResponse(rsp) +} + +// DcimRegionsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimRegionsBulkUpdateResponse +func (c *ClientWithResponses) DcimRegionsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsBulkUpdateResponse, error) { + rsp, err := c.DcimRegionsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRegionsBulkUpdateWithResponse(ctx context.Context, body DcimRegionsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsBulkUpdateResponse, error) { + rsp, err := c.DcimRegionsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsBulkUpdateResponse(rsp) +} + +// DcimRegionsDestroyWithResponse request returning *DcimRegionsDestroyResponse +func (c *ClientWithResponses) DcimRegionsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRegionsDestroyResponse, error) { + rsp, err := c.DcimRegionsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsDestroyResponse(rsp) +} + +// DcimRegionsRetrieveWithResponse request returning *DcimRegionsRetrieveResponse +func (c *ClientWithResponses) DcimRegionsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRegionsRetrieveResponse, error) { + rsp, err := c.DcimRegionsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsRetrieveResponse(rsp) +} + +// DcimRegionsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimRegionsPartialUpdateResponse +func (c *ClientWithResponses) DcimRegionsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsPartialUpdateResponse, error) { + rsp, err := c.DcimRegionsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRegionsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRegionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsPartialUpdateResponse, error) { + rsp, err := c.DcimRegionsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsPartialUpdateResponse(rsp) +} + +// DcimRegionsUpdateWithBodyWithResponse request with arbitrary body returning *DcimRegionsUpdateResponse +func (c *ClientWithResponses) DcimRegionsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsUpdateResponse, error) { + rsp, err := c.DcimRegionsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRegionsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRegionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsUpdateResponse, error) { + rsp, err := c.DcimRegionsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsUpdateResponse(rsp) +} + +// DcimSitesBulkDestroyWithResponse request returning *DcimSitesBulkDestroyResponse +func (c *ClientWithResponses) DcimSitesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) { + rsp, err := c.DcimSitesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesBulkDestroyResponse(rsp) +} + +// DcimSitesListWithResponse request returning *DcimSitesListResponse +func (c *ClientWithResponses) DcimSitesListWithResponse(ctx context.Context, params *DcimSitesListParams, reqEditors ...RequestEditorFn) (*DcimSitesListResponse, error) { + rsp, err := c.DcimSitesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesListResponse(rsp) +} + +// DcimSitesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimSitesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimSitesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimSitesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSitesBulkPartialUpdateWithResponse(ctx context.Context, body DcimSitesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimSitesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesBulkPartialUpdateResponse(rsp) +} + +// DcimSitesCreateWithBodyWithResponse request with arbitrary body returning *DcimSitesCreateResponse +func (c *ClientWithResponses) DcimSitesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesCreateResponse, error) { + rsp, err := c.DcimSitesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSitesCreateWithResponse(ctx context.Context, body DcimSitesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesCreateResponse, error) { + rsp, err := c.DcimSitesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesCreateResponse(rsp) +} + +// DcimSitesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimSitesBulkUpdateResponse +func (c *ClientWithResponses) DcimSitesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesBulkUpdateResponse, error) { + rsp, err := c.DcimSitesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSitesBulkUpdateWithResponse(ctx context.Context, body DcimSitesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesBulkUpdateResponse, error) { + rsp, err := c.DcimSitesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesBulkUpdateResponse(rsp) +} + +// DcimSitesDestroyWithResponse request returning *DcimSitesDestroyResponse +func (c *ClientWithResponses) DcimSitesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimSitesDestroyResponse, error) { + rsp, err := c.DcimSitesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesDestroyResponse(rsp) +} + +// DcimSitesRetrieveWithResponse request returning *DcimSitesRetrieveResponse +func (c *ClientWithResponses) DcimSitesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimSitesRetrieveResponse, error) { + rsp, err := c.DcimSitesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesRetrieveResponse(rsp) +} + +// DcimSitesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimSitesPartialUpdateResponse +func (c *ClientWithResponses) DcimSitesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesPartialUpdateResponse, error) { + rsp, err := c.DcimSitesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSitesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimSitesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesPartialUpdateResponse, error) { + rsp, err := c.DcimSitesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesPartialUpdateResponse(rsp) +} + +// DcimSitesUpdateWithBodyWithResponse request with arbitrary body returning *DcimSitesUpdateResponse +func (c *ClientWithResponses) DcimSitesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesUpdateResponse, error) { + rsp, err := c.DcimSitesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSitesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimSitesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesUpdateResponse, error) { + rsp, err := c.DcimSitesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesUpdateResponse(rsp) +} + +// DcimVirtualChassisBulkDestroyWithResponse request returning *DcimVirtualChassisBulkDestroyResponse +func (c *ClientWithResponses) DcimVirtualChassisBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) { + rsp, err := c.DcimVirtualChassisBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisBulkDestroyResponse(rsp) +} + +// DcimVirtualChassisListWithResponse request returning *DcimVirtualChassisListResponse +func (c *ClientWithResponses) DcimVirtualChassisListWithResponse(ctx context.Context, params *DcimVirtualChassisListParams, reqEditors ...RequestEditorFn) (*DcimVirtualChassisListResponse, error) { + rsp, err := c.DcimVirtualChassisList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisListResponse(rsp) +} + +// DcimVirtualChassisBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimVirtualChassisBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimVirtualChassisBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkPartialUpdateResponse, error) { + rsp, err := c.DcimVirtualChassisBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualChassisBulkPartialUpdateWithResponse(ctx context.Context, body DcimVirtualChassisBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkPartialUpdateResponse, error) { + rsp, err := c.DcimVirtualChassisBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisBulkPartialUpdateResponse(rsp) +} + +// DcimVirtualChassisCreateWithBodyWithResponse request with arbitrary body returning *DcimVirtualChassisCreateResponse +func (c *ClientWithResponses) DcimVirtualChassisCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisCreateResponse, error) { + rsp, err := c.DcimVirtualChassisCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualChassisCreateWithResponse(ctx context.Context, body DcimVirtualChassisCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisCreateResponse, error) { + rsp, err := c.DcimVirtualChassisCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisCreateResponse(rsp) +} + +// DcimVirtualChassisBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimVirtualChassisBulkUpdateResponse +func (c *ClientWithResponses) DcimVirtualChassisBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkUpdateResponse, error) { + rsp, err := c.DcimVirtualChassisBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualChassisBulkUpdateWithResponse(ctx context.Context, body DcimVirtualChassisBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkUpdateResponse, error) { + rsp, err := c.DcimVirtualChassisBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisBulkUpdateResponse(rsp) +} + +// DcimVirtualChassisDestroyWithResponse request returning *DcimVirtualChassisDestroyResponse +func (c *ClientWithResponses) DcimVirtualChassisDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimVirtualChassisDestroyResponse, error) { + rsp, err := c.DcimVirtualChassisDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisDestroyResponse(rsp) +} + +// DcimVirtualChassisRetrieveWithResponse request returning *DcimVirtualChassisRetrieveResponse +func (c *ClientWithResponses) DcimVirtualChassisRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimVirtualChassisRetrieveResponse, error) { + rsp, err := c.DcimVirtualChassisRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisRetrieveResponse(rsp) +} + +// DcimVirtualChassisPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimVirtualChassisPartialUpdateResponse +func (c *ClientWithResponses) DcimVirtualChassisPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisPartialUpdateResponse, error) { + rsp, err := c.DcimVirtualChassisPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualChassisPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisPartialUpdateResponse, error) { + rsp, err := c.DcimVirtualChassisPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisPartialUpdateResponse(rsp) +} + +// DcimVirtualChassisUpdateWithBodyWithResponse request with arbitrary body returning *DcimVirtualChassisUpdateResponse +func (c *ClientWithResponses) DcimVirtualChassisUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisUpdateResponse, error) { + rsp, err := c.DcimVirtualChassisUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualChassisUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisUpdateResponse, error) { + rsp, err := c.DcimVirtualChassisUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisUpdateResponse(rsp) +} + +// ExtrasComputedFieldsBulkDestroyWithResponse request returning *ExtrasComputedFieldsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasComputedFieldsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkDestroyResponse, error) { + rsp, err := c.ExtrasComputedFieldsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsBulkDestroyResponse(rsp) +} + +// ExtrasComputedFieldsListWithResponse request returning *ExtrasComputedFieldsListResponse +func (c *ClientWithResponses) ExtrasComputedFieldsListWithResponse(ctx context.Context, params *ExtrasComputedFieldsListParams, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsListResponse, error) { + rsp, err := c.ExtrasComputedFieldsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsListResponse(rsp) +} + +// ExtrasComputedFieldsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasComputedFieldsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasComputedFieldsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasComputedFieldsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasComputedFieldsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasComputedFieldsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsBulkPartialUpdateResponse(rsp) +} + +// ExtrasComputedFieldsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasComputedFieldsCreateResponse +func (c *ClientWithResponses) ExtrasComputedFieldsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsCreateResponse, error) { + rsp, err := c.ExtrasComputedFieldsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasComputedFieldsCreateWithResponse(ctx context.Context, body ExtrasComputedFieldsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsCreateResponse, error) { + rsp, err := c.ExtrasComputedFieldsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsCreateResponse(rsp) +} + +// ExtrasComputedFieldsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasComputedFieldsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasComputedFieldsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkUpdateResponse, error) { + rsp, err := c.ExtrasComputedFieldsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasComputedFieldsBulkUpdateWithResponse(ctx context.Context, body ExtrasComputedFieldsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkUpdateResponse, error) { + rsp, err := c.ExtrasComputedFieldsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsBulkUpdateResponse(rsp) +} + +// ExtrasComputedFieldsDestroyWithResponse request returning *ExtrasComputedFieldsDestroyResponse +func (c *ClientWithResponses) ExtrasComputedFieldsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsDestroyResponse, error) { + rsp, err := c.ExtrasComputedFieldsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsDestroyResponse(rsp) +} + +// ExtrasComputedFieldsRetrieveWithResponse request returning *ExtrasComputedFieldsRetrieveResponse +func (c *ClientWithResponses) ExtrasComputedFieldsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsRetrieveResponse, error) { + rsp, err := c.ExtrasComputedFieldsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsRetrieveResponse(rsp) +} + +// ExtrasComputedFieldsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasComputedFieldsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasComputedFieldsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsPartialUpdateResponse, error) { + rsp, err := c.ExtrasComputedFieldsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasComputedFieldsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsPartialUpdateResponse, error) { + rsp, err := c.ExtrasComputedFieldsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsPartialUpdateResponse(rsp) +} + +// ExtrasComputedFieldsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasComputedFieldsUpdateResponse +func (c *ClientWithResponses) ExtrasComputedFieldsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsUpdateResponse, error) { + rsp, err := c.ExtrasComputedFieldsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasComputedFieldsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsUpdateResponse, error) { + rsp, err := c.ExtrasComputedFieldsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsUpdateResponse(rsp) +} + +// ExtrasConfigContextSchemasBulkDestroyWithResponse request returning *ExtrasConfigContextSchemasBulkDestroyResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasBulkDestroyResponse(rsp) +} + +// ExtrasConfigContextSchemasListWithResponse request returning *ExtrasConfigContextSchemasListResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasListWithResponse(ctx context.Context, params *ExtrasConfigContextSchemasListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasListResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasListResponse(rsp) +} + +// ExtrasConfigContextSchemasBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextSchemasBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextSchemasBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasBulkPartialUpdateResponse(rsp) +} + +// ExtrasConfigContextSchemasCreateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextSchemasCreateResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasCreateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextSchemasCreateWithResponse(ctx context.Context, body ExtrasConfigContextSchemasCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasCreateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasCreateResponse(rsp) +} + +// ExtrasConfigContextSchemasBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextSchemasBulkUpdateResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextSchemasBulkUpdateWithResponse(ctx context.Context, body ExtrasConfigContextSchemasBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasBulkUpdateResponse(rsp) +} + +// ExtrasConfigContextSchemasDestroyWithResponse request returning *ExtrasConfigContextSchemasDestroyResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasDestroyResponse(rsp) +} + +// ExtrasConfigContextSchemasRetrieveWithResponse request returning *ExtrasConfigContextSchemasRetrieveResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasRetrieveResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasRetrieveResponse(rsp) +} + +// ExtrasConfigContextSchemasPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextSchemasPartialUpdateResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextSchemasPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasPartialUpdateResponse(rsp) +} + +// ExtrasConfigContextSchemasUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextSchemasUpdateResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextSchemasUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasUpdateResponse(rsp) +} + +// ExtrasConfigContextsBulkDestroyWithResponse request returning *ExtrasConfigContextsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasConfigContextsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsBulkDestroyResponse(rsp) +} + +// ExtrasConfigContextsListWithResponse request returning *ExtrasConfigContextsListResponse +func (c *ClientWithResponses) ExtrasConfigContextsListWithResponse(ctx context.Context, params *ExtrasConfigContextsListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsListResponse, error) { + rsp, err := c.ExtrasConfigContextsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsListResponse(rsp) +} + +// ExtrasConfigContextsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasConfigContextsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasConfigContextsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsBulkPartialUpdateResponse(rsp) +} + +// ExtrasConfigContextsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextsCreateResponse +func (c *ClientWithResponses) ExtrasConfigContextsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsCreateResponse, error) { + rsp, err := c.ExtrasConfigContextsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextsCreateWithResponse(ctx context.Context, body ExtrasConfigContextsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsCreateResponse, error) { + rsp, err := c.ExtrasConfigContextsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsCreateResponse(rsp) +} + +// ExtrasConfigContextsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasConfigContextsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextsBulkUpdateWithResponse(ctx context.Context, body ExtrasConfigContextsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsBulkUpdateResponse(rsp) +} + +// ExtrasConfigContextsDestroyWithResponse request returning *ExtrasConfigContextsDestroyResponse +func (c *ClientWithResponses) ExtrasConfigContextsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsDestroyResponse(rsp) +} + +// ExtrasConfigContextsRetrieveWithResponse request returning *ExtrasConfigContextsRetrieveResponse +func (c *ClientWithResponses) ExtrasConfigContextsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsRetrieveResponse, error) { + rsp, err := c.ExtrasConfigContextsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsRetrieveResponse(rsp) +} + +// ExtrasConfigContextsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasConfigContextsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsPartialUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsPartialUpdateResponse(rsp) +} + +// ExtrasConfigContextsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextsUpdateResponse +func (c *ClientWithResponses) ExtrasConfigContextsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsUpdateResponse, error) { + rsp, err := c.ExtrasConfigContextsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseExtrasContentTypesListResponse(rsp) +} + +// ExtrasContentTypesRetrieveWithResponse request returning *ExtrasContentTypesRetrieveResponse +func (c *ClientWithResponses) ExtrasContentTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasContentTypesRetrieveResponse, error) { + rsp, err := c.ExtrasContentTypesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasContentTypesRetrieveResponse(rsp) +} + +// ExtrasCustomFieldChoicesBulkDestroyWithResponse request returning *ExtrasCustomFieldChoicesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesBulkDestroyResponse(rsp) +} + +// ExtrasCustomFieldChoicesListWithResponse request returning *ExtrasCustomFieldChoicesListResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesListWithResponse(ctx context.Context, params *ExtrasCustomFieldChoicesListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesListResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesListResponse(rsp) +} + +// ExtrasCustomFieldChoicesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoicesBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoicesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesBulkPartialUpdateResponse(rsp) +} + +// ExtrasCustomFieldChoicesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoicesCreateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesCreateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoicesCreateWithResponse(ctx context.Context, body ExtrasCustomFieldChoicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesCreateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesCreateResponse(rsp) +} + +// ExtrasCustomFieldChoicesBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoicesBulkUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoicesBulkUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesBulkUpdateResponse(rsp) +} + +// ExtrasCustomFieldChoicesDestroyWithResponse request returning *ExtrasCustomFieldChoicesDestroyResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesDestroyResponse(rsp) +} + +// ExtrasCustomFieldChoicesRetrieveWithResponse request returning *ExtrasCustomFieldChoicesRetrieveResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesRetrieveResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesRetrieveResponse(rsp) +} + +// ExtrasCustomFieldChoicesPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoicesPartialUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoicesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesPartialUpdateResponse(rsp) +} + +// ExtrasCustomFieldChoicesUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoicesUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoicesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldChoicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesUpdateResponse(rsp) +} + +// ExtrasCustomFieldsBulkDestroyWithResponse request returning *ExtrasCustomFieldsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasCustomFieldsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsBulkDestroyResponse(rsp) +} + +// ExtrasCustomFieldsListWithResponse request returning *ExtrasCustomFieldsListResponse +func (c *ClientWithResponses) ExtrasCustomFieldsListWithResponse(ctx context.Context, params *ExtrasCustomFieldsListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsListResponse, error) { + rsp, err := c.ExtrasCustomFieldsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsListResponse(rsp) +} + +// ExtrasCustomFieldsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsBulkPartialUpdateResponse(rsp) +} + +// ExtrasCustomFieldsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldsCreateResponse +func (c *ClientWithResponses) ExtrasCustomFieldsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsCreateResponse, error) { + rsp, err := c.ExtrasCustomFieldsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldsCreateWithResponse(ctx context.Context, body ExtrasCustomFieldsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsCreateResponse, error) { + rsp, err := c.ExtrasCustomFieldsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsCreateResponse(rsp) +} + +// ExtrasCustomFieldsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldsBulkUpdateWithResponse(ctx context.Context, body ExtrasCustomFieldsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsBulkUpdateResponse(rsp) +} + +// ExtrasCustomFieldsDestroyWithResponse request returning *ExtrasCustomFieldsDestroyResponse +func (c *ClientWithResponses) ExtrasCustomFieldsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsDestroyResponse(rsp) +} + +// ExtrasCustomFieldsRetrieveWithResponse request returning *ExtrasCustomFieldsRetrieveResponse +func (c *ClientWithResponses) ExtrasCustomFieldsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsRetrieveResponse, error) { + rsp, err := c.ExtrasCustomFieldsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsRetrieveResponse(rsp) +} + +// ExtrasCustomFieldsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsPartialUpdateResponse(rsp) +} + +// ExtrasCustomFieldsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldsUpdateResponse +func (c *ClientWithResponses) ExtrasCustomFieldsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsUpdateResponse, error) { + rsp, err := c.ExtrasCustomFieldsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsUpdateResponse(rsp) +} + +// ExtrasCustomLinksBulkDestroyWithResponse request returning *ExtrasCustomLinksBulkDestroyResponse +func (c *ClientWithResponses) ExtrasCustomLinksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomLinksBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksBulkDestroyResponse(rsp) +} + +// ExtrasCustomLinksListWithResponse request returning *ExtrasCustomLinksListResponse +func (c *ClientWithResponses) ExtrasCustomLinksListWithResponse(ctx context.Context, params *ExtrasCustomLinksListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksListResponse, error) { + rsp, err := c.ExtrasCustomLinksList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksListResponse(rsp) +} + +// ExtrasCustomLinksBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomLinksBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasCustomLinksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomLinksBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomLinksBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasCustomLinksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomLinksBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksBulkPartialUpdateResponse(rsp) +} + +// ExtrasCustomLinksCreateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomLinksCreateResponse +func (c *ClientWithResponses) ExtrasCustomLinksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksCreateResponse, error) { + rsp, err := c.ExtrasCustomLinksCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomLinksCreateWithResponse(ctx context.Context, body ExtrasCustomLinksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksCreateResponse, error) { + rsp, err := c.ExtrasCustomLinksCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksCreateResponse(rsp) +} + +// ExtrasCustomLinksBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomLinksBulkUpdateResponse +func (c *ClientWithResponses) ExtrasCustomLinksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkUpdateResponse, error) { + rsp, err := c.ExtrasCustomLinksBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomLinksBulkUpdateWithResponse(ctx context.Context, body ExtrasCustomLinksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkUpdateResponse, error) { + rsp, err := c.ExtrasCustomLinksBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksBulkUpdateResponse(rsp) +} + +// ExtrasCustomLinksDestroyWithResponse request returning *ExtrasCustomLinksDestroyResponse +func (c *ClientWithResponses) ExtrasCustomLinksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksDestroyResponse, error) { + rsp, err := c.ExtrasCustomLinksDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksDestroyResponse(rsp) +} + +// ExtrasCustomLinksRetrieveWithResponse request returning *ExtrasCustomLinksRetrieveResponse +func (c *ClientWithResponses) ExtrasCustomLinksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksRetrieveResponse, error) { + rsp, err := c.ExtrasCustomLinksRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksRetrieveResponse(rsp) +} + +// ExtrasCustomLinksPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomLinksPartialUpdateResponse +func (c *ClientWithResponses) ExtrasCustomLinksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomLinksPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomLinksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksPartialUpdateResponse, error) { + rsp, err := c.ExtrasCustomLinksPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksPartialUpdateResponse(rsp) +} + +// ExtrasCustomLinksUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomLinksUpdateResponse +func (c *ClientWithResponses) ExtrasCustomLinksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksUpdateResponse, error) { + rsp, err := c.ExtrasCustomLinksUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomLinksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksUpdateResponse, error) { + rsp, err := c.ExtrasCustomLinksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksUpdateResponse(rsp) +} + +// ExtrasDynamicGroupsBulkDestroyWithResponse request returning *ExtrasDynamicGroupsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkDestroyResponse, error) { + rsp, err := c.ExtrasDynamicGroupsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsBulkDestroyResponse(rsp) +} + +// ExtrasDynamicGroupsListWithResponse request returning *ExtrasDynamicGroupsListResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsListWithResponse(ctx context.Context, params *ExtrasDynamicGroupsListParams, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsListResponse, error) { + rsp, err := c.ExtrasDynamicGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsListResponse(rsp) +} + +// ExtrasDynamicGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsBulkPartialUpdateResponse(rsp) +} + +// ExtrasDynamicGroupsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupsCreateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsCreateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupsCreateWithResponse(ctx context.Context, body ExtrasDynamicGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsCreateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsCreateResponse(rsp) +} + +// ExtrasDynamicGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupsBulkUpdateWithResponse(ctx context.Context, body ExtrasDynamicGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsBulkUpdateResponse(rsp) +} + +// ExtrasDynamicGroupsDestroyWithResponse request returning *ExtrasDynamicGroupsDestroyResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsDestroyResponse, error) { + rsp, err := c.ExtrasDynamicGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsDestroyResponse(rsp) +} + +// ExtrasDynamicGroupsRetrieveWithResponse request returning *ExtrasDynamicGroupsRetrieveResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsRetrieveResponse, error) { + rsp, err := c.ExtrasDynamicGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsRetrieveResponse(rsp) +} + +// ExtrasDynamicGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsPartialUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsPartialUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsPartialUpdateResponse(rsp) +} + +// ExtrasDynamicGroupsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupsUpdateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsUpdateResponse(rsp) +} + +// ExtrasDynamicGroupsMembersRetrieveWithResponse request returning *ExtrasDynamicGroupsMembersRetrieveResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsMembersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsMembersRetrieveResponse, error) { + rsp, err := c.ExtrasDynamicGroupsMembersRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsMembersRetrieveResponse(rsp) +} + +// ExtrasExportTemplatesBulkDestroyWithResponse request returning *ExtrasExportTemplatesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasExportTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) { + rsp, err := c.ExtrasExportTemplatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesBulkDestroyResponse(rsp) +} + +// ExtrasExportTemplatesListWithResponse request returning *ExtrasExportTemplatesListResponse +func (c *ClientWithResponses) ExtrasExportTemplatesListWithResponse(ctx context.Context, params *ExtrasExportTemplatesListParams, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesListResponse, error) { + rsp, err := c.ExtrasExportTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesListResponse(rsp) +} + +// ExtrasExportTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasExportTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasExportTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasExportTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasExportTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasExportTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesBulkPartialUpdateResponse(rsp) +} + +// ExtrasExportTemplatesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasExportTemplatesCreateResponse +func (c *ClientWithResponses) ExtrasExportTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesCreateResponse, error) { + rsp, err := c.ExtrasExportTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasExportTemplatesCreateWithResponse(ctx context.Context, body ExtrasExportTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesCreateResponse, error) { + rsp, err := c.ExtrasExportTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesCreateResponse(rsp) +} + +// ExtrasExportTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasExportTemplatesBulkUpdateResponse +func (c *ClientWithResponses) ExtrasExportTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkUpdateResponse, error) { + rsp, err := c.ExtrasExportTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasExportTemplatesBulkUpdateWithResponse(ctx context.Context, body ExtrasExportTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkUpdateResponse, error) { + rsp, err := c.ExtrasExportTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesBulkUpdateResponse(rsp) +} + +// ExtrasExportTemplatesDestroyWithResponse request returning *ExtrasExportTemplatesDestroyResponse +func (c *ClientWithResponses) ExtrasExportTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesDestroyResponse, error) { + rsp, err := c.ExtrasExportTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesDestroyResponse(rsp) +} + +// ExtrasExportTemplatesRetrieveWithResponse request returning *ExtrasExportTemplatesRetrieveResponse +func (c *ClientWithResponses) ExtrasExportTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesRetrieveResponse, error) { + rsp, err := c.ExtrasExportTemplatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesRetrieveResponse(rsp) +} + +// ExtrasExportTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasExportTemplatesPartialUpdateResponse +func (c *ClientWithResponses) ExtrasExportTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesPartialUpdateResponse, error) { + rsp, err := c.ExtrasExportTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasExportTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesPartialUpdateResponse, error) { + rsp, err := c.ExtrasExportTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesPartialUpdateResponse(rsp) +} + +// ExtrasExportTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasExportTemplatesUpdateResponse +func (c *ClientWithResponses) ExtrasExportTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesUpdateResponse, error) { + rsp, err := c.ExtrasExportTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasExportTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesUpdateResponse, error) { + rsp, err := c.ExtrasExportTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesUpdateResponse(rsp) +} + +// ExtrasGitRepositoriesBulkDestroyWithResponse request returning *ExtrasGitRepositoriesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkDestroyResponse, error) { + rsp, err := c.ExtrasGitRepositoriesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesBulkDestroyResponse(rsp) +} + +// ExtrasGitRepositoriesListWithResponse request returning *ExtrasGitRepositoriesListResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesListWithResponse(ctx context.Context, params *ExtrasGitRepositoriesListParams, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesListResponse, error) { + rsp, err := c.ExtrasGitRepositoriesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesListResponse(rsp) +} + +// ExtrasGitRepositoriesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasGitRepositoriesBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGitRepositoriesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesBulkPartialUpdateResponse(rsp) +} + +// ExtrasGitRepositoriesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasGitRepositoriesCreateResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesCreateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGitRepositoriesCreateWithResponse(ctx context.Context, body ExtrasGitRepositoriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesCreateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesCreateResponse(rsp) +} + +// ExtrasGitRepositoriesBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasGitRepositoriesBulkUpdateResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkUpdateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGitRepositoriesBulkUpdateWithResponse(ctx context.Context, body ExtrasGitRepositoriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkUpdateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesBulkUpdateResponse(rsp) +} + +// ExtrasGitRepositoriesDestroyWithResponse request returning *ExtrasGitRepositoriesDestroyResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesDestroyResponse, error) { + rsp, err := c.ExtrasGitRepositoriesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesDestroyResponse(rsp) +} + +// ExtrasGitRepositoriesRetrieveWithResponse request returning *ExtrasGitRepositoriesRetrieveResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesRetrieveResponse, error) { + rsp, err := c.ExtrasGitRepositoriesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesRetrieveResponse(rsp) +} + +// ExtrasGitRepositoriesPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasGitRepositoriesPartialUpdateResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesPartialUpdateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGitRepositoriesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesPartialUpdateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesPartialUpdateResponse(rsp) +} + +// ExtrasGitRepositoriesUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasGitRepositoriesUpdateResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesUpdateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGitRepositoriesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesUpdateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesSyncCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGitRepositoriesSyncCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesSyncCreateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesSyncCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesSyncCreateResponse(rsp) +} + +// ExtrasGraphqlQueriesBulkDestroyWithResponse request returning *ExtrasGraphqlQueriesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkDestroyResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesBulkDestroyResponse(rsp) +} + +// ExtrasGraphqlQueriesListWithResponse request returning *ExtrasGraphqlQueriesListResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesListWithResponse(ctx context.Context, params *ExtrasGraphqlQueriesListParams, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesListResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesListResponse(rsp) +} + +// ExtrasGraphqlQueriesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasGraphqlQueriesBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGraphqlQueriesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesBulkPartialUpdateResponse(rsp) +} + +// ExtrasGraphqlQueriesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasGraphqlQueriesCreateResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesCreateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGraphqlQueriesCreateWithResponse(ctx context.Context, body ExtrasGraphqlQueriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesCreateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesCreateResponse(rsp) +} + +// ExtrasGraphqlQueriesBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasGraphqlQueriesBulkUpdateResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkUpdateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGraphqlQueriesBulkUpdateWithResponse(ctx context.Context, body ExtrasGraphqlQueriesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkUpdateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesBulkUpdateResponse(rsp) +} + +// ExtrasGraphqlQueriesDestroyWithResponse request returning *ExtrasGraphqlQueriesDestroyResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesDestroyResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesDestroyResponse(rsp) +} + +// ExtrasGraphqlQueriesRetrieveWithResponse request returning *ExtrasGraphqlQueriesRetrieveResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesRetrieveResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesRetrieveResponse(rsp) +} + +// ExtrasGraphqlQueriesPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasGraphqlQueriesPartialUpdateResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesPartialUpdateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGraphqlQueriesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesPartialUpdateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesPartialUpdateResponse(rsp) +} + +// ExtrasGraphqlQueriesUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasGraphqlQueriesUpdateResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesUpdateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGraphqlQueriesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesUpdateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesRunCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGraphqlQueriesRunCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesRunCreateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesRunCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesRunCreateResponse(rsp) +} + +// ExtrasImageAttachmentsBulkDestroyWithResponse request returning *ExtrasImageAttachmentsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) { + rsp, err := c.ExtrasImageAttachmentsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsBulkDestroyResponse(rsp) +} + +// ExtrasImageAttachmentsListWithResponse request returning *ExtrasImageAttachmentsListResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsListWithResponse(ctx context.Context, params *ExtrasImageAttachmentsListParams, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsListResponse, error) { + rsp, err := c.ExtrasImageAttachmentsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsListResponse(rsp) +} + +// ExtrasImageAttachmentsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasImageAttachmentsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasImageAttachmentsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsBulkPartialUpdateResponse(rsp) +} + +// ExtrasImageAttachmentsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasImageAttachmentsCreateResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsCreateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasImageAttachmentsCreateWithResponse(ctx context.Context, body ExtrasImageAttachmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsCreateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsCreateResponse(rsp) +} + +// ExtrasImageAttachmentsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasImageAttachmentsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkUpdateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasImageAttachmentsBulkUpdateWithResponse(ctx context.Context, body ExtrasImageAttachmentsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkUpdateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsBulkUpdateResponse(rsp) +} + +// ExtrasImageAttachmentsDestroyWithResponse request returning *ExtrasImageAttachmentsDestroyResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsDestroyResponse, error) { + rsp, err := c.ExtrasImageAttachmentsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsDestroyResponse(rsp) +} + +// ExtrasImageAttachmentsRetrieveWithResponse request returning *ExtrasImageAttachmentsRetrieveResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsRetrieveResponse, error) { + rsp, err := c.ExtrasImageAttachmentsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsRetrieveResponse(rsp) +} + +// ExtrasImageAttachmentsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasImageAttachmentsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsPartialUpdateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasImageAttachmentsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsPartialUpdateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsPartialUpdateResponse(rsp) +} + +// ExtrasImageAttachmentsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasImageAttachmentsUpdateResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsUpdateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasImageAttachmentsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsUpdateResponse, error) { + rsp, err := c.ExtrasImageAttachmentsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseExtrasJobLogsListResponse(rsp) +} + +// ExtrasJobLogsRetrieveWithResponse request returning *ExtrasJobLogsRetrieveResponse +func (c *ClientWithResponses) ExtrasJobLogsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobLogsRetrieveResponse, error) { + rsp, err := c.ExtrasJobLogsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobLogsRetrieveResponse(rsp) +} + +// ExtrasJobResultsBulkDestroyWithResponse request returning *ExtrasJobResultsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasJobResultsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkDestroyResponse, error) { + rsp, err := c.ExtrasJobResultsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobResultsBulkDestroyResponse(rsp) +} + +// ExtrasJobResultsListWithResponse request returning *ExtrasJobResultsListResponse +func (c *ClientWithResponses) ExtrasJobResultsListWithResponse(ctx context.Context, params *ExtrasJobResultsListParams, reqEditors ...RequestEditorFn) (*ExtrasJobResultsListResponse, error) { + rsp, err := c.ExtrasJobResultsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + 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...) + if err != nil { + return nil, err + } + return ParseExtrasJobResultsDestroyResponse(rsp) +} + +// ExtrasJobResultsRetrieveWithResponse request returning *ExtrasJobResultsRetrieveResponse +func (c *ClientWithResponses) ExtrasJobResultsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobResultsRetrieveResponse, error) { + rsp, err := c.ExtrasJobResultsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + 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...) + if err != nil { + return nil, err + } + return ParseExtrasJobResultsLogsRetrieveResponse(rsp) +} + +// ExtrasJobsBulkDestroyWithResponse request returning *ExtrasJobsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasJobsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkDestroyResponse, error) { + rsp, err := c.ExtrasJobsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsBulkDestroyResponse(rsp) +} + +// ExtrasJobsListWithResponse request returning *ExtrasJobsListResponse +func (c *ClientWithResponses) ExtrasJobsListWithResponse(ctx context.Context, params *ExtrasJobsListParams, reqEditors ...RequestEditorFn) (*ExtrasJobsListResponse, error) { + rsp, err := c.ExtrasJobsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsListResponse(rsp) +} + +// ExtrasJobsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasJobsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasJobsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasJobsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasJobsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsBulkPartialUpdateResponse(rsp) +} + +// ExtrasJobsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasJobsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkUpdateResponse, error) { + rsp, err := c.ExtrasJobsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobsBulkUpdateWithResponse(ctx context.Context, body ExtrasJobsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkUpdateResponse, error) { + rsp, err := c.ExtrasJobsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsBulkUpdateResponse(rsp) +} + +// ExtrasJobsReadDeprecatedWithResponse request returning *ExtrasJobsReadDeprecatedResponse +func (c *ClientWithResponses) ExtrasJobsReadDeprecatedWithResponse(ctx context.Context, classPath string, reqEditors ...RequestEditorFn) (*ExtrasJobsReadDeprecatedResponse, error) { + rsp, err := c.ExtrasJobsReadDeprecated(ctx, classPath, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsReadDeprecatedResponse(rsp) +} + +// ExtrasJobsRunDeprecatedWithBodyWithResponse request with arbitrary body returning *ExtrasJobsRunDeprecatedResponse +func (c *ClientWithResponses) ExtrasJobsRunDeprecatedWithBodyWithResponse(ctx context.Context, classPath string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsRunDeprecatedResponse, error) { + rsp, err := c.ExtrasJobsRunDeprecatedWithBody(ctx, classPath, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsRunDeprecatedResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobsRunDeprecatedWithResponse(ctx context.Context, classPath string, body ExtrasJobsRunDeprecatedJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsRunDeprecatedResponse, error) { + rsp, err := c.ExtrasJobsRunDeprecated(ctx, classPath, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsRunDeprecatedResponse(rsp) +} + +// ExtrasJobsDestroyWithResponse request returning *ExtrasJobsDestroyResponse +func (c *ClientWithResponses) ExtrasJobsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobsDestroyResponse, error) { + rsp, err := c.ExtrasJobsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsDestroyResponse(rsp) +} + +// ExtrasJobsRetrieveWithResponse request returning *ExtrasJobsRetrieveResponse +func (c *ClientWithResponses) ExtrasJobsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobsRetrieveResponse, error) { + rsp, err := c.ExtrasJobsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsRetrieveResponse(rsp) +} + +// ExtrasJobsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasJobsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsPartialUpdateResponse, error) { + rsp, err := c.ExtrasJobsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsPartialUpdateResponse, error) { + rsp, err := c.ExtrasJobsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsPartialUpdateResponse(rsp) +} + +// ExtrasJobsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobsUpdateResponse +func (c *ClientWithResponses) ExtrasJobsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsUpdateResponse, error) { + rsp, err := c.ExtrasJobsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsUpdateResponse, error) { + rsp, err := c.ExtrasJobsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseExtrasJobsRunCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobsRunCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobsRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsRunCreateResponse, error) { + rsp, err := c.ExtrasJobsRunCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsRunCreateResponse(rsp) +} + +// ExtrasJobsVariablesListWithResponse request returning *ExtrasJobsVariablesListResponse +func (c *ClientWithResponses) ExtrasJobsVariablesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsVariablesListParams, reqEditors ...RequestEditorFn) (*ExtrasJobsVariablesListResponse, error) { + rsp, err := c.ExtrasJobsVariablesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsVariablesListResponse(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...) + if err != nil { + return nil, err + } + return ParseExtrasObjectChangesListResponse(rsp) +} + +// ExtrasObjectChangesRetrieveWithResponse request returning *ExtrasObjectChangesRetrieveResponse +func (c *ClientWithResponses) ExtrasObjectChangesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasObjectChangesRetrieveResponse, error) { + rsp, err := c.ExtrasObjectChangesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasObjectChangesRetrieveResponse(rsp) +} + +// ExtrasRelationshipAssociationsBulkDestroyWithResponse request returning *ExtrasRelationshipAssociationsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkDestroyResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsBulkDestroyResponse(rsp) +} + +// ExtrasRelationshipAssociationsListWithResponse request returning *ExtrasRelationshipAssociationsListResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsListWithResponse(ctx context.Context, params *ExtrasRelationshipAssociationsListParams, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsListResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsListResponse(rsp) +} + +// ExtrasRelationshipAssociationsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipAssociationsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipAssociationsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsBulkPartialUpdateResponse(rsp) +} + +// ExtrasRelationshipAssociationsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipAssociationsCreateResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsCreateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipAssociationsCreateWithResponse(ctx context.Context, body ExtrasRelationshipAssociationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsCreateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsCreateResponse(rsp) +} + +// ExtrasRelationshipAssociationsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipAssociationsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipAssociationsBulkUpdateWithResponse(ctx context.Context, body ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsBulkUpdateResponse(rsp) +} + +// ExtrasRelationshipAssociationsDestroyWithResponse request returning *ExtrasRelationshipAssociationsDestroyResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsDestroyResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsDestroyResponse(rsp) +} + +// ExtrasRelationshipAssociationsRetrieveWithResponse request returning *ExtrasRelationshipAssociationsRetrieveResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsRetrieveResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsRetrieveResponse(rsp) +} + +// ExtrasRelationshipAssociationsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipAssociationsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsPartialUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipAssociationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsPartialUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsPartialUpdateResponse(rsp) +} + +// ExtrasRelationshipAssociationsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipAssociationsUpdateResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipAssociationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsUpdateResponse(rsp) +} + +// ExtrasRelationshipsBulkDestroyWithResponse request returning *ExtrasRelationshipsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasRelationshipsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkDestroyResponse, error) { + rsp, err := c.ExtrasRelationshipsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsBulkDestroyResponse(rsp) +} + +// ExtrasRelationshipsListWithResponse request returning *ExtrasRelationshipsListResponse +func (c *ClientWithResponses) ExtrasRelationshipsListWithResponse(ctx context.Context, params *ExtrasRelationshipsListParams, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsListResponse, error) { + rsp, err := c.ExtrasRelationshipsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsListResponse(rsp) +} + +// ExtrasRelationshipsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasRelationshipsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasRelationshipsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsBulkPartialUpdateResponse(rsp) +} + +// ExtrasRelationshipsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipsCreateResponse +func (c *ClientWithResponses) ExtrasRelationshipsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsCreateResponse, error) { + rsp, err := c.ExtrasRelationshipsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipsCreateWithResponse(ctx context.Context, body ExtrasRelationshipsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsCreateResponse, error) { + rsp, err := c.ExtrasRelationshipsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsCreateResponse(rsp) +} + +// ExtrasRelationshipsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasRelationshipsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipsBulkUpdateWithResponse(ctx context.Context, body ExtrasRelationshipsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsBulkUpdateResponse(rsp) +} + +// ExtrasRelationshipsDestroyWithResponse request returning *ExtrasRelationshipsDestroyResponse +func (c *ClientWithResponses) ExtrasRelationshipsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsDestroyResponse, error) { + rsp, err := c.ExtrasRelationshipsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsDestroyResponse(rsp) +} + +// ExtrasRelationshipsRetrieveWithResponse request returning *ExtrasRelationshipsRetrieveResponse +func (c *ClientWithResponses) ExtrasRelationshipsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsRetrieveResponse, error) { + rsp, err := c.ExtrasRelationshipsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsRetrieveResponse(rsp) +} + +// ExtrasRelationshipsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasRelationshipsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsPartialUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsPartialUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsPartialUpdateResponse(rsp) +} + +// ExtrasRelationshipsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipsUpdateResponse +func (c *ClientWithResponses) ExtrasRelationshipsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsUpdateResponse, error) { + rsp, err := c.ExtrasRelationshipsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseExtrasScheduledJobsListResponse(rsp) +} + +// ExtrasScheduledJobsRetrieveWithResponse request returning *ExtrasScheduledJobsRetrieveResponse +func (c *ClientWithResponses) ExtrasScheduledJobsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsRetrieveResponse, error) { + rsp, err := c.ExtrasScheduledJobsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScheduledJobsRetrieveResponse(rsp) +} + +// ExtrasScheduledJobsApproveCreateWithResponse request returning *ExtrasScheduledJobsApproveCreateResponse +func (c *ClientWithResponses) ExtrasScheduledJobsApproveCreateWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasScheduledJobsApproveCreateParams, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsApproveCreateResponse, error) { + rsp, err := c.ExtrasScheduledJobsApproveCreate(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScheduledJobsApproveCreateResponse(rsp) +} + +// ExtrasScheduledJobsDenyCreateWithResponse request returning *ExtrasScheduledJobsDenyCreateResponse +func (c *ClientWithResponses) ExtrasScheduledJobsDenyCreateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsDenyCreateResponse, error) { + rsp, err := c.ExtrasScheduledJobsDenyCreate(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScheduledJobsDenyCreateResponse(rsp) +} + +// ExtrasScheduledJobsDryRunCreateWithResponse request returning *ExtrasScheduledJobsDryRunCreateResponse +func (c *ClientWithResponses) ExtrasScheduledJobsDryRunCreateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsDryRunCreateResponse, error) { + rsp, err := c.ExtrasScheduledJobsDryRunCreate(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasScheduledJobsDryRunCreateResponse(rsp) +} + +// ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse request returning *ExtrasSecretsGroupsAssociationsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsBulkDestroyResponse(rsp) +} + +// ExtrasSecretsGroupsAssociationsListWithResponse request returning *ExtrasSecretsGroupsAssociationsListResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsListWithResponse(ctx context.Context, params *ExtrasSecretsGroupsAssociationsListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsListResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsListResponse(rsp) +} + +// ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse(rsp) +} + +// ExtrasSecretsGroupsAssociationsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsAssociationsCreateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsCreateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsCreateWithResponse(ctx context.Context, body ExtrasSecretsGroupsAssociationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsCreateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsCreateResponse(rsp) +} + +// ExtrasSecretsGroupsAssociationsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsAssociationsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsBulkUpdateWithResponse(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsBulkUpdateResponse(rsp) +} + +// ExtrasSecretsGroupsAssociationsDestroyWithResponse request returning *ExtrasSecretsGroupsAssociationsDestroyResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsDestroyResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsDestroyResponse(rsp) +} + +// ExtrasSecretsGroupsAssociationsRetrieveWithResponse request returning *ExtrasSecretsGroupsAssociationsRetrieveResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsRetrieveResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsRetrieveResponse(rsp) +} + +// ExtrasSecretsGroupsAssociationsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsAssociationsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsPartialUpdateResponse(rsp) +} + +// ExtrasSecretsGroupsAssociationsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsAssociationsUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsUpdateResponse(rsp) +} + +// ExtrasSecretsGroupsBulkDestroyWithResponse request returning *ExtrasSecretsGroupsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkDestroyResponse, error) { + rsp, err := c.ExtrasSecretsGroupsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsBulkDestroyResponse(rsp) +} + +// ExtrasSecretsGroupsListWithResponse request returning *ExtrasSecretsGroupsListResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsListWithResponse(ctx context.Context, params *ExtrasSecretsGroupsListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsListResponse, error) { + rsp, err := c.ExtrasSecretsGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsListResponse(rsp) +} + +// ExtrasSecretsGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsBulkPartialUpdateResponse(rsp) +} + +// ExtrasSecretsGroupsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsCreateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsCreateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsCreateWithResponse(ctx context.Context, body ExtrasSecretsGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsCreateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsCreateResponse(rsp) +} + +// ExtrasSecretsGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsBulkUpdateWithResponse(ctx context.Context, body ExtrasSecretsGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsBulkUpdateResponse(rsp) +} + +// ExtrasSecretsGroupsDestroyWithResponse request returning *ExtrasSecretsGroupsDestroyResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsDestroyResponse, error) { + rsp, err := c.ExtrasSecretsGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsDestroyResponse(rsp) +} + +// ExtrasSecretsGroupsRetrieveWithResponse request returning *ExtrasSecretsGroupsRetrieveResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsRetrieveResponse, error) { + rsp, err := c.ExtrasSecretsGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsRetrieveResponse(rsp) +} + +// ExtrasSecretsGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsPartialUpdateResponse(rsp) +} + +// ExtrasSecretsGroupsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsUpdateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsUpdateResponse(rsp) +} + +// ExtrasSecretsBulkDestroyWithResponse request returning *ExtrasSecretsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasSecretsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkDestroyResponse, error) { + rsp, err := c.ExtrasSecretsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsBulkDestroyResponse(rsp) +} + +// ExtrasSecretsListWithResponse request returning *ExtrasSecretsListResponse +func (c *ClientWithResponses) ExtrasSecretsListWithResponse(ctx context.Context, params *ExtrasSecretsListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsListResponse, error) { + rsp, err := c.ExtrasSecretsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsListResponse(rsp) +} + +// ExtrasSecretsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasSecretsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsBulkPartialUpdateResponse(rsp) +} + +// ExtrasSecretsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsCreateResponse +func (c *ClientWithResponses) ExtrasSecretsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsCreateResponse, error) { + rsp, err := c.ExtrasSecretsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsCreateWithResponse(ctx context.Context, body ExtrasSecretsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsCreateResponse, error) { + rsp, err := c.ExtrasSecretsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsCreateResponse(rsp) +} + +// ExtrasSecretsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkUpdateResponse, error) { + rsp, err := c.ExtrasSecretsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsBulkUpdateWithResponse(ctx context.Context, body ExtrasSecretsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkUpdateResponse, error) { + rsp, err := c.ExtrasSecretsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsBulkUpdateResponse(rsp) +} + +// ExtrasSecretsDestroyWithResponse request returning *ExtrasSecretsDestroyResponse +func (c *ClientWithResponses) ExtrasSecretsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsDestroyResponse, error) { + rsp, err := c.ExtrasSecretsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsDestroyResponse(rsp) +} + +// ExtrasSecretsRetrieveWithResponse request returning *ExtrasSecretsRetrieveResponse +func (c *ClientWithResponses) ExtrasSecretsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasSecretsRetrieveResponse, error) { + rsp, err := c.ExtrasSecretsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsRetrieveResponse(rsp) +} + +// ExtrasSecretsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsPartialUpdateResponse, error) { + rsp, err := c.ExtrasSecretsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsPartialUpdateResponse(rsp) +} + +// ExtrasSecretsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsUpdateResponse +func (c *ClientWithResponses) ExtrasSecretsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsUpdateResponse, error) { + rsp, err := c.ExtrasSecretsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsUpdateResponse, error) { + rsp, err := c.ExtrasSecretsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsUpdateResponse(rsp) +} + +// ExtrasStatusesBulkDestroyWithResponse request returning *ExtrasStatusesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasStatusesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkDestroyResponse, error) { + rsp, err := c.ExtrasStatusesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesBulkDestroyResponse(rsp) +} + +// ExtrasStatusesListWithResponse request returning *ExtrasStatusesListResponse +func (c *ClientWithResponses) ExtrasStatusesListWithResponse(ctx context.Context, params *ExtrasStatusesListParams, reqEditors ...RequestEditorFn) (*ExtrasStatusesListResponse, error) { + rsp, err := c.ExtrasStatusesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesListResponse(rsp) +} + +// ExtrasStatusesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasStatusesBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasStatusesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasStatusesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasStatusesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasStatusesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasStatusesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesBulkPartialUpdateResponse(rsp) +} + +// ExtrasStatusesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasStatusesCreateResponse +func (c *ClientWithResponses) ExtrasStatusesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesCreateResponse, error) { + rsp, err := c.ExtrasStatusesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasStatusesCreateWithResponse(ctx context.Context, body ExtrasStatusesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesCreateResponse, error) { + rsp, err := c.ExtrasStatusesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesCreateResponse(rsp) +} + +// ExtrasStatusesBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasStatusesBulkUpdateResponse +func (c *ClientWithResponses) ExtrasStatusesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkUpdateResponse, error) { + rsp, err := c.ExtrasStatusesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasStatusesBulkUpdateWithResponse(ctx context.Context, body ExtrasStatusesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkUpdateResponse, error) { + rsp, err := c.ExtrasStatusesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesBulkUpdateResponse(rsp) +} + +// ExtrasStatusesDestroyWithResponse request returning *ExtrasStatusesDestroyResponse +func (c *ClientWithResponses) ExtrasStatusesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasStatusesDestroyResponse, error) { + rsp, err := c.ExtrasStatusesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesDestroyResponse(rsp) +} + +// ExtrasStatusesRetrieveWithResponse request returning *ExtrasStatusesRetrieveResponse +func (c *ClientWithResponses) ExtrasStatusesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasStatusesRetrieveResponse, error) { + rsp, err := c.ExtrasStatusesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesRetrieveResponse(rsp) +} + +// ExtrasStatusesPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasStatusesPartialUpdateResponse +func (c *ClientWithResponses) ExtrasStatusesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesPartialUpdateResponse, error) { + rsp, err := c.ExtrasStatusesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasStatusesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesPartialUpdateResponse, error) { + rsp, err := c.ExtrasStatusesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesPartialUpdateResponse(rsp) +} + +// ExtrasStatusesUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasStatusesUpdateResponse +func (c *ClientWithResponses) ExtrasStatusesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesUpdateResponse, error) { + rsp, err := c.ExtrasStatusesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasStatusesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesUpdateResponse, error) { + rsp, err := c.ExtrasStatusesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesUpdateResponse(rsp) +} + +// ExtrasTagsBulkDestroyWithResponse request returning *ExtrasTagsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasTagsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) { + rsp, err := c.ExtrasTagsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsBulkDestroyResponse(rsp) +} + +// ExtrasTagsListWithResponse request returning *ExtrasTagsListResponse +func (c *ClientWithResponses) ExtrasTagsListWithResponse(ctx context.Context, params *ExtrasTagsListParams, reqEditors ...RequestEditorFn) (*ExtrasTagsListResponse, error) { + rsp, err := c.ExtrasTagsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsListResponse(rsp) +} + +// ExtrasTagsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasTagsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasTagsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasTagsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasTagsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasTagsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasTagsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsBulkPartialUpdateResponse(rsp) +} + +// ExtrasTagsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasTagsCreateResponse +func (c *ClientWithResponses) ExtrasTagsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsCreateResponse, error) { + rsp, err := c.ExtrasTagsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasTagsCreateWithResponse(ctx context.Context, body ExtrasTagsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsCreateResponse, error) { + rsp, err := c.ExtrasTagsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsCreateResponse(rsp) +} + +// ExtrasTagsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasTagsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasTagsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkUpdateResponse, error) { + rsp, err := c.ExtrasTagsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasTagsBulkUpdateWithResponse(ctx context.Context, body ExtrasTagsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkUpdateResponse, error) { + rsp, err := c.ExtrasTagsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsBulkUpdateResponse(rsp) +} + +// ExtrasTagsDestroyWithResponse request returning *ExtrasTagsDestroyResponse +func (c *ClientWithResponses) ExtrasTagsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasTagsDestroyResponse, error) { + rsp, err := c.ExtrasTagsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsDestroyResponse(rsp) +} + +// ExtrasTagsRetrieveWithResponse request returning *ExtrasTagsRetrieveResponse +func (c *ClientWithResponses) ExtrasTagsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasTagsRetrieveResponse, error) { + rsp, err := c.ExtrasTagsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsRetrieveResponse(rsp) +} + +// ExtrasTagsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasTagsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasTagsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsPartialUpdateResponse, error) { + rsp, err := c.ExtrasTagsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasTagsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasTagsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsPartialUpdateResponse, error) { + rsp, err := c.ExtrasTagsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsPartialUpdateResponse(rsp) +} + +// ExtrasTagsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasTagsUpdateResponse +func (c *ClientWithResponses) ExtrasTagsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsUpdateResponse, error) { + rsp, err := c.ExtrasTagsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasTagsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasTagsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsUpdateResponse, error) { + rsp, err := c.ExtrasTagsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsUpdateResponse(rsp) +} + +// ExtrasWebhooksBulkDestroyWithResponse request returning *ExtrasWebhooksBulkDestroyResponse +func (c *ClientWithResponses) ExtrasWebhooksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) { + rsp, err := c.ExtrasWebhooksBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksBulkDestroyResponse(rsp) +} + +// ExtrasWebhooksListWithResponse request returning *ExtrasWebhooksListResponse +func (c *ClientWithResponses) ExtrasWebhooksListWithResponse(ctx context.Context, params *ExtrasWebhooksListParams, reqEditors ...RequestEditorFn) (*ExtrasWebhooksListResponse, error) { + rsp, err := c.ExtrasWebhooksList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksListResponse(rsp) +} + +// ExtrasWebhooksBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasWebhooksBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasWebhooksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasWebhooksBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasWebhooksBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasWebhooksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasWebhooksBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksBulkPartialUpdateResponse(rsp) +} + +// ExtrasWebhooksCreateWithBodyWithResponse request with arbitrary body returning *ExtrasWebhooksCreateResponse +func (c *ClientWithResponses) ExtrasWebhooksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksCreateResponse, error) { + rsp, err := c.ExtrasWebhooksCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasWebhooksCreateWithResponse(ctx context.Context, body ExtrasWebhooksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksCreateResponse, error) { + rsp, err := c.ExtrasWebhooksCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksCreateResponse(rsp) +} + +// ExtrasWebhooksBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasWebhooksBulkUpdateResponse +func (c *ClientWithResponses) ExtrasWebhooksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkUpdateResponse, error) { + rsp, err := c.ExtrasWebhooksBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasWebhooksBulkUpdateWithResponse(ctx context.Context, body ExtrasWebhooksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkUpdateResponse, error) { + rsp, err := c.ExtrasWebhooksBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksBulkUpdateResponse(rsp) +} + +// ExtrasWebhooksDestroyWithResponse request returning *ExtrasWebhooksDestroyResponse +func (c *ClientWithResponses) ExtrasWebhooksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasWebhooksDestroyResponse, error) { + rsp, err := c.ExtrasWebhooksDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksDestroyResponse(rsp) +} + +// ExtrasWebhooksRetrieveWithResponse request returning *ExtrasWebhooksRetrieveResponse +func (c *ClientWithResponses) ExtrasWebhooksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasWebhooksRetrieveResponse, error) { + rsp, err := c.ExtrasWebhooksRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksRetrieveResponse(rsp) +} + +// ExtrasWebhooksPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasWebhooksPartialUpdateResponse +func (c *ClientWithResponses) ExtrasWebhooksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksPartialUpdateResponse, error) { + rsp, err := c.ExtrasWebhooksPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasWebhooksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksPartialUpdateResponse, error) { + rsp, err := c.ExtrasWebhooksPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksPartialUpdateResponse(rsp) +} + +// ExtrasWebhooksUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasWebhooksUpdateResponse +func (c *ClientWithResponses) ExtrasWebhooksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, error) { + rsp, err := c.ExtrasWebhooksUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasWebhooksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, error) { + rsp, err := c.ExtrasWebhooksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksUpdateResponse(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...) + if err != nil { + return nil, err + } + return ParseGraphqlCreateResponse(rsp) +} + +func (c *ClientWithResponses) GraphqlCreateWithResponse(ctx context.Context, body GraphqlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*GraphqlCreateResponse, error) { + rsp, err := c.GraphqlCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseGraphqlCreateResponse(rsp) +} + +// IpamAggregatesBulkDestroyWithResponse request returning *IpamAggregatesBulkDestroyResponse +func (c *ClientWithResponses) IpamAggregatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) { + rsp, err := c.IpamAggregatesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesBulkDestroyResponse(rsp) +} + +// IpamAggregatesListWithResponse request returning *IpamAggregatesListResponse +func (c *ClientWithResponses) IpamAggregatesListWithResponse(ctx context.Context, params *IpamAggregatesListParams, reqEditors ...RequestEditorFn) (*IpamAggregatesListResponse, error) { + rsp, err := c.IpamAggregatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesListResponse(rsp) +} + +// IpamAggregatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamAggregatesBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamAggregatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamAggregatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAggregatesBulkPartialUpdateWithResponse(ctx context.Context, body IpamAggregatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamAggregatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesBulkPartialUpdateResponse(rsp) +} + +// IpamAggregatesCreateWithBodyWithResponse request with arbitrary body returning *IpamAggregatesCreateResponse +func (c *ClientWithResponses) IpamAggregatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesCreateResponse, error) { + rsp, err := c.IpamAggregatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAggregatesCreateWithResponse(ctx context.Context, body IpamAggregatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesCreateResponse, error) { + rsp, err := c.IpamAggregatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesCreateResponse(rsp) +} + +// IpamAggregatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamAggregatesBulkUpdateResponse +func (c *ClientWithResponses) IpamAggregatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkUpdateResponse, error) { + rsp, err := c.IpamAggregatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAggregatesBulkUpdateWithResponse(ctx context.Context, body IpamAggregatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkUpdateResponse, error) { + rsp, err := c.IpamAggregatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesBulkUpdateResponse(rsp) +} + +// IpamAggregatesDestroyWithResponse request returning *IpamAggregatesDestroyResponse +func (c *ClientWithResponses) IpamAggregatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamAggregatesDestroyResponse, error) { + rsp, err := c.IpamAggregatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesDestroyResponse(rsp) +} + +// IpamAggregatesRetrieveWithResponse request returning *IpamAggregatesRetrieveResponse +func (c *ClientWithResponses) IpamAggregatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamAggregatesRetrieveResponse, error) { + rsp, err := c.IpamAggregatesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesRetrieveResponse(rsp) +} + +// IpamAggregatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamAggregatesPartialUpdateResponse +func (c *ClientWithResponses) IpamAggregatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesPartialUpdateResponse, error) { + rsp, err := c.IpamAggregatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAggregatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamAggregatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesPartialUpdateResponse, error) { + rsp, err := c.IpamAggregatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesPartialUpdateResponse(rsp) +} + +// IpamAggregatesUpdateWithBodyWithResponse request with arbitrary body returning *IpamAggregatesUpdateResponse +func (c *ClientWithResponses) IpamAggregatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesUpdateResponse, error) { + rsp, err := c.IpamAggregatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAggregatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamAggregatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesUpdateResponse, error) { + rsp, err := c.IpamAggregatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesUpdateResponse(rsp) +} + +// IpamIpAddressesBulkDestroyWithResponse request returning *IpamIpAddressesBulkDestroyResponse +func (c *ClientWithResponses) IpamIpAddressesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) { + rsp, err := c.IpamIpAddressesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesBulkDestroyResponse(rsp) +} + +// IpamIpAddressesListWithResponse request returning *IpamIpAddressesListResponse +func (c *ClientWithResponses) IpamIpAddressesListWithResponse(ctx context.Context, params *IpamIpAddressesListParams, reqEditors ...RequestEditorFn) (*IpamIpAddressesListResponse, error) { + rsp, err := c.IpamIpAddressesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesListResponse(rsp) +} + +// IpamIpAddressesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamIpAddressesBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamIpAddressesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamIpAddressesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpAddressesBulkPartialUpdateWithResponse(ctx context.Context, body IpamIpAddressesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamIpAddressesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesBulkPartialUpdateResponse(rsp) +} + +// IpamIpAddressesCreateWithBodyWithResponse request with arbitrary body returning *IpamIpAddressesCreateResponse +func (c *ClientWithResponses) IpamIpAddressesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesCreateResponse, error) { + rsp, err := c.IpamIpAddressesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpAddressesCreateWithResponse(ctx context.Context, body IpamIpAddressesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesCreateResponse, error) { + rsp, err := c.IpamIpAddressesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesCreateResponse(rsp) +} + +// IpamIpAddressesBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamIpAddressesBulkUpdateResponse +func (c *ClientWithResponses) IpamIpAddressesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkUpdateResponse, error) { + rsp, err := c.IpamIpAddressesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpAddressesBulkUpdateWithResponse(ctx context.Context, body IpamIpAddressesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkUpdateResponse, error) { + rsp, err := c.IpamIpAddressesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesBulkUpdateResponse(rsp) +} + +// IpamIpAddressesDestroyWithResponse request returning *IpamIpAddressesDestroyResponse +func (c *ClientWithResponses) IpamIpAddressesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamIpAddressesDestroyResponse, error) { + rsp, err := c.IpamIpAddressesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesDestroyResponse(rsp) +} + +// IpamIpAddressesRetrieveWithResponse request returning *IpamIpAddressesRetrieveResponse +func (c *ClientWithResponses) IpamIpAddressesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamIpAddressesRetrieveResponse, error) { + rsp, err := c.IpamIpAddressesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesRetrieveResponse(rsp) +} + +// IpamIpAddressesPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamIpAddressesPartialUpdateResponse +func (c *ClientWithResponses) IpamIpAddressesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesPartialUpdateResponse, error) { + rsp, err := c.IpamIpAddressesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpAddressesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesPartialUpdateResponse, error) { + rsp, err := c.IpamIpAddressesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesPartialUpdateResponse(rsp) +} + +// IpamIpAddressesUpdateWithBodyWithResponse request with arbitrary body returning *IpamIpAddressesUpdateResponse +func (c *ClientWithResponses) IpamIpAddressesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesUpdateResponse, error) { + rsp, err := c.IpamIpAddressesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpAddressesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesUpdateResponse, error) { + rsp, err := c.IpamIpAddressesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesUpdateResponse(rsp) +} + +// IpamPrefixesBulkDestroyWithResponse request returning *IpamPrefixesBulkDestroyResponse +func (c *ClientWithResponses) IpamPrefixesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) { + rsp, err := c.IpamPrefixesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesBulkDestroyResponse(rsp) +} + +// IpamPrefixesListWithResponse request returning *IpamPrefixesListResponse +func (c *ClientWithResponses) IpamPrefixesListWithResponse(ctx context.Context, params *IpamPrefixesListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesListResponse, error) { + rsp, err := c.IpamPrefixesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesListResponse(rsp) +} + +// IpamPrefixesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamPrefixesBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamPrefixesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamPrefixesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesBulkPartialUpdateWithResponse(ctx context.Context, body IpamPrefixesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamPrefixesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesBulkPartialUpdateResponse(rsp) +} + +// IpamPrefixesCreateWithBodyWithResponse request with arbitrary body returning *IpamPrefixesCreateResponse +func (c *ClientWithResponses) IpamPrefixesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesCreateResponse, error) { + rsp, err := c.IpamPrefixesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesCreateWithResponse(ctx context.Context, body IpamPrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesCreateResponse, error) { + rsp, err := c.IpamPrefixesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesCreateResponse(rsp) +} + +// IpamPrefixesBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamPrefixesBulkUpdateResponse +func (c *ClientWithResponses) IpamPrefixesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkUpdateResponse, error) { + rsp, err := c.IpamPrefixesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesBulkUpdateWithResponse(ctx context.Context, body IpamPrefixesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkUpdateResponse, error) { + rsp, err := c.IpamPrefixesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesBulkUpdateResponse(rsp) +} + +// IpamPrefixesDestroyWithResponse request returning *IpamPrefixesDestroyResponse +func (c *ClientWithResponses) IpamPrefixesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamPrefixesDestroyResponse, error) { + rsp, err := c.IpamPrefixesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesDestroyResponse(rsp) +} + +// IpamPrefixesRetrieveWithResponse request returning *IpamPrefixesRetrieveResponse +func (c *ClientWithResponses) IpamPrefixesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamPrefixesRetrieveResponse, error) { + rsp, err := c.IpamPrefixesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesRetrieveResponse(rsp) +} + +// IpamPrefixesPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamPrefixesPartialUpdateResponse +func (c *ClientWithResponses) IpamPrefixesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesPartialUpdateResponse, error) { + rsp, err := c.IpamPrefixesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamPrefixesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesPartialUpdateResponse, error) { + rsp, err := c.IpamPrefixesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesPartialUpdateResponse(rsp) +} + +// IpamPrefixesUpdateWithBodyWithResponse request with arbitrary body returning *IpamPrefixesUpdateResponse +func (c *ClientWithResponses) IpamPrefixesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesUpdateResponse, error) { + rsp, err := c.IpamPrefixesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamPrefixesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesUpdateResponse, error) { + rsp, err := c.IpamPrefixesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesUpdateResponse(rsp) +} + +// IpamPrefixesAvailableIpsListWithResponse request returning *IpamPrefixesAvailableIpsListResponse +func (c *ClientWithResponses) IpamPrefixesAvailableIpsListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsListResponse, error) { + rsp, err := c.IpamPrefixesAvailableIpsList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + 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...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesAvailableIpsCreateResponse(rsp) +} + +// IpamPrefixesAvailablePrefixesListWithResponse request returning *IpamPrefixesAvailablePrefixesListResponse +func (c *ClientWithResponses) IpamPrefixesAvailablePrefixesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailablePrefixesListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesListResponse, error) { + rsp, err := c.IpamPrefixesAvailablePrefixesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesAvailablePrefixesListResponse(rsp) +} + +// IpamPrefixesAvailablePrefixesCreateWithBodyWithResponse request with arbitrary body returning *IpamPrefixesAvailablePrefixesCreateResponse +func (c *ClientWithResponses) IpamPrefixesAvailablePrefixesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesCreateResponse, error) { + rsp, err := c.IpamPrefixesAvailablePrefixesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesAvailablePrefixesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesAvailablePrefixesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamPrefixesAvailablePrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesCreateResponse, error) { + rsp, err := c.IpamPrefixesAvailablePrefixesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesAvailablePrefixesCreateResponse(rsp) +} + +// IpamRirsBulkDestroyWithResponse request returning *IpamRirsBulkDestroyResponse +func (c *ClientWithResponses) IpamRirsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) { + rsp, err := c.IpamRirsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsBulkDestroyResponse(rsp) +} + +// IpamRirsListWithResponse request returning *IpamRirsListResponse +func (c *ClientWithResponses) IpamRirsListWithResponse(ctx context.Context, params *IpamRirsListParams, reqEditors ...RequestEditorFn) (*IpamRirsListResponse, error) { + rsp, err := c.IpamRirsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsListResponse(rsp) +} + +// IpamRirsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamRirsBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamRirsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamRirsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRirsBulkPartialUpdateWithResponse(ctx context.Context, body IpamRirsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamRirsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsBulkPartialUpdateResponse(rsp) +} + +// IpamRirsCreateWithBodyWithResponse request with arbitrary body returning *IpamRirsCreateResponse +func (c *ClientWithResponses) IpamRirsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsCreateResponse, error) { + rsp, err := c.IpamRirsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRirsCreateWithResponse(ctx context.Context, body IpamRirsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsCreateResponse, error) { + rsp, err := c.IpamRirsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsCreateResponse(rsp) +} + +// IpamRirsBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamRirsBulkUpdateResponse +func (c *ClientWithResponses) IpamRirsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsBulkUpdateResponse, error) { + rsp, err := c.IpamRirsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRirsBulkUpdateWithResponse(ctx context.Context, body IpamRirsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsBulkUpdateResponse, error) { + rsp, err := c.IpamRirsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsBulkUpdateResponse(rsp) +} + +// IpamRirsDestroyWithResponse request returning *IpamRirsDestroyResponse +func (c *ClientWithResponses) IpamRirsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRirsDestroyResponse, error) { + rsp, err := c.IpamRirsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsDestroyResponse(rsp) +} + +// IpamRirsRetrieveWithResponse request returning *IpamRirsRetrieveResponse +func (c *ClientWithResponses) IpamRirsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRirsRetrieveResponse, error) { + rsp, err := c.IpamRirsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsRetrieveResponse(rsp) +} + +// IpamRirsPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamRirsPartialUpdateResponse +func (c *ClientWithResponses) IpamRirsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsPartialUpdateResponse, error) { + rsp, err := c.IpamRirsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRirsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRirsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsPartialUpdateResponse, error) { + rsp, err := c.IpamRirsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsPartialUpdateResponse(rsp) +} + +// IpamRirsUpdateWithBodyWithResponse request with arbitrary body returning *IpamRirsUpdateResponse +func (c *ClientWithResponses) IpamRirsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsUpdateResponse, error) { + rsp, err := c.IpamRirsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRirsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRirsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsUpdateResponse, error) { + rsp, err := c.IpamRirsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsUpdateResponse(rsp) +} + +// IpamRolesBulkDestroyWithResponse request returning *IpamRolesBulkDestroyResponse +func (c *ClientWithResponses) IpamRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) { + rsp, err := c.IpamRolesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesBulkDestroyResponse(rsp) +} + +// IpamRolesListWithResponse request returning *IpamRolesListResponse +func (c *ClientWithResponses) IpamRolesListWithResponse(ctx context.Context, params *IpamRolesListParams, reqEditors ...RequestEditorFn) (*IpamRolesListResponse, error) { + rsp, err := c.IpamRolesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesListResponse(rsp) +} + +// IpamRolesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamRolesBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamRolesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRolesBulkPartialUpdateWithResponse(ctx context.Context, body IpamRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamRolesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesBulkPartialUpdateResponse(rsp) +} + +// IpamRolesCreateWithBodyWithResponse request with arbitrary body returning *IpamRolesCreateResponse +func (c *ClientWithResponses) IpamRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesCreateResponse, error) { + rsp, err := c.IpamRolesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRolesCreateWithResponse(ctx context.Context, body IpamRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesCreateResponse, error) { + rsp, err := c.IpamRolesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesCreateResponse(rsp) +} + +// IpamRolesBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamRolesBulkUpdateResponse +func (c *ClientWithResponses) IpamRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesBulkUpdateResponse, error) { + rsp, err := c.IpamRolesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRolesBulkUpdateWithResponse(ctx context.Context, body IpamRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesBulkUpdateResponse, error) { + rsp, err := c.IpamRolesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesBulkUpdateResponse(rsp) +} + +// IpamRolesDestroyWithResponse request returning *IpamRolesDestroyResponse +func (c *ClientWithResponses) IpamRolesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRolesDestroyResponse, error) { + rsp, err := c.IpamRolesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesDestroyResponse(rsp) +} + +// IpamRolesRetrieveWithResponse request returning *IpamRolesRetrieveResponse +func (c *ClientWithResponses) IpamRolesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRolesRetrieveResponse, error) { + rsp, err := c.IpamRolesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesRetrieveResponse(rsp) +} + +// IpamRolesPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamRolesPartialUpdateResponse +func (c *ClientWithResponses) IpamRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesPartialUpdateResponse, error) { + rsp, err := c.IpamRolesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRolesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesPartialUpdateResponse, error) { + rsp, err := c.IpamRolesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesPartialUpdateResponse(rsp) +} + +// IpamRolesUpdateWithBodyWithResponse request with arbitrary body returning *IpamRolesUpdateResponse +func (c *ClientWithResponses) IpamRolesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesUpdateResponse, error) { + rsp, err := c.IpamRolesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesUpdateResponse, error) { + rsp, err := c.IpamRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesUpdateResponse(rsp) +} + +// IpamRouteTargetsBulkDestroyWithResponse request returning *IpamRouteTargetsBulkDestroyResponse +func (c *ClientWithResponses) IpamRouteTargetsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) { + rsp, err := c.IpamRouteTargetsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsBulkDestroyResponse(rsp) +} + +// IpamRouteTargetsListWithResponse request returning *IpamRouteTargetsListResponse +func (c *ClientWithResponses) IpamRouteTargetsListWithResponse(ctx context.Context, params *IpamRouteTargetsListParams, reqEditors ...RequestEditorFn) (*IpamRouteTargetsListResponse, error) { + rsp, err := c.IpamRouteTargetsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsListResponse(rsp) +} + +// IpamRouteTargetsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamRouteTargetsBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamRouteTargetsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamRouteTargetsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRouteTargetsBulkPartialUpdateWithResponse(ctx context.Context, body IpamRouteTargetsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamRouteTargetsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsBulkPartialUpdateResponse(rsp) +} + +// IpamRouteTargetsCreateWithBodyWithResponse request with arbitrary body returning *IpamRouteTargetsCreateResponse +func (c *ClientWithResponses) IpamRouteTargetsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsCreateResponse, error) { + rsp, err := c.IpamRouteTargetsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRouteTargetsCreateWithResponse(ctx context.Context, body IpamRouteTargetsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsCreateResponse, error) { + rsp, err := c.IpamRouteTargetsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsCreateResponse(rsp) +} + +// IpamRouteTargetsBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamRouteTargetsBulkUpdateResponse +func (c *ClientWithResponses) IpamRouteTargetsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkUpdateResponse, error) { + rsp, err := c.IpamRouteTargetsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRouteTargetsBulkUpdateWithResponse(ctx context.Context, body IpamRouteTargetsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkUpdateResponse, error) { + rsp, err := c.IpamRouteTargetsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsBulkUpdateResponse(rsp) +} + +// IpamRouteTargetsDestroyWithResponse request returning *IpamRouteTargetsDestroyResponse +func (c *ClientWithResponses) IpamRouteTargetsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRouteTargetsDestroyResponse, error) { + rsp, err := c.IpamRouteTargetsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsDestroyResponse(rsp) +} + +// IpamRouteTargetsRetrieveWithResponse request returning *IpamRouteTargetsRetrieveResponse +func (c *ClientWithResponses) IpamRouteTargetsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamRouteTargetsRetrieveResponse, error) { + rsp, err := c.IpamRouteTargetsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsRetrieveResponse(rsp) +} + +// IpamRouteTargetsPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamRouteTargetsPartialUpdateResponse +func (c *ClientWithResponses) IpamRouteTargetsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsPartialUpdateResponse, error) { + rsp, err := c.IpamRouteTargetsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRouteTargetsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsPartialUpdateResponse, error) { + rsp, err := c.IpamRouteTargetsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsPartialUpdateResponse(rsp) +} + +// IpamRouteTargetsUpdateWithBodyWithResponse request with arbitrary body returning *IpamRouteTargetsUpdateResponse +func (c *ClientWithResponses) IpamRouteTargetsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsUpdateResponse, error) { + rsp, err := c.IpamRouteTargetsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRouteTargetsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsUpdateResponse, error) { + rsp, err := c.IpamRouteTargetsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsUpdateResponse(rsp) +} + +// IpamServicesBulkDestroyWithResponse request returning *IpamServicesBulkDestroyResponse +func (c *ClientWithResponses) IpamServicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) { + rsp, err := c.IpamServicesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesBulkDestroyResponse(rsp) +} + +// IpamServicesListWithResponse request returning *IpamServicesListResponse +func (c *ClientWithResponses) IpamServicesListWithResponse(ctx context.Context, params *IpamServicesListParams, reqEditors ...RequestEditorFn) (*IpamServicesListResponse, error) { + rsp, err := c.IpamServicesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesListResponse(rsp) +} + +// IpamServicesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamServicesBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamServicesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamServicesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServicesBulkPartialUpdateWithResponse(ctx context.Context, body IpamServicesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesBulkPartialUpdateResponse, error) { + rsp, err := c.IpamServicesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesBulkPartialUpdateResponse(rsp) +} + +// IpamServicesCreateWithBodyWithResponse request with arbitrary body returning *IpamServicesCreateResponse +func (c *ClientWithResponses) IpamServicesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesCreateResponse, error) { + rsp, err := c.IpamServicesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServicesCreateWithResponse(ctx context.Context, body IpamServicesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesCreateResponse, error) { + rsp, err := c.IpamServicesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesCreateResponse(rsp) +} + +// IpamServicesBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamServicesBulkUpdateResponse +func (c *ClientWithResponses) IpamServicesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesBulkUpdateResponse, error) { + rsp, err := c.IpamServicesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServicesBulkUpdateWithResponse(ctx context.Context, body IpamServicesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesBulkUpdateResponse, error) { + rsp, err := c.IpamServicesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesBulkUpdateResponse(rsp) +} + +// IpamServicesDestroyWithResponse request returning *IpamServicesDestroyResponse +func (c *ClientWithResponses) IpamServicesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamServicesDestroyResponse, error) { + rsp, err := c.IpamServicesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesDestroyResponse(rsp) +} + +// IpamServicesRetrieveWithResponse request returning *IpamServicesRetrieveResponse +func (c *ClientWithResponses) IpamServicesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamServicesRetrieveResponse, error) { + rsp, err := c.IpamServicesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesRetrieveResponse(rsp) +} + +// IpamServicesPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamServicesPartialUpdateResponse +func (c *ClientWithResponses) IpamServicesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesPartialUpdateResponse, error) { + rsp, err := c.IpamServicesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServicesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamServicesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesPartialUpdateResponse, error) { + rsp, err := c.IpamServicesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesPartialUpdateResponse(rsp) +} + +// IpamServicesUpdateWithBodyWithResponse request with arbitrary body returning *IpamServicesUpdateResponse +func (c *ClientWithResponses) IpamServicesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesUpdateResponse, error) { + rsp, err := c.IpamServicesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServicesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamServicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesUpdateResponse, error) { + rsp, err := c.IpamServicesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesUpdateResponse(rsp) +} + +// IpamVlanGroupsBulkDestroyWithResponse request returning *IpamVlanGroupsBulkDestroyResponse +func (c *ClientWithResponses) IpamVlanGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) { + rsp, err := c.IpamVlanGroupsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsBulkDestroyResponse(rsp) +} + +// IpamVlanGroupsListWithResponse request returning *IpamVlanGroupsListResponse +func (c *ClientWithResponses) IpamVlanGroupsListWithResponse(ctx context.Context, params *IpamVlanGroupsListParams, reqEditors ...RequestEditorFn) (*IpamVlanGroupsListResponse, error) { + rsp, err := c.IpamVlanGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsListResponse(rsp) +} + +// IpamVlanGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamVlanGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamVlanGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamVlanGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlanGroupsBulkPartialUpdateWithResponse(ctx context.Context, body IpamVlanGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamVlanGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsBulkPartialUpdateResponse(rsp) +} + +// IpamVlanGroupsCreateWithBodyWithResponse request with arbitrary body returning *IpamVlanGroupsCreateResponse +func (c *ClientWithResponses) IpamVlanGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsCreateResponse, error) { + rsp, err := c.IpamVlanGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlanGroupsCreateWithResponse(ctx context.Context, body IpamVlanGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsCreateResponse, error) { + rsp, err := c.IpamVlanGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsCreateResponse(rsp) +} + +// IpamVlanGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamVlanGroupsBulkUpdateResponse +func (c *ClientWithResponses) IpamVlanGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkUpdateResponse, error) { + rsp, err := c.IpamVlanGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlanGroupsBulkUpdateWithResponse(ctx context.Context, body IpamVlanGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkUpdateResponse, error) { + rsp, err := c.IpamVlanGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsBulkUpdateResponse(rsp) +} + +// IpamVlanGroupsDestroyWithResponse request returning *IpamVlanGroupsDestroyResponse +func (c *ClientWithResponses) IpamVlanGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVlanGroupsDestroyResponse, error) { + rsp, err := c.IpamVlanGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsDestroyResponse(rsp) +} + +// IpamVlanGroupsRetrieveWithResponse request returning *IpamVlanGroupsRetrieveResponse +func (c *ClientWithResponses) IpamVlanGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVlanGroupsRetrieveResponse, error) { + rsp, err := c.IpamVlanGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsRetrieveResponse(rsp) +} + +// IpamVlanGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamVlanGroupsPartialUpdateResponse +func (c *ClientWithResponses) IpamVlanGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsPartialUpdateResponse, error) { + rsp, err := c.IpamVlanGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlanGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsPartialUpdateResponse, error) { + rsp, err := c.IpamVlanGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsPartialUpdateResponse(rsp) +} + +// IpamVlanGroupsUpdateWithBodyWithResponse request with arbitrary body returning *IpamVlanGroupsUpdateResponse +func (c *ClientWithResponses) IpamVlanGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsUpdateResponse, error) { + rsp, err := c.IpamVlanGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlanGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsUpdateResponse, error) { + rsp, err := c.IpamVlanGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsUpdateResponse(rsp) +} + +// IpamVlansBulkDestroyWithResponse request returning *IpamVlansBulkDestroyResponse +func (c *ClientWithResponses) IpamVlansBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) { + rsp, err := c.IpamVlansBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansBulkDestroyResponse(rsp) +} + +// IpamVlansListWithResponse request returning *IpamVlansListResponse +func (c *ClientWithResponses) IpamVlansListWithResponse(ctx context.Context, params *IpamVlansListParams, reqEditors ...RequestEditorFn) (*IpamVlansListResponse, error) { + rsp, err := c.IpamVlansList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansListResponse(rsp) +} + +// IpamVlansBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamVlansBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamVlansBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansBulkPartialUpdateResponse, error) { + rsp, err := c.IpamVlansBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlansBulkPartialUpdateWithResponse(ctx context.Context, body IpamVlansBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansBulkPartialUpdateResponse, error) { + rsp, err := c.IpamVlansBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansBulkPartialUpdateResponse(rsp) +} + +// IpamVlansCreateWithBodyWithResponse request with arbitrary body returning *IpamVlansCreateResponse +func (c *ClientWithResponses) IpamVlansCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansCreateResponse, error) { + rsp, err := c.IpamVlansCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlansCreateWithResponse(ctx context.Context, body IpamVlansCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansCreateResponse, error) { + rsp, err := c.IpamVlansCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansCreateResponse(rsp) +} + +// IpamVlansBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamVlansBulkUpdateResponse +func (c *ClientWithResponses) IpamVlansBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansBulkUpdateResponse, error) { + rsp, err := c.IpamVlansBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlansBulkUpdateWithResponse(ctx context.Context, body IpamVlansBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansBulkUpdateResponse, error) { + rsp, err := c.IpamVlansBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansBulkUpdateResponse(rsp) +} + +// IpamVlansDestroyWithResponse request returning *IpamVlansDestroyResponse +func (c *ClientWithResponses) IpamVlansDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVlansDestroyResponse, error) { + rsp, err := c.IpamVlansDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansDestroyResponse(rsp) +} + +// IpamVlansRetrieveWithResponse request returning *IpamVlansRetrieveResponse +func (c *ClientWithResponses) IpamVlansRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVlansRetrieveResponse, error) { + rsp, err := c.IpamVlansRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansRetrieveResponse(rsp) +} + +// IpamVlansPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamVlansPartialUpdateResponse +func (c *ClientWithResponses) IpamVlansPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansPartialUpdateResponse, error) { + rsp, err := c.IpamVlansPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlansPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlansPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansPartialUpdateResponse, error) { + rsp, err := c.IpamVlansPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansPartialUpdateResponse(rsp) +} + +// IpamVlansUpdateWithBodyWithResponse request with arbitrary body returning *IpamVlansUpdateResponse +func (c *ClientWithResponses) IpamVlansUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansUpdateResponse, error) { + rsp, err := c.IpamVlansUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlansUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansUpdateResponse, error) { + rsp, err := c.IpamVlansUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansUpdateResponse(rsp) +} + +// IpamVrfsBulkDestroyWithResponse request returning *IpamVrfsBulkDestroyResponse +func (c *ClientWithResponses) IpamVrfsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) { + rsp, err := c.IpamVrfsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsBulkDestroyResponse(rsp) +} + +// IpamVrfsListWithResponse request returning *IpamVrfsListResponse +func (c *ClientWithResponses) IpamVrfsListWithResponse(ctx context.Context, params *IpamVrfsListParams, reqEditors ...RequestEditorFn) (*IpamVrfsListResponse, error) { + rsp, err := c.IpamVrfsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsListResponse(rsp) +} + +// IpamVrfsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamVrfsBulkPartialUpdateResponse +func (c *ClientWithResponses) IpamVrfsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamVrfsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVrfsBulkPartialUpdateWithResponse(ctx context.Context, body IpamVrfsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsBulkPartialUpdateResponse, error) { + rsp, err := c.IpamVrfsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsBulkPartialUpdateResponse(rsp) +} + +// IpamVrfsCreateWithBodyWithResponse request with arbitrary body returning *IpamVrfsCreateResponse +func (c *ClientWithResponses) IpamVrfsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsCreateResponse, error) { + rsp, err := c.IpamVrfsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVrfsCreateWithResponse(ctx context.Context, body IpamVrfsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsCreateResponse, error) { + rsp, err := c.IpamVrfsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsCreateResponse(rsp) +} + +// IpamVrfsBulkUpdateWithBodyWithResponse request with arbitrary body returning *IpamVrfsBulkUpdateResponse +func (c *ClientWithResponses) IpamVrfsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsBulkUpdateResponse, error) { + rsp, err := c.IpamVrfsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVrfsBulkUpdateWithResponse(ctx context.Context, body IpamVrfsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsBulkUpdateResponse, error) { + rsp, err := c.IpamVrfsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsBulkUpdateResponse(rsp) +} + +// IpamVrfsDestroyWithResponse request returning *IpamVrfsDestroyResponse +func (c *ClientWithResponses) IpamVrfsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVrfsDestroyResponse, error) { + rsp, err := c.IpamVrfsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsDestroyResponse(rsp) +} + +// IpamVrfsRetrieveWithResponse request returning *IpamVrfsRetrieveResponse +func (c *ClientWithResponses) IpamVrfsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*IpamVrfsRetrieveResponse, error) { + rsp, err := c.IpamVrfsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsRetrieveResponse(rsp) +} + +// IpamVrfsPartialUpdateWithBodyWithResponse request with arbitrary body returning *IpamVrfsPartialUpdateResponse +func (c *ClientWithResponses) IpamVrfsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsPartialUpdateResponse, error) { + rsp, err := c.IpamVrfsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVrfsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVrfsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsPartialUpdateResponse, error) { + rsp, err := c.IpamVrfsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsPartialUpdateResponse(rsp) +} + +// IpamVrfsUpdateWithBodyWithResponse request with arbitrary body returning *IpamVrfsUpdateResponse +func (c *ClientWithResponses) IpamVrfsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsUpdateResponse, error) { + rsp, err := c.IpamVrfsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVrfsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVrfsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsUpdateResponse, error) { + rsp, err := c.IpamVrfsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsUpdateResponse(rsp) +} + +// PluginsChatopsAccessgrantBulkDestroyWithResponse request returning *PluginsChatopsAccessgrantBulkDestroyResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkDestroyResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantBulkDestroyResponse(rsp) +} + +// PluginsChatopsAccessgrantListWithResponse request returning *PluginsChatopsAccessgrantListResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantListWithResponse(ctx context.Context, params *PluginsChatopsAccessgrantListParams, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantListResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantListResponse(rsp) +} + +// PluginsChatopsAccessgrantBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsAccessgrantBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsAccessgrantBulkPartialUpdateWithResponse(ctx context.Context, body PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantBulkPartialUpdateResponse(rsp) +} + +// PluginsChatopsAccessgrantCreateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsAccessgrantCreateResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantCreateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsAccessgrantCreateWithResponse(ctx context.Context, body PluginsChatopsAccessgrantCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantCreateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantCreateResponse(rsp) +} + +// PluginsChatopsAccessgrantBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsAccessgrantBulkUpdateResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkUpdateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsAccessgrantBulkUpdateWithResponse(ctx context.Context, body PluginsChatopsAccessgrantBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkUpdateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantBulkUpdateResponse(rsp) +} + +// PluginsChatopsAccessgrantDestroyWithResponse request returning *PluginsChatopsAccessgrantDestroyResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantDestroyResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantDestroyResponse(rsp) +} + +// PluginsChatopsAccessgrantRetrieveWithResponse request returning *PluginsChatopsAccessgrantRetrieveResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantRetrieveResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantRetrieveResponse(rsp) +} + +// PluginsChatopsAccessgrantPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsAccessgrantPartialUpdateResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantPartialUpdateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsAccessgrantPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsAccessgrantPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantPartialUpdateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantPartialUpdateResponse(rsp) +} + +// PluginsChatopsAccessgrantUpdateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsAccessgrantUpdateResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantUpdateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsAccessgrantUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsAccessgrantUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantUpdateResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantUpdateResponse(rsp) +} + +// PluginsChatopsCommandtokenBulkDestroyWithResponse request returning *PluginsChatopsCommandtokenBulkDestroyResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenBulkDestroyResponse(rsp) +} + +// PluginsChatopsCommandtokenListWithResponse request returning *PluginsChatopsCommandtokenListResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenListWithResponse(ctx context.Context, params *PluginsChatopsCommandtokenListParams, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenListResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenListResponse(rsp) +} + +// PluginsChatopsCommandtokenBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsCommandtokenBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsCommandtokenBulkPartialUpdateWithResponse(ctx context.Context, body PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenBulkPartialUpdateResponse(rsp) +} + +// PluginsChatopsCommandtokenCreateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsCommandtokenCreateResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenCreateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsCommandtokenCreateWithResponse(ctx context.Context, body PluginsChatopsCommandtokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenCreateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenCreateResponse(rsp) +} + +// PluginsChatopsCommandtokenBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsCommandtokenBulkUpdateResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkUpdateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsCommandtokenBulkUpdateWithResponse(ctx context.Context, body PluginsChatopsCommandtokenBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkUpdateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenBulkUpdateResponse(rsp) +} + +// PluginsChatopsCommandtokenDestroyWithResponse request returning *PluginsChatopsCommandtokenDestroyResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenDestroyResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenDestroyResponse(rsp) +} + +// PluginsChatopsCommandtokenRetrieveWithResponse request returning *PluginsChatopsCommandtokenRetrieveResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenRetrieveResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenRetrieveResponse(rsp) +} + +// PluginsChatopsCommandtokenPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsCommandtokenPartialUpdateResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenPartialUpdateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsCommandtokenPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsCommandtokenPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenPartialUpdateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenPartialUpdateResponse(rsp) +} + +// PluginsChatopsCommandtokenUpdateWithBodyWithResponse request with arbitrary body returning *PluginsChatopsCommandtokenUpdateResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenUpdateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsCommandtokenUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsCommandtokenUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenUpdateResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse request returning *PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse(rsp) +} + +// PluginsCircuitMaintenanceCircuitimpactListWithResponse request returning *PluginsCircuitMaintenanceCircuitimpactListResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceCircuitimpactListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactListResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactListResponse(rsp) +} + +// PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceCircuitimpactCreateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceCircuitimpactCreateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactCreateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactCreateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactCreateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactCreateResponse(rsp) +} + +// PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceCircuitimpactDestroyWithResponse request returning *PluginsCircuitMaintenanceCircuitimpactDestroyResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactDestroyResponse(rsp) +} + +// PluginsCircuitMaintenanceCircuitimpactRetrieveWithResponse request returning *PluginsCircuitMaintenanceCircuitimpactRetrieveResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactRetrieveResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactRetrieveResponse(rsp) +} + +// PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceCircuitimpactUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceCircuitimpactUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse request returning *PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceBulkDestroyResponse(rsp) +} + +// PluginsCircuitMaintenanceMaintenanceListWithResponse request returning *PluginsCircuitMaintenanceMaintenanceListResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceMaintenanceListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceListResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceListResponse(rsp) +} + +// PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceMaintenanceCreateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceMaintenanceCreateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceCreateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceCreateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceCreateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceCreateResponse(rsp) +} + +// PluginsCircuitMaintenanceMaintenanceBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceBulkUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceBulkUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceMaintenanceDestroyWithResponse request returning *PluginsCircuitMaintenanceMaintenanceDestroyResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceDestroyResponse(rsp) +} + +// PluginsCircuitMaintenanceMaintenanceRetrieveWithResponse request returning *PluginsCircuitMaintenanceMaintenanceRetrieveResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceRetrieveResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceRetrieveResponse(rsp) +} + +// PluginsCircuitMaintenanceMaintenancePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceMaintenancePartialUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenancePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenancePartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenancePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenancePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenancePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenancePartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenancePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenancePartialUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceMaintenanceUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceMaintenanceUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceNoteBulkDestroyWithResponse request returning *PluginsCircuitMaintenanceNoteBulkDestroyResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteBulkDestroyResponse(rsp) +} + +// PluginsCircuitMaintenanceNoteListWithResponse request returning *PluginsCircuitMaintenanceNoteListResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceNoteListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteListResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteListResponse(rsp) +} + +// PluginsCircuitMaintenanceNoteBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteBulkPartialUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteBulkPartialUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceNoteCreateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceNoteCreateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteCreateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteCreateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceNoteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteCreateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteCreateResponse(rsp) +} + +// PluginsCircuitMaintenanceNoteBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceNoteBulkUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteBulkUpdateWithResponse(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteBulkUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceNoteDestroyWithResponse request returning *PluginsCircuitMaintenanceNoteDestroyResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteDestroyResponse(rsp) +} + +// PluginsCircuitMaintenanceNoteRetrieveWithResponse request returning *PluginsCircuitMaintenanceNoteRetrieveResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteRetrieveResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteRetrieveResponse(rsp) +} + +// PluginsCircuitMaintenanceNotePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceNotePartialUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNotePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNotePartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNotePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNotePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceNotePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNotePartialUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNotePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNotePartialUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceNoteUpdateWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceNoteUpdateResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceNoteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteUpdateResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteUpdateResponse(rsp) +} + +// PluginsCircuitMaintenanceNotificationsourceListWithResponse request returning *PluginsCircuitMaintenanceNotificationsourceListResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNotificationsourceListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceNotificationsourceListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNotificationsourceListResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNotificationsourceList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNotificationsourceListResponse(rsp) +} + +// PluginsCircuitMaintenanceNotificationsourceRetrieveWithResponse request returning *PluginsCircuitMaintenanceNotificationsourceRetrieveResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNotificationsourceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNotificationsourceRetrieveResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNotificationsourceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNotificationsourceRetrieveResponse(rsp) +} + +// PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse request returning *PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxBulkDestroyResponse(rsp) +} + +// PluginsDataValidationEngineRulesMinMaxListWithResponse request returning *PluginsDataValidationEngineRulesMinMaxListResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxListWithResponse(ctx context.Context, params *PluginsDataValidationEngineRulesMinMaxListParams, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxListResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxListResponse(rsp) +} + +// PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse(rsp) +} + +// PluginsDataValidationEngineRulesMinMaxCreateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesMinMaxCreateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxCreateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxCreateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxCreateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxCreateResponse(rsp) +} + +// PluginsDataValidationEngineRulesMinMaxBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxBulkUpdateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxBulkUpdateResponse(rsp) +} + +// PluginsDataValidationEngineRulesMinMaxDestroyWithResponse request returning *PluginsDataValidationEngineRulesMinMaxDestroyResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxDestroyResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxDestroyResponse(rsp) +} + +// PluginsDataValidationEngineRulesMinMaxRetrieveWithResponse request returning *PluginsDataValidationEngineRulesMinMaxRetrieveResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxRetrieveResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxRetrieveResponse(rsp) +} + +// PluginsDataValidationEngineRulesMinMaxPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxPartialUpdateResponse(rsp) +} + +// PluginsDataValidationEngineRulesMinMaxUpdateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesMinMaxUpdateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxUpdateResponse(rsp) +} + +// PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse request returning *PluginsDataValidationEngineRulesRegexBulkDestroyResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexBulkDestroyResponse(rsp) +} + +// PluginsDataValidationEngineRulesRegexListWithResponse request returning *PluginsDataValidationEngineRulesRegexListResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexListWithResponse(ctx context.Context, params *PluginsDataValidationEngineRulesRegexListParams, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexListResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexListResponse(rsp) +} + +// PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse(rsp) +} + +// PluginsDataValidationEngineRulesRegexCreateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesRegexCreateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexCreateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexCreateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesRegexCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexCreateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexCreateResponse(rsp) +} + +// PluginsDataValidationEngineRulesRegexBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesRegexBulkUpdateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexBulkUpdateWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexBulkUpdateResponse(rsp) +} + +// PluginsDataValidationEngineRulesRegexDestroyWithResponse request returning *PluginsDataValidationEngineRulesRegexDestroyResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexDestroyResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexDestroyResponse(rsp) +} + +// PluginsDataValidationEngineRulesRegexRetrieveWithResponse request returning *PluginsDataValidationEngineRulesRegexRetrieveResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexRetrieveResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexRetrieveResponse(rsp) +} + +// PluginsDataValidationEngineRulesRegexPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesRegexPartialUpdateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexPartialUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexPartialUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexPartialUpdateResponse(rsp) +} + +// PluginsDataValidationEngineRulesRegexUpdateWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesRegexUpdateResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexUpdateResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexUpdateResponse(rsp) +} + +// PluginsDeviceOnboardingOnboardingListWithResponse request returning *PluginsDeviceOnboardingOnboardingListResponse +func (c *ClientWithResponses) PluginsDeviceOnboardingOnboardingListWithResponse(ctx context.Context, params *PluginsDeviceOnboardingOnboardingListParams, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingListResponse, error) { + rsp, err := c.PluginsDeviceOnboardingOnboardingList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDeviceOnboardingOnboardingListResponse(rsp) +} + +// PluginsDeviceOnboardingOnboardingCreateWithBodyWithResponse request with arbitrary body returning *PluginsDeviceOnboardingOnboardingCreateResponse +func (c *ClientWithResponses) PluginsDeviceOnboardingOnboardingCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingCreateResponse, error) { + rsp, err := c.PluginsDeviceOnboardingOnboardingCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDeviceOnboardingOnboardingCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDeviceOnboardingOnboardingCreateWithResponse(ctx context.Context, body PluginsDeviceOnboardingOnboardingCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingCreateResponse, error) { + rsp, err := c.PluginsDeviceOnboardingOnboardingCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDeviceOnboardingOnboardingCreateResponse(rsp) +} + +// PluginsDeviceOnboardingOnboardingDestroyWithResponse request returning *PluginsDeviceOnboardingOnboardingDestroyResponse +func (c *ClientWithResponses) PluginsDeviceOnboardingOnboardingDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingDestroyResponse, error) { + rsp, err := c.PluginsDeviceOnboardingOnboardingDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDeviceOnboardingOnboardingDestroyResponse(rsp) +} + +// PluginsDeviceOnboardingOnboardingRetrieveWithResponse request returning *PluginsDeviceOnboardingOnboardingRetrieveResponse +func (c *ClientWithResponses) PluginsDeviceOnboardingOnboardingRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingRetrieveResponse, error) { + rsp, err := c.PluginsDeviceOnboardingOnboardingRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDeviceOnboardingOnboardingRetrieveResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeatureBulkDestroyWithResponse request returning *PluginsGoldenConfigComplianceFeatureBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureBulkDestroyResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeatureListWithResponse request returning *PluginsGoldenConfigComplianceFeatureListResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureListWithResponse(ctx context.Context, params *PluginsGoldenConfigComplianceFeatureListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureListResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureListResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeatureCreateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceFeatureCreateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureCreateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureCreateResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeatureBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceFeatureBulkUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureBulkUpdateResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeatureDestroyWithResponse request returning *PluginsGoldenConfigComplianceFeatureDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureDestroyResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeatureRetrieveWithResponse request returning *PluginsGoldenConfigComplianceFeatureRetrieveResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureRetrieveResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureRetrieveResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeaturePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceFeaturePartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeaturePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeaturePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeaturePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeaturePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeaturePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeaturePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeaturePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeaturePartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeatureUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceFeatureUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureUpdateResponse(rsp) +} + +// PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse request returning *PluginsGoldenConfigComplianceRuleBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleBulkDestroyResponse(rsp) +} + +// PluginsGoldenConfigComplianceRuleListWithResponse request returning *PluginsGoldenConfigComplianceRuleListResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleListWithResponse(ctx context.Context, params *PluginsGoldenConfigComplianceRuleListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleListResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleListResponse(rsp) +} + +// PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigComplianceRuleCreateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceRuleCreateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleCreateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleCreateResponse(rsp) +} + +// PluginsGoldenConfigComplianceRuleBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceRuleBulkUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleBulkUpdateResponse(rsp) +} + +// PluginsGoldenConfigComplianceRuleDestroyWithResponse request returning *PluginsGoldenConfigComplianceRuleDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleDestroyResponse(rsp) +} + +// PluginsGoldenConfigComplianceRuleRetrieveWithResponse request returning *PluginsGoldenConfigComplianceRuleRetrieveResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleRetrieveResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleRetrieveResponse(rsp) +} + +// PluginsGoldenConfigComplianceRulePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceRulePartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRulePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRulePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRulePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRulePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRulePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRulePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRulePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRulePartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigComplianceRuleUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceRuleUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse request returning *PluginsGoldenConfigConfigComplianceBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceBulkDestroyResponse(rsp) +} + +// PluginsGoldenConfigConfigComplianceListWithResponse request returning *PluginsGoldenConfigConfigComplianceListResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceListWithResponse(ctx context.Context, params *PluginsGoldenConfigConfigComplianceListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceListResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceListResponse(rsp) +} + +// PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigComplianceCreateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigComplianceCreateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceCreateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigComplianceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceCreateResponse(rsp) +} + +// PluginsGoldenConfigConfigComplianceBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigComplianceBulkUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceBulkUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigComplianceDestroyWithResponse request returning *PluginsGoldenConfigConfigComplianceDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceDestroyResponse(rsp) +} + +// PluginsGoldenConfigConfigComplianceRetrieveWithResponse request returning *PluginsGoldenConfigConfigComplianceRetrieveResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceRetrieveResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceRetrieveResponse(rsp) +} + +// PluginsGoldenConfigConfigCompliancePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigCompliancePartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigCompliancePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigCompliancePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigCompliancePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigCompliancePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigCompliancePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigCompliancePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigCompliancePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigCompliancePartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigComplianceUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigComplianceUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigRemoveBulkDestroyWithResponse request returning *PluginsGoldenConfigConfigRemoveBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveBulkDestroyResponse(rsp) +} + +// PluginsGoldenConfigConfigRemoveListWithResponse request returning *PluginsGoldenConfigConfigRemoveListResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveListWithResponse(ctx context.Context, params *PluginsGoldenConfigConfigRemoveListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveListResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveListResponse(rsp) +} + +// PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigRemoveCreateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigRemoveCreateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveCreateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigRemoveCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveCreateResponse(rsp) +} + +// PluginsGoldenConfigConfigRemoveBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigRemoveBulkUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveBulkUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigRemoveDestroyWithResponse request returning *PluginsGoldenConfigConfigRemoveDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveDestroyResponse(rsp) +} + +// PluginsGoldenConfigConfigRemoveRetrieveWithResponse request returning *PluginsGoldenConfigConfigRemoveRetrieveResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveRetrieveResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveRetrieveResponse(rsp) +} + +// PluginsGoldenConfigConfigRemovePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigRemovePartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemovePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemovePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemovePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemovePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemovePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemovePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemovePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemovePartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigRemoveUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigRemoveUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse request returning *PluginsGoldenConfigConfigReplaceBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceBulkDestroyResponse(rsp) +} + +// PluginsGoldenConfigConfigReplaceListWithResponse request returning *PluginsGoldenConfigConfigReplaceListResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceListWithResponse(ctx context.Context, params *PluginsGoldenConfigConfigReplaceListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceListResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceListResponse(rsp) +} + +// PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigReplaceCreateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigReplaceCreateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceCreateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigReplaceCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceCreateResponse(rsp) +} + +// PluginsGoldenConfigConfigReplaceBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigReplaceBulkUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceBulkUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigReplaceDestroyWithResponse request returning *PluginsGoldenConfigConfigReplaceDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceDestroyResponse(rsp) +} + +// PluginsGoldenConfigConfigReplaceRetrieveWithResponse request returning *PluginsGoldenConfigConfigReplaceRetrieveResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceRetrieveResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceRetrieveResponse(rsp) +} + +// PluginsGoldenConfigConfigReplacePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigReplacePartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplacePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplacePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplacePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplacePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplacePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplacePartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplacePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplacePartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigConfigReplaceUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigReplaceUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceUpdateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse request returning *PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigSettingsListWithResponse request returning *PluginsGoldenConfigGoldenConfigSettingsListResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsListWithResponse(ctx context.Context, params *PluginsGoldenConfigGoldenConfigSettingsListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsListResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsListResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigSettingsCreateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigSettingsCreateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsCreateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsCreateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigSettingsDestroyWithResponse request returning *PluginsGoldenConfigGoldenConfigSettingsDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsDestroyResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigSettingsRetrieveWithResponse request returning *PluginsGoldenConfigGoldenConfigSettingsRetrieveResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsRetrieveResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsRetrieveResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigSettingsUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigSettingsUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsUpdateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse request returning *PluginsGoldenConfigGoldenConfigBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigBulkDestroyResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigListWithResponse request returning *PluginsGoldenConfigGoldenConfigListResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigListWithResponse(ctx context.Context, params *PluginsGoldenConfigGoldenConfigListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigListResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigListResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigCreateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigCreateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigCreateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigCreateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigCreateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigBulkUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigBulkUpdateWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigBulkUpdateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigDestroyWithResponse request returning *PluginsGoldenConfigGoldenConfigDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigDestroyResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigRetrieveWithResponse request returning *PluginsGoldenConfigGoldenConfigRetrieveResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigRetrieveResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigRetrieveResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigPartialUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigPartialUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigPartialUpdateResponse(rsp) +} + +// PluginsGoldenConfigGoldenConfigUpdateWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigUpdateResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigUpdateResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigUpdateResponse(rsp) +} + +// PluginsGoldenConfigSotaggRetrieveWithResponse request returning *PluginsGoldenConfigSotaggRetrieveResponse +func (c *ClientWithResponses) PluginsGoldenConfigSotaggRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigSotaggRetrieveResponse, error) { + rsp, err := c.PluginsGoldenConfigSotaggRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigSotaggRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContactListWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContactListResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContactListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactListResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactListResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContactCreateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContactCreateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactCreateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContactDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContactDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContactRetrieveWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContactUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContractListWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContractListResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContractListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractListResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractListResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContractCreateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContractCreateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractCreateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContractDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContractDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContractRetrieveWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtContractUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtCveListWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtCveListResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtCveListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveListResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveListResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtCveCreateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtCveCreateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveCreateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtCveDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtCveDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtCveRetrieveWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtCveUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtHardwareListWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtHardwareListResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtHardwareListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareListResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareListResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtHardwareDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtProviderListWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtProviderListResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtProviderListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderListResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderListResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtProviderCreateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderCreateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtProviderDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtProviderRetrieveWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageListWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareListWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareListResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityListWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtVulnerabilityListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse(rsp) +} + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse(rsp) +} + +// StatusRetrieveWithResponse request returning *StatusRetrieveResponse +func (c *ClientWithResponses) StatusRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatusRetrieveResponse, error) { + rsp, err := c.StatusRetrieve(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseStatusRetrieveResponse(rsp) +} + +// SwaggerJsonRetrieveWithResponse request returning *SwaggerJsonRetrieveResponse +func (c *ClientWithResponses) SwaggerJsonRetrieveWithResponse(ctx context.Context, params *SwaggerJsonRetrieveParams, reqEditors ...RequestEditorFn) (*SwaggerJsonRetrieveResponse, error) { + rsp, err := c.SwaggerJsonRetrieve(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseSwaggerJsonRetrieveResponse(rsp) +} + +// SwaggerYamlRetrieveWithResponse request returning *SwaggerYamlRetrieveResponse +func (c *ClientWithResponses) SwaggerYamlRetrieveWithResponse(ctx context.Context, params *SwaggerYamlRetrieveParams, reqEditors ...RequestEditorFn) (*SwaggerYamlRetrieveResponse, error) { + rsp, err := c.SwaggerYamlRetrieve(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseSwaggerYamlRetrieveResponse(rsp) +} + +// SwaggerRetrieveWithResponse request returning *SwaggerRetrieveResponse +func (c *ClientWithResponses) SwaggerRetrieveWithResponse(ctx context.Context, params *SwaggerRetrieveParams, reqEditors ...RequestEditorFn) (*SwaggerRetrieveResponse, error) { + rsp, err := c.SwaggerRetrieve(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseSwaggerRetrieveResponse(rsp) +} + +// TenancyTenantGroupsBulkDestroyWithResponse request returning *TenancyTenantGroupsBulkDestroyResponse +func (c *ClientWithResponses) TenancyTenantGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantGroupsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsBulkDestroyResponse(rsp) +} + +// TenancyTenantGroupsListWithResponse request returning *TenancyTenantGroupsListResponse +func (c *ClientWithResponses) TenancyTenantGroupsListWithResponse(ctx context.Context, params *TenancyTenantGroupsListParams, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsListResponse, error) { + rsp, err := c.TenancyTenantGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsListResponse(rsp) +} + +// TenancyTenantGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyTenantGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) TenancyTenantGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyTenantGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantGroupsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyTenantGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyTenantGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsBulkPartialUpdateResponse(rsp) +} + +// TenancyTenantGroupsCreateWithBodyWithResponse request with arbitrary body returning *TenancyTenantGroupsCreateResponse +func (c *ClientWithResponses) TenancyTenantGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsCreateResponse, error) { + rsp, err := c.TenancyTenantGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantGroupsCreateWithResponse(ctx context.Context, body TenancyTenantGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsCreateResponse, error) { + rsp, err := c.TenancyTenantGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsCreateResponse(rsp) +} + +// TenancyTenantGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *TenancyTenantGroupsBulkUpdateResponse +func (c *ClientWithResponses) TenancyTenantGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkUpdateResponse, error) { + rsp, err := c.TenancyTenantGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantGroupsBulkUpdateWithResponse(ctx context.Context, body TenancyTenantGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkUpdateResponse, error) { + rsp, err := c.TenancyTenantGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsBulkUpdateResponse(rsp) +} + +// TenancyTenantGroupsDestroyWithResponse request returning *TenancyTenantGroupsDestroyResponse +func (c *ClientWithResponses) TenancyTenantGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsDestroyResponse, error) { + rsp, err := c.TenancyTenantGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsDestroyResponse(rsp) +} + +// TenancyTenantGroupsRetrieveWithResponse request returning *TenancyTenantGroupsRetrieveResponse +func (c *ClientWithResponses) TenancyTenantGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsRetrieveResponse, error) { + rsp, err := c.TenancyTenantGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsRetrieveResponse(rsp) +} + +// TenancyTenantGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyTenantGroupsPartialUpdateResponse +func (c *ClientWithResponses) TenancyTenantGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsPartialUpdateResponse, error) { + rsp, err := c.TenancyTenantGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsPartialUpdateResponse, error) { + rsp, err := c.TenancyTenantGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsPartialUpdateResponse(rsp) +} + +// TenancyTenantGroupsUpdateWithBodyWithResponse request with arbitrary body returning *TenancyTenantGroupsUpdateResponse +func (c *ClientWithResponses) TenancyTenantGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsUpdateResponse, error) { + rsp, err := c.TenancyTenantGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsUpdateResponse, error) { + rsp, err := c.TenancyTenantGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsUpdateResponse(rsp) +} + +// TenancyTenantsBulkDestroyWithResponse request returning *TenancyTenantsBulkDestroyResponse +func (c *ClientWithResponses) TenancyTenantsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsBulkDestroyResponse(rsp) +} + +// TenancyTenantsListWithResponse request returning *TenancyTenantsListResponse +func (c *ClientWithResponses) TenancyTenantsListWithResponse(ctx context.Context, params *TenancyTenantsListParams, reqEditors ...RequestEditorFn) (*TenancyTenantsListResponse, error) { + rsp, err := c.TenancyTenantsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsListResponse(rsp) +} + +// TenancyTenantsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyTenantsBulkPartialUpdateResponse +func (c *ClientWithResponses) TenancyTenantsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyTenantsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantsBulkPartialUpdateWithResponse(ctx context.Context, body TenancyTenantsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkPartialUpdateResponse, error) { + rsp, err := c.TenancyTenantsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsBulkPartialUpdateResponse(rsp) +} + +// TenancyTenantsCreateWithBodyWithResponse request with arbitrary body returning *TenancyTenantsCreateResponse +func (c *ClientWithResponses) TenancyTenantsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsCreateResponse, error) { + rsp, err := c.TenancyTenantsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsCreateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantsCreateWithResponse(ctx context.Context, body TenancyTenantsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsCreateResponse, error) { + rsp, err := c.TenancyTenantsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsCreateResponse(rsp) +} + +// TenancyTenantsBulkUpdateWithBodyWithResponse request with arbitrary body returning *TenancyTenantsBulkUpdateResponse +func (c *ClientWithResponses) TenancyTenantsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkUpdateResponse, error) { + rsp, err := c.TenancyTenantsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantsBulkUpdateWithResponse(ctx context.Context, body TenancyTenantsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkUpdateResponse, error) { + rsp, err := c.TenancyTenantsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsBulkUpdateResponse(rsp) +} + +// TenancyTenantsDestroyWithResponse request returning *TenancyTenantsDestroyResponse +func (c *ClientWithResponses) TenancyTenantsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenancyTenantsDestroyResponse, error) { + rsp, err := c.TenancyTenantsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsDestroyResponse(rsp) +} + +// TenancyTenantsRetrieveWithResponse request returning *TenancyTenantsRetrieveResponse +func (c *ClientWithResponses) TenancyTenantsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenancyTenantsRetrieveResponse, error) { + rsp, err := c.TenancyTenantsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsRetrieveResponse(rsp) +} + +// TenancyTenantsPartialUpdateWithBodyWithResponse request with arbitrary body returning *TenancyTenantsPartialUpdateResponse +func (c *ClientWithResponses) TenancyTenantsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsPartialUpdateResponse, error) { + rsp, err := c.TenancyTenantsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsPartialUpdateResponse, error) { + rsp, err := c.TenancyTenantsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsPartialUpdateResponse(rsp) +} + +// TenancyTenantsUpdateWithBodyWithResponse request with arbitrary body returning *TenancyTenantsUpdateResponse +func (c *ClientWithResponses) TenancyTenantsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsUpdateResponse, error) { + rsp, err := c.TenancyTenantsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsUpdateResponse, error) { + rsp, err := c.TenancyTenantsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsUpdateResponse(rsp) +} + +// UsersConfigRetrieveWithResponse request returning *UsersConfigRetrieveResponse +func (c *ClientWithResponses) UsersConfigRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersConfigRetrieveResponse, error) { + rsp, err := c.UsersConfigRetrieve(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersConfigRetrieveResponse(rsp) +} + +// UsersGroupsBulkDestroyWithResponse request returning *UsersGroupsBulkDestroyResponse +func (c *ClientWithResponses) UsersGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) { + rsp, err := c.UsersGroupsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsBulkDestroyResponse(rsp) +} + +// UsersGroupsListWithResponse request returning *UsersGroupsListResponse +func (c *ClientWithResponses) UsersGroupsListWithResponse(ctx context.Context, params *UsersGroupsListParams, reqEditors ...RequestEditorFn) (*UsersGroupsListResponse, error) { + rsp, err := c.UsersGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsListResponse(rsp) +} + +// UsersGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *UsersGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) UsersGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.UsersGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersGroupsBulkPartialUpdateWithResponse(ctx context.Context, body UsersGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.UsersGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsBulkPartialUpdateResponse(rsp) +} + +// UsersGroupsCreateWithBodyWithResponse request with arbitrary body returning *UsersGroupsCreateResponse +func (c *ClientWithResponses) UsersGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsCreateResponse, error) { + rsp, err := c.UsersGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) UsersGroupsCreateWithResponse(ctx context.Context, body UsersGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsCreateResponse, error) { + rsp, err := c.UsersGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsCreateResponse(rsp) +} + +// UsersGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *UsersGroupsBulkUpdateResponse +func (c *ClientWithResponses) UsersGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsBulkUpdateResponse, error) { + rsp, err := c.UsersGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersGroupsBulkUpdateWithResponse(ctx context.Context, body UsersGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsBulkUpdateResponse, error) { + rsp, err := c.UsersGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsBulkUpdateResponse(rsp) +} + +// UsersGroupsDestroyWithResponse request returning *UsersGroupsDestroyResponse +func (c *ClientWithResponses) UsersGroupsDestroyWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersGroupsDestroyResponse, error) { + rsp, err := c.UsersGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsDestroyResponse(rsp) +} + +// UsersGroupsRetrieveWithResponse request returning *UsersGroupsRetrieveResponse +func (c *ClientWithResponses) UsersGroupsRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*UsersGroupsRetrieveResponse, error) { + rsp, err := c.UsersGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsRetrieveResponse(rsp) +} + +// UsersGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *UsersGroupsPartialUpdateResponse +func (c *ClientWithResponses) UsersGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsPartialUpdateResponse, error) { + rsp, err := c.UsersGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersGroupsPartialUpdateWithResponse(ctx context.Context, id int, body UsersGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsPartialUpdateResponse, error) { + rsp, err := c.UsersGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsPartialUpdateResponse(rsp) +} + +// UsersGroupsUpdateWithBodyWithResponse request with arbitrary body returning *UsersGroupsUpdateResponse +func (c *ClientWithResponses) UsersGroupsUpdateWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsUpdateResponse, error) { + rsp, err := c.UsersGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersGroupsUpdateWithResponse(ctx context.Context, id int, body UsersGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsUpdateResponse, error) { + rsp, err := c.UsersGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsUpdateResponse(rsp) +} + +// UsersPermissionsBulkDestroyWithResponse request returning *UsersPermissionsBulkDestroyResponse +func (c *ClientWithResponses) UsersPermissionsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) { + rsp, err := c.UsersPermissionsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsBulkDestroyResponse(rsp) +} + +// UsersPermissionsListWithResponse request returning *UsersPermissionsListResponse +func (c *ClientWithResponses) UsersPermissionsListWithResponse(ctx context.Context, params *UsersPermissionsListParams, reqEditors ...RequestEditorFn) (*UsersPermissionsListResponse, error) { + rsp, err := c.UsersPermissionsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsListResponse(rsp) +} + +// UsersPermissionsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *UsersPermissionsBulkPartialUpdateResponse +func (c *ClientWithResponses) UsersPermissionsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkPartialUpdateResponse, error) { + rsp, err := c.UsersPermissionsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersPermissionsBulkPartialUpdateWithResponse(ctx context.Context, body UsersPermissionsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkPartialUpdateResponse, error) { + rsp, err := c.UsersPermissionsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsBulkPartialUpdateResponse(rsp) +} + +// UsersPermissionsCreateWithBodyWithResponse request with arbitrary body returning *UsersPermissionsCreateResponse +func (c *ClientWithResponses) UsersPermissionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsCreateResponse, error) { + rsp, err := c.UsersPermissionsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsCreateResponse(rsp) +} + +func (c *ClientWithResponses) UsersPermissionsCreateWithResponse(ctx context.Context, body UsersPermissionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsCreateResponse, error) { + rsp, err := c.UsersPermissionsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsCreateResponse(rsp) +} + +// UsersPermissionsBulkUpdateWithBodyWithResponse request with arbitrary body returning *UsersPermissionsBulkUpdateResponse +func (c *ClientWithResponses) UsersPermissionsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkUpdateResponse, error) { + rsp, err := c.UsersPermissionsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersPermissionsBulkUpdateWithResponse(ctx context.Context, body UsersPermissionsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkUpdateResponse, error) { + rsp, err := c.UsersPermissionsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsBulkUpdateResponse(rsp) +} + +// UsersPermissionsDestroyWithResponse request returning *UsersPermissionsDestroyResponse +func (c *ClientWithResponses) UsersPermissionsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersPermissionsDestroyResponse, error) { + rsp, err := c.UsersPermissionsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsDestroyResponse(rsp) +} + +// UsersPermissionsRetrieveWithResponse request returning *UsersPermissionsRetrieveResponse +func (c *ClientWithResponses) UsersPermissionsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersPermissionsRetrieveResponse, error) { + rsp, err := c.UsersPermissionsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsRetrieveResponse(rsp) +} + +// UsersPermissionsPartialUpdateWithBodyWithResponse request with arbitrary body returning *UsersPermissionsPartialUpdateResponse +func (c *ClientWithResponses) UsersPermissionsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsPartialUpdateResponse, error) { + rsp, err := c.UsersPermissionsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersPermissionsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersPermissionsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsPartialUpdateResponse, error) { + rsp, err := c.UsersPermissionsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsPartialUpdateResponse(rsp) +} + +// UsersPermissionsUpdateWithBodyWithResponse request with arbitrary body returning *UsersPermissionsUpdateResponse +func (c *ClientWithResponses) UsersPermissionsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsUpdateResponse, error) { + rsp, err := c.UsersPermissionsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersPermissionsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersPermissionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsUpdateResponse, error) { + rsp, err := c.UsersPermissionsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsUpdateResponse(rsp) +} + +// UsersTokensBulkDestroyWithResponse request returning *UsersTokensBulkDestroyResponse +func (c *ClientWithResponses) UsersTokensBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) { + rsp, err := c.UsersTokensBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensBulkDestroyResponse(rsp) +} + +// UsersTokensListWithResponse request returning *UsersTokensListResponse +func (c *ClientWithResponses) UsersTokensListWithResponse(ctx context.Context, params *UsersTokensListParams, reqEditors ...RequestEditorFn) (*UsersTokensListResponse, error) { + rsp, err := c.UsersTokensList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensListResponse(rsp) +} + +// UsersTokensBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *UsersTokensBulkPartialUpdateResponse +func (c *ClientWithResponses) UsersTokensBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensBulkPartialUpdateResponse, error) { + rsp, err := c.UsersTokensBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersTokensBulkPartialUpdateWithResponse(ctx context.Context, body UsersTokensBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensBulkPartialUpdateResponse, error) { + rsp, err := c.UsersTokensBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensBulkPartialUpdateResponse(rsp) +} + +// UsersTokensCreateWithBodyWithResponse request with arbitrary body returning *UsersTokensCreateResponse +func (c *ClientWithResponses) UsersTokensCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensCreateResponse, error) { + rsp, err := c.UsersTokensCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensCreateResponse(rsp) +} + +func (c *ClientWithResponses) UsersTokensCreateWithResponse(ctx context.Context, body UsersTokensCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensCreateResponse, error) { + rsp, err := c.UsersTokensCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensCreateResponse(rsp) +} + +// UsersTokensBulkUpdateWithBodyWithResponse request with arbitrary body returning *UsersTokensBulkUpdateResponse +func (c *ClientWithResponses) UsersTokensBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensBulkUpdateResponse, error) { + rsp, err := c.UsersTokensBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersTokensBulkUpdateWithResponse(ctx context.Context, body UsersTokensBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensBulkUpdateResponse, error) { + rsp, err := c.UsersTokensBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensBulkUpdateResponse(rsp) +} + +// UsersTokensDestroyWithResponse request returning *UsersTokensDestroyResponse +func (c *ClientWithResponses) UsersTokensDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersTokensDestroyResponse, error) { + rsp, err := c.UsersTokensDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensDestroyResponse(rsp) +} + +// UsersTokensRetrieveWithResponse request returning *UsersTokensRetrieveResponse +func (c *ClientWithResponses) UsersTokensRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersTokensRetrieveResponse, error) { + rsp, err := c.UsersTokensRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensRetrieveResponse(rsp) +} + +// UsersTokensPartialUpdateWithBodyWithResponse request with arbitrary body returning *UsersTokensPartialUpdateResponse +func (c *ClientWithResponses) UsersTokensPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensPartialUpdateResponse, error) { + rsp, err := c.UsersTokensPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersTokensPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersTokensPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensPartialUpdateResponse, error) { + rsp, err := c.UsersTokensPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensPartialUpdateResponse(rsp) +} + +// UsersTokensUpdateWithBodyWithResponse request with arbitrary body returning *UsersTokensUpdateResponse +func (c *ClientWithResponses) UsersTokensUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensUpdateResponse, error) { + rsp, err := c.UsersTokensUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersTokensUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersTokensUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensUpdateResponse, error) { + rsp, err := c.UsersTokensUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensUpdateResponse(rsp) +} + +// UsersUsersBulkDestroyWithResponse request returning *UsersUsersBulkDestroyResponse +func (c *ClientWithResponses) UsersUsersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) { + rsp, err := c.UsersUsersBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersBulkDestroyResponse(rsp) +} + +// UsersUsersListWithResponse request returning *UsersUsersListResponse +func (c *ClientWithResponses) UsersUsersListWithResponse(ctx context.Context, params *UsersUsersListParams, reqEditors ...RequestEditorFn) (*UsersUsersListResponse, error) { + rsp, err := c.UsersUsersList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersListResponse(rsp) +} + +// UsersUsersBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *UsersUsersBulkPartialUpdateResponse +func (c *ClientWithResponses) UsersUsersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersBulkPartialUpdateResponse, error) { + rsp, err := c.UsersUsersBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersUsersBulkPartialUpdateWithResponse(ctx context.Context, body UsersUsersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersBulkPartialUpdateResponse, error) { + rsp, err := c.UsersUsersBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersBulkPartialUpdateResponse(rsp) +} + +// UsersUsersCreateWithBodyWithResponse request with arbitrary body returning *UsersUsersCreateResponse +func (c *ClientWithResponses) UsersUsersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersCreateResponse, error) { + rsp, err := c.UsersUsersCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersCreateResponse(rsp) +} + +func (c *ClientWithResponses) UsersUsersCreateWithResponse(ctx context.Context, body UsersUsersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersCreateResponse, error) { + rsp, err := c.UsersUsersCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersCreateResponse(rsp) +} + +// UsersUsersBulkUpdateWithBodyWithResponse request with arbitrary body returning *UsersUsersBulkUpdateResponse +func (c *ClientWithResponses) UsersUsersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersBulkUpdateResponse, error) { + rsp, err := c.UsersUsersBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersUsersBulkUpdateWithResponse(ctx context.Context, body UsersUsersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersBulkUpdateResponse, error) { + rsp, err := c.UsersUsersBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersBulkUpdateResponse(rsp) +} + +// UsersUsersDestroyWithResponse request returning *UsersUsersDestroyResponse +func (c *ClientWithResponses) UsersUsersDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersUsersDestroyResponse, error) { + rsp, err := c.UsersUsersDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersDestroyResponse(rsp) +} + +// UsersUsersRetrieveWithResponse request returning *UsersUsersRetrieveResponse +func (c *ClientWithResponses) UsersUsersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersUsersRetrieveResponse, error) { + rsp, err := c.UsersUsersRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersRetrieveResponse(rsp) +} + +// UsersUsersPartialUpdateWithBodyWithResponse request with arbitrary body returning *UsersUsersPartialUpdateResponse +func (c *ClientWithResponses) UsersUsersPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersPartialUpdateResponse, error) { + rsp, err := c.UsersUsersPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersUsersPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersUsersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersPartialUpdateResponse, error) { + rsp, err := c.UsersUsersPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersPartialUpdateResponse(rsp) +} + +// UsersUsersUpdateWithBodyWithResponse request with arbitrary body returning *UsersUsersUpdateResponse +func (c *ClientWithResponses) UsersUsersUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersUpdateResponse, error) { + rsp, err := c.UsersUsersUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersUpdateResponse(rsp) +} + +func (c *ClientWithResponses) UsersUsersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersUpdateResponse, error) { + rsp, err := c.UsersUsersUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersUpdateResponse(rsp) +} + +// VirtualizationClusterGroupsBulkDestroyWithResponse request returning *VirtualizationClusterGroupsBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterGroupsBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsBulkDestroyResponse(rsp) +} + +// VirtualizationClusterGroupsListWithResponse request returning *VirtualizationClusterGroupsListResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsListWithResponse(ctx context.Context, params *VirtualizationClusterGroupsListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsListResponse, error) { + rsp, err := c.VirtualizationClusterGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsListResponse(rsp) +} + +// VirtualizationClusterGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterGroupsBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsBulkPartialUpdateResponse(rsp) +} + +// VirtualizationClusterGroupsCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterGroupsCreateResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsCreateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterGroupsCreateWithResponse(ctx context.Context, body VirtualizationClusterGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsCreateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsCreateResponse(rsp) +} + +// VirtualizationClusterGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterGroupsBulkUpdateResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkUpdateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterGroupsBulkUpdateWithResponse(ctx context.Context, body VirtualizationClusterGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkUpdateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsBulkUpdateResponse(rsp) +} + +// VirtualizationClusterGroupsDestroyWithResponse request returning *VirtualizationClusterGroupsDestroyResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsDestroyResponse, error) { + rsp, err := c.VirtualizationClusterGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsDestroyResponse(rsp) +} + +// VirtualizationClusterGroupsRetrieveWithResponse request returning *VirtualizationClusterGroupsRetrieveResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsRetrieveResponse, error) { + rsp, err := c.VirtualizationClusterGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsRetrieveResponse(rsp) +} + +// VirtualizationClusterGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterGroupsPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsPartialUpdateResponse(rsp) +} + +// VirtualizationClusterGroupsUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterGroupsUpdateResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsUpdateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsUpdateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsUpdateResponse(rsp) +} + +// VirtualizationClusterTypesBulkDestroyWithResponse request returning *VirtualizationClusterTypesBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationClusterTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterTypesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesBulkDestroyResponse(rsp) +} + +// VirtualizationClusterTypesListWithResponse request returning *VirtualizationClusterTypesListResponse +func (c *ClientWithResponses) VirtualizationClusterTypesListWithResponse(ctx context.Context, params *VirtualizationClusterTypesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesListResponse, error) { + rsp, err := c.VirtualizationClusterTypesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesListResponse(rsp) +} + +// VirtualizationClusterTypesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterTypesBulkPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationClusterTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClusterTypesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterTypesBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClusterTypesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesBulkPartialUpdateResponse(rsp) +} + +// VirtualizationClusterTypesCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterTypesCreateResponse +func (c *ClientWithResponses) VirtualizationClusterTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesCreateResponse, error) { + rsp, err := c.VirtualizationClusterTypesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterTypesCreateWithResponse(ctx context.Context, body VirtualizationClusterTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesCreateResponse, error) { + rsp, err := c.VirtualizationClusterTypesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesCreateResponse(rsp) +} + +// VirtualizationClusterTypesBulkUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterTypesBulkUpdateResponse +func (c *ClientWithResponses) VirtualizationClusterTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkUpdateResponse, error) { + rsp, err := c.VirtualizationClusterTypesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterTypesBulkUpdateWithResponse(ctx context.Context, body VirtualizationClusterTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkUpdateResponse, error) { + rsp, err := c.VirtualizationClusterTypesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesBulkUpdateResponse(rsp) +} + +// VirtualizationClusterTypesDestroyWithResponse request returning *VirtualizationClusterTypesDestroyResponse +func (c *ClientWithResponses) VirtualizationClusterTypesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesDestroyResponse, error) { + rsp, err := c.VirtualizationClusterTypesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesDestroyResponse(rsp) +} + +// VirtualizationClusterTypesRetrieveWithResponse request returning *VirtualizationClusterTypesRetrieveResponse +func (c *ClientWithResponses) VirtualizationClusterTypesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesRetrieveResponse, error) { + rsp, err := c.VirtualizationClusterTypesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesRetrieveResponse(rsp) +} + +// VirtualizationClusterTypesPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterTypesPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationClusterTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClusterTypesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterTypesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClusterTypesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesPartialUpdateResponse(rsp) +} + +// VirtualizationClusterTypesUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterTypesUpdateResponse +func (c *ClientWithResponses) VirtualizationClusterTypesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesUpdateResponse, error) { + rsp, err := c.VirtualizationClusterTypesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesUpdateResponse, error) { + rsp, err := c.VirtualizationClusterTypesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesUpdateResponse(rsp) +} + +// VirtualizationClustersBulkDestroyWithResponse request returning *VirtualizationClustersBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationClustersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClustersBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersBulkDestroyResponse(rsp) +} + +// VirtualizationClustersListWithResponse request returning *VirtualizationClustersListResponse +func (c *ClientWithResponses) VirtualizationClustersListWithResponse(ctx context.Context, params *VirtualizationClustersListParams, reqEditors ...RequestEditorFn) (*VirtualizationClustersListResponse, error) { + rsp, err := c.VirtualizationClustersList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersListResponse(rsp) +} + +// VirtualizationClustersBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClustersBulkPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationClustersBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClustersBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClustersBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationClustersBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClustersBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersBulkPartialUpdateResponse(rsp) +} + +// VirtualizationClustersCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationClustersCreateResponse +func (c *ClientWithResponses) VirtualizationClustersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersCreateResponse, error) { + rsp, err := c.VirtualizationClustersCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClustersCreateWithResponse(ctx context.Context, body VirtualizationClustersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersCreateResponse, error) { + rsp, err := c.VirtualizationClustersCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersCreateResponse(rsp) +} + +// VirtualizationClustersBulkUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClustersBulkUpdateResponse +func (c *ClientWithResponses) VirtualizationClustersBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkUpdateResponse, error) { + rsp, err := c.VirtualizationClustersBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClustersBulkUpdateWithResponse(ctx context.Context, body VirtualizationClustersBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkUpdateResponse, error) { + rsp, err := c.VirtualizationClustersBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersBulkUpdateResponse(rsp) +} + +// VirtualizationClustersDestroyWithResponse request returning *VirtualizationClustersDestroyResponse +func (c *ClientWithResponses) VirtualizationClustersDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClustersDestroyResponse, error) { + rsp, err := c.VirtualizationClustersDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersDestroyResponse(rsp) +} + +// VirtualizationClustersRetrieveWithResponse request returning *VirtualizationClustersRetrieveResponse +func (c *ClientWithResponses) VirtualizationClustersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationClustersRetrieveResponse, error) { + rsp, err := c.VirtualizationClustersRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersRetrieveResponse(rsp) +} + +// VirtualizationClustersPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClustersPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationClustersPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClustersPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClustersPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersPartialUpdateResponse, error) { + rsp, err := c.VirtualizationClustersPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersPartialUpdateResponse(rsp) +} + +// VirtualizationClustersUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationClustersUpdateResponse +func (c *ClientWithResponses) VirtualizationClustersUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersUpdateResponse, error) { + rsp, err := c.VirtualizationClustersUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClustersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersUpdateResponse, error) { + rsp, err := c.VirtualizationClustersUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersUpdateResponse(rsp) +} + +// VirtualizationInterfacesBulkDestroyWithResponse request returning *VirtualizationInterfacesBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationInterfacesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationInterfacesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesBulkDestroyResponse(rsp) +} + +// VirtualizationInterfacesListWithResponse request returning *VirtualizationInterfacesListResponse +func (c *ClientWithResponses) VirtualizationInterfacesListWithResponse(ctx context.Context, params *VirtualizationInterfacesListParams, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesListResponse, error) { + rsp, err := c.VirtualizationInterfacesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesListResponse(rsp) +} + +// VirtualizationInterfacesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationInterfacesBulkPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationInterfacesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationInterfacesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationInterfacesBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationInterfacesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationInterfacesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesBulkPartialUpdateResponse(rsp) +} + +// VirtualizationInterfacesCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationInterfacesCreateResponse +func (c *ClientWithResponses) VirtualizationInterfacesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesCreateResponse, error) { + rsp, err := c.VirtualizationInterfacesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationInterfacesCreateWithResponse(ctx context.Context, body VirtualizationInterfacesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesCreateResponse, error) { + rsp, err := c.VirtualizationInterfacesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesCreateResponse(rsp) +} + +// VirtualizationInterfacesBulkUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationInterfacesBulkUpdateResponse +func (c *ClientWithResponses) VirtualizationInterfacesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkUpdateResponse, error) { + rsp, err := c.VirtualizationInterfacesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationInterfacesBulkUpdateWithResponse(ctx context.Context, body VirtualizationInterfacesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkUpdateResponse, error) { + rsp, err := c.VirtualizationInterfacesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesBulkUpdateResponse(rsp) +} + +// VirtualizationInterfacesDestroyWithResponse request returning *VirtualizationInterfacesDestroyResponse +func (c *ClientWithResponses) VirtualizationInterfacesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesDestroyResponse, error) { + rsp, err := c.VirtualizationInterfacesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesDestroyResponse(rsp) +} + +// VirtualizationInterfacesRetrieveWithResponse request returning *VirtualizationInterfacesRetrieveResponse +func (c *ClientWithResponses) VirtualizationInterfacesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesRetrieveResponse, error) { + rsp, err := c.VirtualizationInterfacesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesRetrieveResponse(rsp) +} + +// VirtualizationInterfacesPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationInterfacesPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationInterfacesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesPartialUpdateResponse, error) { + rsp, err := c.VirtualizationInterfacesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationInterfacesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesPartialUpdateResponse, error) { + rsp, err := c.VirtualizationInterfacesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesPartialUpdateResponse(rsp) +} + +// VirtualizationInterfacesUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationInterfacesUpdateResponse +func (c *ClientWithResponses) VirtualizationInterfacesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesUpdateResponse, error) { + rsp, err := c.VirtualizationInterfacesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationInterfacesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesUpdateResponse, error) { + rsp, err := c.VirtualizationInterfacesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesUpdateResponse(rsp) +} + +// VirtualizationVirtualMachinesBulkDestroyWithResponse request returning *VirtualizationVirtualMachinesBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesBulkDestroy(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesBulkDestroyResponse(rsp) +} + +// VirtualizationVirtualMachinesListWithResponse request returning *VirtualizationVirtualMachinesListResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesListWithResponse(ctx context.Context, params *VirtualizationVirtualMachinesListParams, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesListResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesListResponse(rsp) +} + +// VirtualizationVirtualMachinesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationVirtualMachinesBulkPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkPartialUpdateWithResponse(ctx context.Context, body VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkPartialUpdateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesBulkPartialUpdateResponse(rsp) +} + +// VirtualizationVirtualMachinesCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationVirtualMachinesCreateResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesCreateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationVirtualMachinesCreateWithResponse(ctx context.Context, body VirtualizationVirtualMachinesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesCreateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesCreateResponse(rsp) +} + +// VirtualizationVirtualMachinesBulkUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationVirtualMachinesBulkUpdateResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkUpdateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkUpdateWithResponse(ctx context.Context, body VirtualizationVirtualMachinesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkUpdateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesBulkUpdateResponse(rsp) +} + +// VirtualizationVirtualMachinesDestroyWithResponse request returning *VirtualizationVirtualMachinesDestroyResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesDestroyResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesDestroyResponse(rsp) +} + +// VirtualizationVirtualMachinesRetrieveWithResponse request returning *VirtualizationVirtualMachinesRetrieveResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesRetrieveResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesRetrieveResponse(rsp) +} + +// VirtualizationVirtualMachinesPartialUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationVirtualMachinesPartialUpdateResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesPartialUpdateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationVirtualMachinesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesPartialUpdateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesPartialUpdateResponse(rsp) +} + +// VirtualizationVirtualMachinesUpdateWithBodyWithResponse request with arbitrary body returning *VirtualizationVirtualMachinesUpdateResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesUpdateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationVirtualMachinesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesUpdateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesUpdateResponse(rsp) +} + +// ParseCircuitsCircuitTerminationsBulkDestroyResponse parses an HTTP response from a CircuitsCircuitTerminationsBulkDestroyWithResponse call +func ParseCircuitsCircuitTerminationsBulkDestroyResponse(rsp *http.Response) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsListResponse parses an HTTP response from a CircuitsCircuitTerminationsListWithResponse call +func ParseCircuitsCircuitTerminationsListResponse(rsp *http.Response) (*CircuitsCircuitTerminationsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsBulkPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsBulkPartialUpdateWithResponse call +func ParseCircuitsCircuitTerminationsBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsCreateResponse parses an HTTP response from a CircuitsCircuitTerminationsCreateWithResponse call +func ParseCircuitsCircuitTerminationsCreateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsBulkUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsBulkUpdateWithResponse call +func ParseCircuitsCircuitTerminationsBulkUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsDestroyResponse parses an HTTP response from a CircuitsCircuitTerminationsDestroyWithResponse call +func ParseCircuitsCircuitTerminationsDestroyResponse(rsp *http.Response) (*CircuitsCircuitTerminationsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsRetrieveResponse parses an HTTP response from a CircuitsCircuitTerminationsRetrieveWithResponse call +func ParseCircuitsCircuitTerminationsRetrieveResponse(rsp *http.Response) (*CircuitsCircuitTerminationsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsPartialUpdateWithResponse call +func ParseCircuitsCircuitTerminationsPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsUpdateWithResponse call +func ParseCircuitsCircuitTerminationsUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesBulkDestroyResponse parses an HTTP response from a CircuitsCircuitTypesBulkDestroyWithResponse call +func ParseCircuitsCircuitTypesBulkDestroyResponse(rsp *http.Response) (*CircuitsCircuitTypesBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesListResponse parses an HTTP response from a CircuitsCircuitTypesListWithResponse call +func ParseCircuitsCircuitTypesListResponse(rsp *http.Response) (*CircuitsCircuitTypesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesBulkPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTypesBulkPartialUpdateWithResponse call +func ParseCircuitsCircuitTypesBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesCreateResponse parses an HTTP response from a CircuitsCircuitTypesCreateWithResponse call +func ParseCircuitsCircuitTypesCreateResponse(rsp *http.Response) (*CircuitsCircuitTypesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesBulkUpdateResponse parses an HTTP response from a CircuitsCircuitTypesBulkUpdateWithResponse call +func ParseCircuitsCircuitTypesBulkUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesDestroyResponse parses an HTTP response from a CircuitsCircuitTypesDestroyWithResponse call +func ParseCircuitsCircuitTypesDestroyResponse(rsp *http.Response) (*CircuitsCircuitTypesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesRetrieveResponse parses an HTTP response from a CircuitsCircuitTypesRetrieveWithResponse call +func ParseCircuitsCircuitTypesRetrieveResponse(rsp *http.Response) (*CircuitsCircuitTypesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTypesPartialUpdateWithResponse call +func ParseCircuitsCircuitTypesPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesUpdateResponse parses an HTTP response from a CircuitsCircuitTypesUpdateWithResponse call +func ParseCircuitsCircuitTypesUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitsListResponse parses an HTTP response from a CircuitsCircuitsListWithResponse call +func ParseCircuitsCircuitsListResponse(rsp *http.Response) (*CircuitsCircuitsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitsBulkPartialUpdateResponse parses an HTTP response from a CircuitsCircuitsBulkPartialUpdateWithResponse call +func ParseCircuitsCircuitsBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitsCreateResponse parses an HTTP response from a CircuitsCircuitsCreateWithResponse call +func ParseCircuitsCircuitsCreateResponse(rsp *http.Response) (*CircuitsCircuitsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitsBulkUpdateResponse parses an HTTP response from a CircuitsCircuitsBulkUpdateWithResponse call +func ParseCircuitsCircuitsBulkUpdateResponse(rsp *http.Response) (*CircuitsCircuitsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitsDestroyResponse parses an HTTP response from a CircuitsCircuitsDestroyWithResponse call +func ParseCircuitsCircuitsDestroyResponse(rsp *http.Response) (*CircuitsCircuitsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitsRetrieveResponse parses an HTTP response from a CircuitsCircuitsRetrieveWithResponse call +func ParseCircuitsCircuitsRetrieveResponse(rsp *http.Response) (*CircuitsCircuitsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitsPartialUpdateResponse parses an HTTP response from a CircuitsCircuitsPartialUpdateWithResponse call +func ParseCircuitsCircuitsPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitsUpdateResponse parses an HTTP response from a CircuitsCircuitsUpdateWithResponse call +func ParseCircuitsCircuitsUpdateResponse(rsp *http.Response) (*CircuitsCircuitsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderNetworksListResponse parses an HTTP response from a CircuitsProviderNetworksListWithResponse call +func ParseCircuitsProviderNetworksListResponse(rsp *http.Response) (*CircuitsProviderNetworksListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderNetworksBulkPartialUpdateResponse parses an HTTP response from a CircuitsProviderNetworksBulkPartialUpdateWithResponse call +func ParseCircuitsProviderNetworksBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderNetworksCreateResponse parses an HTTP response from a CircuitsProviderNetworksCreateWithResponse call +func ParseCircuitsProviderNetworksCreateResponse(rsp *http.Response) (*CircuitsProviderNetworksCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderNetworksBulkUpdateResponse parses an HTTP response from a CircuitsProviderNetworksBulkUpdateWithResponse call +func ParseCircuitsProviderNetworksBulkUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderNetworksDestroyResponse parses an HTTP response from a CircuitsProviderNetworksDestroyWithResponse call +func ParseCircuitsProviderNetworksDestroyResponse(rsp *http.Response) (*CircuitsProviderNetworksDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderNetworksRetrieveResponse parses an HTTP response from a CircuitsProviderNetworksRetrieveWithResponse call +func ParseCircuitsProviderNetworksRetrieveResponse(rsp *http.Response) (*CircuitsProviderNetworksRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderNetworksPartialUpdateResponse parses an HTTP response from a CircuitsProviderNetworksPartialUpdateWithResponse call +func ParseCircuitsProviderNetworksPartialUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderNetworksUpdateResponse parses an HTTP response from a CircuitsProviderNetworksUpdateWithResponse call +func ParseCircuitsProviderNetworksUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProvidersListResponse parses an HTTP response from a CircuitsProvidersListWithResponse call +func ParseCircuitsProvidersListResponse(rsp *http.Response) (*CircuitsProvidersListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProvidersBulkPartialUpdateResponse parses an HTTP response from a CircuitsProvidersBulkPartialUpdateWithResponse call +func ParseCircuitsProvidersBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsProvidersBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProvidersCreateResponse parses an HTTP response from a CircuitsProvidersCreateWithResponse call +func ParseCircuitsProvidersCreateResponse(rsp *http.Response) (*CircuitsProvidersCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProvidersBulkUpdateResponse parses an HTTP response from a CircuitsProvidersBulkUpdateWithResponse call +func ParseCircuitsProvidersBulkUpdateResponse(rsp *http.Response) (*CircuitsProvidersBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProvidersDestroyResponse parses an HTTP response from a CircuitsProvidersDestroyWithResponse call +func ParseCircuitsProvidersDestroyResponse(rsp *http.Response) (*CircuitsProvidersDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProvidersRetrieveResponse parses an HTTP response from a CircuitsProvidersRetrieveWithResponse call +func ParseCircuitsProvidersRetrieveResponse(rsp *http.Response) (*CircuitsProvidersRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProvidersPartialUpdateResponse parses an HTTP response from a CircuitsProvidersPartialUpdateWithResponse call +func ParseCircuitsProvidersPartialUpdateResponse(rsp *http.Response) (*CircuitsProvidersPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProvidersUpdateResponse parses an HTTP response from a CircuitsProvidersUpdateWithResponse call +func ParseCircuitsProvidersUpdateResponse(rsp *http.Response) (*CircuitsProvidersUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCablesListResponse parses an HTTP response from a DcimCablesListWithResponse call +func ParseDcimCablesListResponse(rsp *http.Response) (*DcimCablesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCablesBulkPartialUpdateResponse parses an HTTP response from a DcimCablesBulkPartialUpdateWithResponse call +func ParseDcimCablesBulkPartialUpdateResponse(rsp *http.Response) (*DcimCablesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCablesCreateResponse parses an HTTP response from a DcimCablesCreateWithResponse call +func ParseDcimCablesCreateResponse(rsp *http.Response) (*DcimCablesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCablesBulkUpdateResponse parses an HTTP response from a DcimCablesBulkUpdateWithResponse call +func ParseDcimCablesBulkUpdateResponse(rsp *http.Response) (*DcimCablesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCablesDestroyResponse parses an HTTP response from a DcimCablesDestroyWithResponse call +func ParseDcimCablesDestroyResponse(rsp *http.Response) (*DcimCablesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCablesRetrieveResponse parses an HTTP response from a DcimCablesRetrieveWithResponse call +func ParseDcimCablesRetrieveResponse(rsp *http.Response) (*DcimCablesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCablesPartialUpdateResponse parses an HTTP response from a DcimCablesPartialUpdateWithResponse call +func ParseDcimCablesPartialUpdateResponse(rsp *http.Response) (*DcimCablesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCablesUpdateResponse parses an HTTP response from a DcimCablesUpdateWithResponse call +func ParseDcimCablesUpdateResponse(rsp *http.Response) (*DcimCablesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConnectedDeviceListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleConnectionsListResponse parses an HTTP response from a DcimConsoleConnectionsListWithResponse call +func ParseDcimConsoleConnectionsListResponse(rsp *http.Response) (*DcimConsoleConnectionsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleConnectionsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesBulkDestroyResponse parses an HTTP response from a DcimConsolePortTemplatesBulkDestroyWithResponse call +func ParseDcimConsolePortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimConsolePortTemplatesBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesListResponse parses an HTTP response from a DcimConsolePortTemplatesListWithResponse call +func ParseDcimConsolePortTemplatesListResponse(rsp *http.Response) (*DcimConsolePortTemplatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimConsolePortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesCreateResponse parses an HTTP response from a DcimConsolePortTemplatesCreateWithResponse call +func ParseDcimConsolePortTemplatesCreateResponse(rsp *http.Response) (*DcimConsolePortTemplatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesBulkUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesBulkUpdateWithResponse call +func ParseDcimConsolePortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesDestroyResponse parses an HTTP response from a DcimConsolePortTemplatesDestroyWithResponse call +func ParseDcimConsolePortTemplatesDestroyResponse(rsp *http.Response) (*DcimConsolePortTemplatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesRetrieveResponse parses an HTTP response from a DcimConsolePortTemplatesRetrieveWithResponse call +func ParseDcimConsolePortTemplatesRetrieveResponse(rsp *http.Response) (*DcimConsolePortTemplatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesPartialUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesPartialUpdateWithResponse call +func ParseDcimConsolePortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesUpdateWithResponse call +func ParseDcimConsolePortTemplatesUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortsListResponse parses an HTTP response from a DcimConsolePortsListWithResponse call +func ParseDcimConsolePortsListResponse(rsp *http.Response) (*DcimConsolePortsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortsBulkPartialUpdateResponse parses an HTTP response from a DcimConsolePortsBulkPartialUpdateWithResponse call +func ParseDcimConsolePortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortsCreateResponse parses an HTTP response from a DcimConsolePortsCreateWithResponse call +func ParseDcimConsolePortsCreateResponse(rsp *http.Response) (*DcimConsolePortsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortsBulkUpdateResponse parses an HTTP response from a DcimConsolePortsBulkUpdateWithResponse call +func ParseDcimConsolePortsBulkUpdateResponse(rsp *http.Response) (*DcimConsolePortsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortsDestroyResponse parses an HTTP response from a DcimConsolePortsDestroyWithResponse call +func ParseDcimConsolePortsDestroyResponse(rsp *http.Response) (*DcimConsolePortsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortsRetrieveResponse parses an HTTP response from a DcimConsolePortsRetrieveWithResponse call +func ParseDcimConsolePortsRetrieveResponse(rsp *http.Response) (*DcimConsolePortsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortsPartialUpdateResponse parses an HTTP response from a DcimConsolePortsPartialUpdateWithResponse call +func ParseDcimConsolePortsPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortsUpdateResponse parses an HTTP response from a DcimConsolePortsUpdateWithResponse call +func ParseDcimConsolePortsUpdateResponse(rsp *http.Response) (*DcimConsolePortsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesBulkDestroyResponse parses an HTTP response from a DcimConsoleServerPortTemplatesBulkDestroyWithResponse call +func ParseDcimConsoleServerPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesListResponse parses an HTTP response from a DcimConsoleServerPortTemplatesListWithResponse call +func ParseDcimConsoleServerPortTemplatesListResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimConsoleServerPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesCreateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesCreateWithResponse call +func ParseDcimConsoleServerPortTemplatesCreateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesBulkUpdateWithResponse call +func ParseDcimConsoleServerPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesDestroyResponse parses an HTTP response from a DcimConsoleServerPortTemplatesDestroyWithResponse call +func ParseDcimConsoleServerPortTemplatesDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesRetrieveResponse parses an HTTP response from a DcimConsoleServerPortTemplatesRetrieveWithResponse call +func ParseDcimConsoleServerPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesPartialUpdateWithResponse call +func ParseDcimConsoleServerPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesUpdateWithResponse call +func ParseDcimConsoleServerPortTemplatesUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortsListResponse parses an HTTP response from a DcimConsoleServerPortsListWithResponse call +func ParseDcimConsoleServerPortsListResponse(rsp *http.Response) (*DcimConsoleServerPortsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortsBulkPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortsBulkPartialUpdateWithResponse call +func ParseDcimConsoleServerPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortsCreateResponse parses an HTTP response from a DcimConsoleServerPortsCreateWithResponse call +func ParseDcimConsoleServerPortsCreateResponse(rsp *http.Response) (*DcimConsoleServerPortsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortsBulkUpdateResponse parses an HTTP response from a DcimConsoleServerPortsBulkUpdateWithResponse call +func ParseDcimConsoleServerPortsBulkUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortsDestroyResponse parses an HTTP response from a DcimConsoleServerPortsDestroyWithResponse call +func ParseDcimConsoleServerPortsDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortsRetrieveResponse parses an HTTP response from a DcimConsoleServerPortsRetrieveWithResponse call +func ParseDcimConsoleServerPortsRetrieveResponse(rsp *http.Response) (*DcimConsoleServerPortsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortsPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortsPartialUpdateWithResponse call +func ParseDcimConsoleServerPortsPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortsUpdateResponse parses an HTTP response from a DcimConsoleServerPortsUpdateWithResponse call +func ParseDcimConsoleServerPortsUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesBulkDestroyResponse parses an HTTP response from a DcimDeviceBayTemplatesBulkDestroyWithResponse call +func ParseDcimDeviceBayTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesListResponse parses an HTTP response from a DcimDeviceBayTemplatesListWithResponse call +func ParseDcimDeviceBayTemplatesListResponse(rsp *http.Response) (*DcimDeviceBayTemplatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesBulkPartialUpdateWithResponse call +func ParseDcimDeviceBayTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesCreateResponse parses an HTTP response from a DcimDeviceBayTemplatesCreateWithResponse call +func ParseDcimDeviceBayTemplatesCreateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesBulkUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesBulkUpdateWithResponse call +func ParseDcimDeviceBayTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesDestroyResponse parses an HTTP response from a DcimDeviceBayTemplatesDestroyWithResponse call +func ParseDcimDeviceBayTemplatesDestroyResponse(rsp *http.Response) (*DcimDeviceBayTemplatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesRetrieveResponse parses an HTTP response from a DcimDeviceBayTemplatesRetrieveWithResponse call +func ParseDcimDeviceBayTemplatesRetrieveResponse(rsp *http.Response) (*DcimDeviceBayTemplatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesPartialUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesPartialUpdateWithResponse call +func ParseDcimDeviceBayTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesUpdateWithResponse call +func ParseDcimDeviceBayTemplatesUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBaysListResponse parses an HTTP response from a DcimDeviceBaysListWithResponse call +func ParseDcimDeviceBaysListResponse(rsp *http.Response) (*DcimDeviceBaysListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBaysBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceBaysBulkPartialUpdateWithResponse call +func ParseDcimDeviceBaysBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBaysBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBaysCreateResponse parses an HTTP response from a DcimDeviceBaysCreateWithResponse call +func ParseDcimDeviceBaysCreateResponse(rsp *http.Response) (*DcimDeviceBaysCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBaysBulkUpdateResponse parses an HTTP response from a DcimDeviceBaysBulkUpdateWithResponse call +func ParseDcimDeviceBaysBulkUpdateResponse(rsp *http.Response) (*DcimDeviceBaysBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBaysDestroyResponse parses an HTTP response from a DcimDeviceBaysDestroyWithResponse call +func ParseDcimDeviceBaysDestroyResponse(rsp *http.Response) (*DcimDeviceBaysDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBaysRetrieveResponse parses an HTTP response from a DcimDeviceBaysRetrieveWithResponse call +func ParseDcimDeviceBaysRetrieveResponse(rsp *http.Response) (*DcimDeviceBaysRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBaysPartialUpdateResponse parses an HTTP response from a DcimDeviceBaysPartialUpdateWithResponse call +func ParseDcimDeviceBaysPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBaysPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBaysUpdateResponse parses an HTTP response from a DcimDeviceBaysUpdateWithResponse call +func ParseDcimDeviceBaysUpdateResponse(rsp *http.Response) (*DcimDeviceBaysUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRolesListResponse parses an HTTP response from a DcimDeviceRolesListWithResponse call +func ParseDcimDeviceRolesListResponse(rsp *http.Response) (*DcimDeviceRolesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRolesBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceRolesBulkPartialUpdateWithResponse call +func ParseDcimDeviceRolesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceRolesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRolesCreateResponse parses an HTTP response from a DcimDeviceRolesCreateWithResponse call +func ParseDcimDeviceRolesCreateResponse(rsp *http.Response) (*DcimDeviceRolesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRolesBulkUpdateResponse parses an HTTP response from a DcimDeviceRolesBulkUpdateWithResponse call +func ParseDcimDeviceRolesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceRolesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRolesDestroyResponse parses an HTTP response from a DcimDeviceRolesDestroyWithResponse call +func ParseDcimDeviceRolesDestroyResponse(rsp *http.Response) (*DcimDeviceRolesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRolesRetrieveResponse parses an HTTP response from a DcimDeviceRolesRetrieveWithResponse call +func ParseDcimDeviceRolesRetrieveResponse(rsp *http.Response) (*DcimDeviceRolesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRolesPartialUpdateResponse parses an HTTP response from a DcimDeviceRolesPartialUpdateWithResponse call +func ParseDcimDeviceRolesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceRolesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRolesUpdateResponse parses an HTTP response from a DcimDeviceRolesUpdateWithResponse call +func ParseDcimDeviceRolesUpdateResponse(rsp *http.Response) (*DcimDeviceRolesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceTypesListResponse parses an HTTP response from a DcimDeviceTypesListWithResponse call +func ParseDcimDeviceTypesListResponse(rsp *http.Response) (*DcimDeviceTypesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceTypesBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceTypesBulkPartialUpdateWithResponse call +func ParseDcimDeviceTypesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceTypesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceTypesCreateResponse parses an HTTP response from a DcimDeviceTypesCreateWithResponse call +func ParseDcimDeviceTypesCreateResponse(rsp *http.Response) (*DcimDeviceTypesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceTypesBulkUpdateResponse parses an HTTP response from a DcimDeviceTypesBulkUpdateWithResponse call +func ParseDcimDeviceTypesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceTypesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceTypesDestroyResponse parses an HTTP response from a DcimDeviceTypesDestroyWithResponse call +func ParseDcimDeviceTypesDestroyResponse(rsp *http.Response) (*DcimDeviceTypesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceTypesRetrieveResponse parses an HTTP response from a DcimDeviceTypesRetrieveWithResponse call +func ParseDcimDeviceTypesRetrieveResponse(rsp *http.Response) (*DcimDeviceTypesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceTypesPartialUpdateResponse parses an HTTP response from a DcimDeviceTypesPartialUpdateWithResponse call +func ParseDcimDeviceTypesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceTypesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceTypesUpdateResponse parses an HTTP response from a DcimDeviceTypesUpdateWithResponse call +func ParseDcimDeviceTypesUpdateResponse(rsp *http.Response) (*DcimDeviceTypesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesListResponse parses an HTTP response from a DcimDevicesListWithResponse call +func ParseDcimDevicesListResponse(rsp *http.Response) (*DcimDevicesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesBulkPartialUpdateResponse parses an HTTP response from a DcimDevicesBulkPartialUpdateWithResponse call +func ParseDcimDevicesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDevicesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesCreateResponse parses an HTTP response from a DcimDevicesCreateWithResponse call +func ParseDcimDevicesCreateResponse(rsp *http.Response) (*DcimDevicesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesBulkUpdateResponse parses an HTTP response from a DcimDevicesBulkUpdateWithResponse call +func ParseDcimDevicesBulkUpdateResponse(rsp *http.Response) (*DcimDevicesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesDestroyResponse parses an HTTP response from a DcimDevicesDestroyWithResponse call +func ParseDcimDevicesDestroyResponse(rsp *http.Response) (*DcimDevicesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesRetrieveResponse parses an HTTP response from a DcimDevicesRetrieveWithResponse call +func ParseDcimDevicesRetrieveResponse(rsp *http.Response) (*DcimDevicesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesPartialUpdateResponse parses an HTTP response from a DcimDevicesPartialUpdateWithResponse call +func ParseDcimDevicesPartialUpdateResponse(rsp *http.Response) (*DcimDevicesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesUpdateResponse parses an HTTP response from a DcimDevicesUpdateWithResponse call +func ParseDcimDevicesUpdateResponse(rsp *http.Response) (*DcimDevicesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesNapalmRetrieveResponse parses an HTTP response from a DcimDevicesNapalmRetrieveWithResponse call +func ParseDcimDevicesNapalmRetrieveResponse(rsp *http.Response) (*DcimDevicesNapalmRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesNapalmRetrieveResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesListResponse parses an HTTP response from a DcimFrontPortTemplatesListWithResponse call +func ParseDcimFrontPortTemplatesListResponse(rsp *http.Response) (*DcimFrontPortTemplatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimFrontPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesCreateResponse parses an HTTP response from a DcimFrontPortTemplatesCreateWithResponse call +func ParseDcimFrontPortTemplatesCreateResponse(rsp *http.Response) (*DcimFrontPortTemplatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesBulkUpdateWithResponse call +func ParseDcimFrontPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesDestroyResponse parses an HTTP response from a DcimFrontPortTemplatesDestroyWithResponse call +func ParseDcimFrontPortTemplatesDestroyResponse(rsp *http.Response) (*DcimFrontPortTemplatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesRetrieveResponse parses an HTTP response from a DcimFrontPortTemplatesRetrieveWithResponse call +func ParseDcimFrontPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimFrontPortTemplatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesPartialUpdateWithResponse call +func ParseDcimFrontPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesUpdateWithResponse call +func ParseDcimFrontPortTemplatesUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortsListResponse parses an HTTP response from a DcimFrontPortsListWithResponse call +func ParseDcimFrontPortsListResponse(rsp *http.Response) (*DcimFrontPortsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortsBulkPartialUpdateResponse parses an HTTP response from a DcimFrontPortsBulkPartialUpdateWithResponse call +func ParseDcimFrontPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortsCreateResponse parses an HTTP response from a DcimFrontPortsCreateWithResponse call +func ParseDcimFrontPortsCreateResponse(rsp *http.Response) (*DcimFrontPortsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortsBulkUpdateResponse parses an HTTP response from a DcimFrontPortsBulkUpdateWithResponse call +func ParseDcimFrontPortsBulkUpdateResponse(rsp *http.Response) (*DcimFrontPortsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortsDestroyResponse parses an HTTP response from a DcimFrontPortsDestroyWithResponse call +func ParseDcimFrontPortsDestroyResponse(rsp *http.Response) (*DcimFrontPortsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortsRetrieveResponse parses an HTTP response from a DcimFrontPortsRetrieveWithResponse call +func ParseDcimFrontPortsRetrieveResponse(rsp *http.Response) (*DcimFrontPortsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortsPartialUpdateResponse parses an HTTP response from a DcimFrontPortsPartialUpdateWithResponse call +func ParseDcimFrontPortsPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortsUpdateResponse parses an HTTP response from a DcimFrontPortsUpdateWithResponse call +func ParseDcimFrontPortsUpdateResponse(rsp *http.Response) (*DcimFrontPortsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsPathsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceConnectionsListResponse parses an HTTP response from a DcimInterfaceConnectionsListWithResponse call +func ParseDcimInterfaceConnectionsListResponse(rsp *http.Response) (*DcimInterfaceConnectionsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceConnectionsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesBulkDestroyResponse parses an HTTP response from a DcimInterfaceTemplatesBulkDestroyWithResponse call +func ParseDcimInterfaceTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimInterfaceTemplatesBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesListResponse parses an HTTP response from a DcimInterfaceTemplatesListWithResponse call +func ParseDcimInterfaceTemplatesListResponse(rsp *http.Response) (*DcimInterfaceTemplatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesBulkPartialUpdateWithResponse call +func ParseDcimInterfaceTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesCreateResponse parses an HTTP response from a DcimInterfaceTemplatesCreateWithResponse call +func ParseDcimInterfaceTemplatesCreateResponse(rsp *http.Response) (*DcimInterfaceTemplatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesBulkUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesBulkUpdateWithResponse call +func ParseDcimInterfaceTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesDestroyResponse parses an HTTP response from a DcimInterfaceTemplatesDestroyWithResponse call +func ParseDcimInterfaceTemplatesDestroyResponse(rsp *http.Response) (*DcimInterfaceTemplatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesRetrieveResponse parses an HTTP response from a DcimInterfaceTemplatesRetrieveWithResponse call +func ParseDcimInterfaceTemplatesRetrieveResponse(rsp *http.Response) (*DcimInterfaceTemplatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesPartialUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesPartialUpdateWithResponse call +func ParseDcimInterfaceTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesUpdateWithResponse call +func ParseDcimInterfaceTemplatesUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfacesListResponse parses an HTTP response from a DcimInterfacesListWithResponse call +func ParseDcimInterfacesListResponse(rsp *http.Response) (*DcimInterfacesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfacesBulkPartialUpdateResponse parses an HTTP response from a DcimInterfacesBulkPartialUpdateWithResponse call +func ParseDcimInterfacesBulkPartialUpdateResponse(rsp *http.Response) (*DcimInterfacesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfacesCreateResponse parses an HTTP response from a DcimInterfacesCreateWithResponse call +func ParseDcimInterfacesCreateResponse(rsp *http.Response) (*DcimInterfacesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfacesBulkUpdateResponse parses an HTTP response from a DcimInterfacesBulkUpdateWithResponse call +func ParseDcimInterfacesBulkUpdateResponse(rsp *http.Response) (*DcimInterfacesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfacesDestroyResponse parses an HTTP response from a DcimInterfacesDestroyWithResponse call +func ParseDcimInterfacesDestroyResponse(rsp *http.Response) (*DcimInterfacesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfacesRetrieveResponse parses an HTTP response from a DcimInterfacesRetrieveWithResponse call +func ParseDcimInterfacesRetrieveResponse(rsp *http.Response) (*DcimInterfacesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfacesPartialUpdateResponse parses an HTTP response from a DcimInterfacesPartialUpdateWithResponse call +func ParseDcimInterfacesPartialUpdateResponse(rsp *http.Response) (*DcimInterfacesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfacesUpdateResponse parses an HTTP response from a DcimInterfacesUpdateWithResponse call +func ParseDcimInterfacesUpdateResponse(rsp *http.Response) (*DcimInterfacesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsBulkDestroyResponse parses an HTTP response from a DcimInventoryItemsBulkDestroyWithResponse call +func ParseDcimInventoryItemsBulkDestroyResponse(rsp *http.Response) (*DcimInventoryItemsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsListResponse parses an HTTP response from a DcimInventoryItemsListWithResponse call +func ParseDcimInventoryItemsListResponse(rsp *http.Response) (*DcimInventoryItemsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsBulkPartialUpdateResponse parses an HTTP response from a DcimInventoryItemsBulkPartialUpdateWithResponse call +func ParseDcimInventoryItemsBulkPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsCreateResponse parses an HTTP response from a DcimInventoryItemsCreateWithResponse call +func ParseDcimInventoryItemsCreateResponse(rsp *http.Response) (*DcimInventoryItemsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsBulkUpdateResponse parses an HTTP response from a DcimInventoryItemsBulkUpdateWithResponse call +func ParseDcimInventoryItemsBulkUpdateResponse(rsp *http.Response) (*DcimInventoryItemsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsDestroyResponse parses an HTTP response from a DcimInventoryItemsDestroyWithResponse call +func ParseDcimInventoryItemsDestroyResponse(rsp *http.Response) (*DcimInventoryItemsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsRetrieveResponse parses an HTTP response from a DcimInventoryItemsRetrieveWithResponse call +func ParseDcimInventoryItemsRetrieveResponse(rsp *http.Response) (*DcimInventoryItemsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsPartialUpdateResponse parses an HTTP response from a DcimInventoryItemsPartialUpdateWithResponse call +func ParseDcimInventoryItemsPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsUpdateResponse parses an HTTP response from a DcimInventoryItemsUpdateWithResponse call +func ParseDcimInventoryItemsUpdateResponse(rsp *http.Response) (*DcimInventoryItemsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimManufacturersListResponse parses an HTTP response from a DcimManufacturersListWithResponse call +func ParseDcimManufacturersListResponse(rsp *http.Response) (*DcimManufacturersListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimManufacturersBulkPartialUpdateResponse parses an HTTP response from a DcimManufacturersBulkPartialUpdateWithResponse call +func ParseDcimManufacturersBulkPartialUpdateResponse(rsp *http.Response) (*DcimManufacturersBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimManufacturersCreateResponse parses an HTTP response from a DcimManufacturersCreateWithResponse call +func ParseDcimManufacturersCreateResponse(rsp *http.Response) (*DcimManufacturersCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimManufacturersBulkUpdateResponse parses an HTTP response from a DcimManufacturersBulkUpdateWithResponse call +func ParseDcimManufacturersBulkUpdateResponse(rsp *http.Response) (*DcimManufacturersBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimManufacturersDestroyResponse parses an HTTP response from a DcimManufacturersDestroyWithResponse call +func ParseDcimManufacturersDestroyResponse(rsp *http.Response) (*DcimManufacturersDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimManufacturersRetrieveResponse parses an HTTP response from a DcimManufacturersRetrieveWithResponse call +func ParseDcimManufacturersRetrieveResponse(rsp *http.Response) (*DcimManufacturersRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimManufacturersPartialUpdateResponse parses an HTTP response from a DcimManufacturersPartialUpdateWithResponse call +func ParseDcimManufacturersPartialUpdateResponse(rsp *http.Response) (*DcimManufacturersPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimManufacturersUpdateResponse parses an HTTP response from a DcimManufacturersUpdateWithResponse call +func ParseDcimManufacturersUpdateResponse(rsp *http.Response) (*DcimManufacturersUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPlatformsListResponse parses an HTTP response from a DcimPlatformsListWithResponse call +func ParseDcimPlatformsListResponse(rsp *http.Response) (*DcimPlatformsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPlatformsBulkPartialUpdateResponse parses an HTTP response from a DcimPlatformsBulkPartialUpdateWithResponse call +func ParseDcimPlatformsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPlatformsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPlatformsCreateResponse parses an HTTP response from a DcimPlatformsCreateWithResponse call +func ParseDcimPlatformsCreateResponse(rsp *http.Response) (*DcimPlatformsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPlatformsBulkUpdateResponse parses an HTTP response from a DcimPlatformsBulkUpdateWithResponse call +func ParseDcimPlatformsBulkUpdateResponse(rsp *http.Response) (*DcimPlatformsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPlatformsDestroyResponse parses an HTTP response from a DcimPlatformsDestroyWithResponse call +func ParseDcimPlatformsDestroyResponse(rsp *http.Response) (*DcimPlatformsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPlatformsRetrieveResponse parses an HTTP response from a DcimPlatformsRetrieveWithResponse call +func ParseDcimPlatformsRetrieveResponse(rsp *http.Response) (*DcimPlatformsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPlatformsPartialUpdateResponse parses an HTTP response from a DcimPlatformsPartialUpdateWithResponse call +func ParseDcimPlatformsPartialUpdateResponse(rsp *http.Response) (*DcimPlatformsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPlatformsUpdateResponse parses an HTTP response from a DcimPlatformsUpdateWithResponse call +func ParseDcimPlatformsUpdateResponse(rsp *http.Response) (*DcimPlatformsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerConnectionsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsBulkDestroyResponse parses an HTTP response from a DcimPowerFeedsBulkDestroyWithResponse call +func ParseDcimPowerFeedsBulkDestroyResponse(rsp *http.Response) (*DcimPowerFeedsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsListResponse parses an HTTP response from a DcimPowerFeedsListWithResponse call +func ParseDcimPowerFeedsListResponse(rsp *http.Response) (*DcimPowerFeedsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerFeedsBulkPartialUpdateWithResponse call +func ParseDcimPowerFeedsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerFeedsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsCreateResponse parses an HTTP response from a DcimPowerFeedsCreateWithResponse call +func ParseDcimPowerFeedsCreateResponse(rsp *http.Response) (*DcimPowerFeedsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsBulkUpdateResponse parses an HTTP response from a DcimPowerFeedsBulkUpdateWithResponse call +func ParseDcimPowerFeedsBulkUpdateResponse(rsp *http.Response) (*DcimPowerFeedsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsDestroyResponse parses an HTTP response from a DcimPowerFeedsDestroyWithResponse call +func ParseDcimPowerFeedsDestroyResponse(rsp *http.Response) (*DcimPowerFeedsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsRetrieveResponse parses an HTTP response from a DcimPowerFeedsRetrieveWithResponse call +func ParseDcimPowerFeedsRetrieveResponse(rsp *http.Response) (*DcimPowerFeedsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsPartialUpdateResponse parses an HTTP response from a DcimPowerFeedsPartialUpdateWithResponse call +func ParseDcimPowerFeedsPartialUpdateResponse(rsp *http.Response) (*DcimPowerFeedsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsUpdateResponse parses an HTTP response from a DcimPowerFeedsUpdateWithResponse call +func ParseDcimPowerFeedsUpdateResponse(rsp *http.Response) (*DcimPowerFeedsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesBulkDestroyResponse parses an HTTP response from a DcimPowerOutletTemplatesBulkDestroyWithResponse call +func ParseDcimPowerOutletTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesListResponse parses an HTTP response from a DcimPowerOutletTemplatesListWithResponse call +func ParseDcimPowerOutletTemplatesListResponse(rsp *http.Response) (*DcimPowerOutletTemplatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesBulkPartialUpdateWithResponse call +func ParseDcimPowerOutletTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesCreateResponse parses an HTTP response from a DcimPowerOutletTemplatesCreateWithResponse call +func ParseDcimPowerOutletTemplatesCreateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesBulkUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesBulkUpdateWithResponse call +func ParseDcimPowerOutletTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesDestroyResponse parses an HTTP response from a DcimPowerOutletTemplatesDestroyWithResponse call +func ParseDcimPowerOutletTemplatesDestroyResponse(rsp *http.Response) (*DcimPowerOutletTemplatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesRetrieveResponse parses an HTTP response from a DcimPowerOutletTemplatesRetrieveWithResponse call +func ParseDcimPowerOutletTemplatesRetrieveResponse(rsp *http.Response) (*DcimPowerOutletTemplatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesPartialUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesPartialUpdateWithResponse call +func ParseDcimPowerOutletTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesUpdateWithResponse call +func ParseDcimPowerOutletTemplatesUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletsListResponse parses an HTTP response from a DcimPowerOutletsListWithResponse call +func ParseDcimPowerOutletsListResponse(rsp *http.Response) (*DcimPowerOutletsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerOutletsBulkPartialUpdateWithResponse call +func ParseDcimPowerOutletsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletsCreateResponse parses an HTTP response from a DcimPowerOutletsCreateWithResponse call +func ParseDcimPowerOutletsCreateResponse(rsp *http.Response) (*DcimPowerOutletsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletsBulkUpdateResponse parses an HTTP response from a DcimPowerOutletsBulkUpdateWithResponse call +func ParseDcimPowerOutletsBulkUpdateResponse(rsp *http.Response) (*DcimPowerOutletsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletsDestroyResponse parses an HTTP response from a DcimPowerOutletsDestroyWithResponse call +func ParseDcimPowerOutletsDestroyResponse(rsp *http.Response) (*DcimPowerOutletsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletsRetrieveResponse parses an HTTP response from a DcimPowerOutletsRetrieveWithResponse call +func ParseDcimPowerOutletsRetrieveResponse(rsp *http.Response) (*DcimPowerOutletsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletsPartialUpdateResponse parses an HTTP response from a DcimPowerOutletsPartialUpdateWithResponse call +func ParseDcimPowerOutletsPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletsUpdateResponse parses an HTTP response from a DcimPowerOutletsUpdateWithResponse call +func ParseDcimPowerOutletsUpdateResponse(rsp *http.Response) (*DcimPowerOutletsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsBulkDestroyResponse parses an HTTP response from a DcimPowerPanelsBulkDestroyWithResponse call +func ParseDcimPowerPanelsBulkDestroyResponse(rsp *http.Response) (*DcimPowerPanelsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsListResponse parses an HTTP response from a DcimPowerPanelsListWithResponse call +func ParseDcimPowerPanelsListResponse(rsp *http.Response) (*DcimPowerPanelsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerPanelsBulkPartialUpdateWithResponse call +func ParseDcimPowerPanelsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerPanelsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsCreateResponse parses an HTTP response from a DcimPowerPanelsCreateWithResponse call +func ParseDcimPowerPanelsCreateResponse(rsp *http.Response) (*DcimPowerPanelsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsBulkUpdateResponse parses an HTTP response from a DcimPowerPanelsBulkUpdateWithResponse call +func ParseDcimPowerPanelsBulkUpdateResponse(rsp *http.Response) (*DcimPowerPanelsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsDestroyResponse parses an HTTP response from a DcimPowerPanelsDestroyWithResponse call +func ParseDcimPowerPanelsDestroyResponse(rsp *http.Response) (*DcimPowerPanelsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsRetrieveResponse parses an HTTP response from a DcimPowerPanelsRetrieveWithResponse call +func ParseDcimPowerPanelsRetrieveResponse(rsp *http.Response) (*DcimPowerPanelsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsPartialUpdateResponse parses an HTTP response from a DcimPowerPanelsPartialUpdateWithResponse call +func ParseDcimPowerPanelsPartialUpdateResponse(rsp *http.Response) (*DcimPowerPanelsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsUpdateResponse parses an HTTP response from a DcimPowerPanelsUpdateWithResponse call +func ParseDcimPowerPanelsUpdateResponse(rsp *http.Response) (*DcimPowerPanelsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesListResponse parses an HTTP response from a DcimPowerPortTemplatesListWithResponse call +func ParseDcimPowerPortTemplatesListResponse(rsp *http.Response) (*DcimPowerPortTemplatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimPowerPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesCreateResponse parses an HTTP response from a DcimPowerPortTemplatesCreateWithResponse call +func ParseDcimPowerPortTemplatesCreateResponse(rsp *http.Response) (*DcimPowerPortTemplatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesBulkUpdateWithResponse call +func ParseDcimPowerPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesDestroyResponse parses an HTTP response from a DcimPowerPortTemplatesDestroyWithResponse call +func ParseDcimPowerPortTemplatesDestroyResponse(rsp *http.Response) (*DcimPowerPortTemplatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesRetrieveResponse parses an HTTP response from a DcimPowerPortTemplatesRetrieveWithResponse call +func ParseDcimPowerPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimPowerPortTemplatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesPartialUpdateWithResponse call +func ParseDcimPowerPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesUpdateWithResponse call +func ParseDcimPowerPortTemplatesUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortsListResponse parses an HTTP response from a DcimPowerPortsListWithResponse call +func ParseDcimPowerPortsListResponse(rsp *http.Response) (*DcimPowerPortsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerPortsBulkPartialUpdateWithResponse call +func ParseDcimPowerPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortsCreateResponse parses an HTTP response from a DcimPowerPortsCreateWithResponse call +func ParseDcimPowerPortsCreateResponse(rsp *http.Response) (*DcimPowerPortsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortsBulkUpdateResponse parses an HTTP response from a DcimPowerPortsBulkUpdateWithResponse call +func ParseDcimPowerPortsBulkUpdateResponse(rsp *http.Response) (*DcimPowerPortsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortsDestroyResponse parses an HTTP response from a DcimPowerPortsDestroyWithResponse call +func ParseDcimPowerPortsDestroyResponse(rsp *http.Response) (*DcimPowerPortsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortsRetrieveResponse parses an HTTP response from a DcimPowerPortsRetrieveWithResponse call +func ParseDcimPowerPortsRetrieveResponse(rsp *http.Response) (*DcimPowerPortsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortsPartialUpdateResponse parses an HTTP response from a DcimPowerPortsPartialUpdateWithResponse call +func ParseDcimPowerPortsPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortsUpdateResponse parses an HTTP response from a DcimPowerPortsUpdateWithResponse call +func ParseDcimPowerPortsUpdateResponse(rsp *http.Response) (*DcimPowerPortsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsTraceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsBulkDestroyResponse parses an HTTP response from a DcimRackGroupsBulkDestroyWithResponse call +func ParseDcimRackGroupsBulkDestroyResponse(rsp *http.Response) (*DcimRackGroupsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsListResponse parses an HTTP response from a DcimRackGroupsListWithResponse call +func ParseDcimRackGroupsListResponse(rsp *http.Response) (*DcimRackGroupsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsBulkPartialUpdateResponse parses an HTTP response from a DcimRackGroupsBulkPartialUpdateWithResponse call +func ParseDcimRackGroupsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRackGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsCreateResponse parses an HTTP response from a DcimRackGroupsCreateWithResponse call +func ParseDcimRackGroupsCreateResponse(rsp *http.Response) (*DcimRackGroupsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsBulkUpdateResponse parses an HTTP response from a DcimRackGroupsBulkUpdateWithResponse call +func ParseDcimRackGroupsBulkUpdateResponse(rsp *http.Response) (*DcimRackGroupsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsDestroyResponse parses an HTTP response from a DcimRackGroupsDestroyWithResponse call +func ParseDcimRackGroupsDestroyResponse(rsp *http.Response) (*DcimRackGroupsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsRetrieveResponse parses an HTTP response from a DcimRackGroupsRetrieveWithResponse call +func ParseDcimRackGroupsRetrieveResponse(rsp *http.Response) (*DcimRackGroupsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsPartialUpdateResponse parses an HTTP response from a DcimRackGroupsPartialUpdateWithResponse call +func ParseDcimRackGroupsPartialUpdateResponse(rsp *http.Response) (*DcimRackGroupsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsUpdateResponse parses an HTTP response from a DcimRackGroupsUpdateWithResponse call +func ParseDcimRackGroupsUpdateResponse(rsp *http.Response) (*DcimRackGroupsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackReservationsListResponse parses an HTTP response from a DcimRackReservationsListWithResponse call +func ParseDcimRackReservationsListResponse(rsp *http.Response) (*DcimRackReservationsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackReservationsBulkPartialUpdateResponse parses an HTTP response from a DcimRackReservationsBulkPartialUpdateWithResponse call +func ParseDcimRackReservationsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRackReservationsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackReservationsCreateResponse parses an HTTP response from a DcimRackReservationsCreateWithResponse call +func ParseDcimRackReservationsCreateResponse(rsp *http.Response) (*DcimRackReservationsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackReservationsBulkUpdateResponse parses an HTTP response from a DcimRackReservationsBulkUpdateWithResponse call +func ParseDcimRackReservationsBulkUpdateResponse(rsp *http.Response) (*DcimRackReservationsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackReservationsDestroyResponse parses an HTTP response from a DcimRackReservationsDestroyWithResponse call +func ParseDcimRackReservationsDestroyResponse(rsp *http.Response) (*DcimRackReservationsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackReservationsRetrieveResponse parses an HTTP response from a DcimRackReservationsRetrieveWithResponse call +func ParseDcimRackReservationsRetrieveResponse(rsp *http.Response) (*DcimRackReservationsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackReservationsPartialUpdateResponse parses an HTTP response from a DcimRackReservationsPartialUpdateWithResponse call +func ParseDcimRackReservationsPartialUpdateResponse(rsp *http.Response) (*DcimRackReservationsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackReservationsUpdateResponse parses an HTTP response from a DcimRackReservationsUpdateWithResponse call +func ParseDcimRackReservationsUpdateResponse(rsp *http.Response) (*DcimRackReservationsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackRolesListResponse parses an HTTP response from a DcimRackRolesListWithResponse call +func ParseDcimRackRolesListResponse(rsp *http.Response) (*DcimRackRolesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackRolesBulkPartialUpdateResponse parses an HTTP response from a DcimRackRolesBulkPartialUpdateWithResponse call +func ParseDcimRackRolesBulkPartialUpdateResponse(rsp *http.Response) (*DcimRackRolesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackRolesCreateResponse parses an HTTP response from a DcimRackRolesCreateWithResponse call +func ParseDcimRackRolesCreateResponse(rsp *http.Response) (*DcimRackRolesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackRolesBulkUpdateResponse parses an HTTP response from a DcimRackRolesBulkUpdateWithResponse call +func ParseDcimRackRolesBulkUpdateResponse(rsp *http.Response) (*DcimRackRolesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackRolesDestroyResponse parses an HTTP response from a DcimRackRolesDestroyWithResponse call +func ParseDcimRackRolesDestroyResponse(rsp *http.Response) (*DcimRackRolesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackRolesRetrieveResponse parses an HTTP response from a DcimRackRolesRetrieveWithResponse call +func ParseDcimRackRolesRetrieveResponse(rsp *http.Response) (*DcimRackRolesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackRolesPartialUpdateResponse parses an HTTP response from a DcimRackRolesPartialUpdateWithResponse call +func ParseDcimRackRolesPartialUpdateResponse(rsp *http.Response) (*DcimRackRolesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackRolesUpdateResponse parses an HTTP response from a DcimRackRolesUpdateWithResponse call +func ParseDcimRackRolesUpdateResponse(rsp *http.Response) (*DcimRackRolesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksListResponse parses an HTTP response from a DcimRacksListWithResponse call +func ParseDcimRacksListResponse(rsp *http.Response) (*DcimRacksListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksBulkPartialUpdateResponse parses an HTTP response from a DcimRacksBulkPartialUpdateWithResponse call +func ParseDcimRacksBulkPartialUpdateResponse(rsp *http.Response) (*DcimRacksBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksCreateResponse parses an HTTP response from a DcimRacksCreateWithResponse call +func ParseDcimRacksCreateResponse(rsp *http.Response) (*DcimRacksCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksBulkUpdateResponse parses an HTTP response from a DcimRacksBulkUpdateWithResponse call +func ParseDcimRacksBulkUpdateResponse(rsp *http.Response) (*DcimRacksBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksDestroyResponse parses an HTTP response from a DcimRacksDestroyWithResponse call +func ParseDcimRacksDestroyResponse(rsp *http.Response) (*DcimRacksDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksRetrieveResponse parses an HTTP response from a DcimRacksRetrieveWithResponse call +func ParseDcimRacksRetrieveResponse(rsp *http.Response) (*DcimRacksRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksPartialUpdateResponse parses an HTTP response from a DcimRacksPartialUpdateWithResponse call +func ParseDcimRacksPartialUpdateResponse(rsp *http.Response) (*DcimRacksPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksUpdateResponse parses an HTTP response from a DcimRacksUpdateWithResponse call +func ParseDcimRacksUpdateResponse(rsp *http.Response) (*DcimRacksUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksElevationListResponse parses an HTTP response from a DcimRacksElevationListWithResponse call +func ParseDcimRacksElevationListResponse(rsp *http.Response) (*DcimRacksElevationListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksElevationListResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortTemplatesListResponse parses an HTTP response from a DcimRearPortTemplatesListWithResponse call +func ParseDcimRearPortTemplatesListResponse(rsp *http.Response) (*DcimRearPortTemplatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimRearPortTemplatesBulkPartialUpdateWithResponse call +func ParseDcimRearPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortTemplatesCreateResponse parses an HTTP response from a DcimRearPortTemplatesCreateWithResponse call +func ParseDcimRearPortTemplatesCreateResponse(rsp *http.Response) (*DcimRearPortTemplatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimRearPortTemplatesBulkUpdateWithResponse call +func ParseDcimRearPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortTemplatesDestroyResponse parses an HTTP response from a DcimRearPortTemplatesDestroyWithResponse call +func ParseDcimRearPortTemplatesDestroyResponse(rsp *http.Response) (*DcimRearPortTemplatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortTemplatesRetrieveResponse parses an HTTP response from a DcimRearPortTemplatesRetrieveWithResponse call +func ParseDcimRearPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimRearPortTemplatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimRearPortTemplatesPartialUpdateWithResponse call +func ParseDcimRearPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortTemplatesUpdateResponse parses an HTTP response from a DcimRearPortTemplatesUpdateWithResponse call +func ParseDcimRearPortTemplatesUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortsListResponse parses an HTTP response from a DcimRearPortsListWithResponse call +func ParseDcimRearPortsListResponse(rsp *http.Response) (*DcimRearPortsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortsBulkPartialUpdateResponse parses an HTTP response from a DcimRearPortsBulkPartialUpdateWithResponse call +func ParseDcimRearPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRearPortsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortsCreateResponse parses an HTTP response from a DcimRearPortsCreateWithResponse call +func ParseDcimRearPortsCreateResponse(rsp *http.Response) (*DcimRearPortsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortsBulkUpdateResponse parses an HTTP response from a DcimRearPortsBulkUpdateWithResponse call +func ParseDcimRearPortsBulkUpdateResponse(rsp *http.Response) (*DcimRearPortsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortsDestroyResponse parses an HTTP response from a DcimRearPortsDestroyWithResponse call +func ParseDcimRearPortsDestroyResponse(rsp *http.Response) (*DcimRearPortsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortsRetrieveResponse parses an HTTP response from a DcimRearPortsRetrieveWithResponse call +func ParseDcimRearPortsRetrieveResponse(rsp *http.Response) (*DcimRearPortsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortsPartialUpdateResponse parses an HTTP response from a DcimRearPortsPartialUpdateWithResponse call +func ParseDcimRearPortsPartialUpdateResponse(rsp *http.Response) (*DcimRearPortsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortsUpdateResponse parses an HTTP response from a DcimRearPortsUpdateWithResponse call +func ParseDcimRearPortsUpdateResponse(rsp *http.Response) (*DcimRearPortsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsPathsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsBulkDestroyResponse parses an HTTP response from a DcimRegionsBulkDestroyWithResponse call +func ParseDcimRegionsBulkDestroyResponse(rsp *http.Response) (*DcimRegionsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsListResponse parses an HTTP response from a DcimRegionsListWithResponse call +func ParseDcimRegionsListResponse(rsp *http.Response) (*DcimRegionsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsBulkPartialUpdateResponse parses an HTTP response from a DcimRegionsBulkPartialUpdateWithResponse call +func ParseDcimRegionsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRegionsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsCreateResponse parses an HTTP response from a DcimRegionsCreateWithResponse call +func ParseDcimRegionsCreateResponse(rsp *http.Response) (*DcimRegionsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsBulkUpdateResponse parses an HTTP response from a DcimRegionsBulkUpdateWithResponse call +func ParseDcimRegionsBulkUpdateResponse(rsp *http.Response) (*DcimRegionsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsDestroyResponse parses an HTTP response from a DcimRegionsDestroyWithResponse call +func ParseDcimRegionsDestroyResponse(rsp *http.Response) (*DcimRegionsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsRetrieveResponse parses an HTTP response from a DcimRegionsRetrieveWithResponse call +func ParseDcimRegionsRetrieveResponse(rsp *http.Response) (*DcimRegionsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsPartialUpdateResponse parses an HTTP response from a DcimRegionsPartialUpdateWithResponse call +func ParseDcimRegionsPartialUpdateResponse(rsp *http.Response) (*DcimRegionsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsUpdateResponse parses an HTTP response from a DcimRegionsUpdateWithResponse call +func ParseDcimRegionsUpdateResponse(rsp *http.Response) (*DcimRegionsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSitesListResponse parses an HTTP response from a DcimSitesListWithResponse call +func ParseDcimSitesListResponse(rsp *http.Response) (*DcimSitesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSitesBulkPartialUpdateResponse parses an HTTP response from a DcimSitesBulkPartialUpdateWithResponse call +func ParseDcimSitesBulkPartialUpdateResponse(rsp *http.Response) (*DcimSitesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSitesCreateResponse parses an HTTP response from a DcimSitesCreateWithResponse call +func ParseDcimSitesCreateResponse(rsp *http.Response) (*DcimSitesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSitesBulkUpdateResponse parses an HTTP response from a DcimSitesBulkUpdateWithResponse call +func ParseDcimSitesBulkUpdateResponse(rsp *http.Response) (*DcimSitesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSitesDestroyResponse parses an HTTP response from a DcimSitesDestroyWithResponse call +func ParseDcimSitesDestroyResponse(rsp *http.Response) (*DcimSitesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSitesRetrieveResponse parses an HTTP response from a DcimSitesRetrieveWithResponse call +func ParseDcimSitesRetrieveResponse(rsp *http.Response) (*DcimSitesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSitesPartialUpdateResponse parses an HTTP response from a DcimSitesPartialUpdateWithResponse call +func ParseDcimSitesPartialUpdateResponse(rsp *http.Response) (*DcimSitesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSitesUpdateResponse parses an HTTP response from a DcimSitesUpdateWithResponse call +func ParseDcimSitesUpdateResponse(rsp *http.Response) (*DcimSitesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualChassisListResponse parses an HTTP response from a DcimVirtualChassisListWithResponse call +func ParseDcimVirtualChassisListResponse(rsp *http.Response) (*DcimVirtualChassisListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualChassisBulkPartialUpdateResponse parses an HTTP response from a DcimVirtualChassisBulkPartialUpdateWithResponse call +func ParseDcimVirtualChassisBulkPartialUpdateResponse(rsp *http.Response) (*DcimVirtualChassisBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualChassisCreateResponse parses an HTTP response from a DcimVirtualChassisCreateWithResponse call +func ParseDcimVirtualChassisCreateResponse(rsp *http.Response) (*DcimVirtualChassisCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualChassisBulkUpdateResponse parses an HTTP response from a DcimVirtualChassisBulkUpdateWithResponse call +func ParseDcimVirtualChassisBulkUpdateResponse(rsp *http.Response) (*DcimVirtualChassisBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualChassisDestroyResponse parses an HTTP response from a DcimVirtualChassisDestroyWithResponse call +func ParseDcimVirtualChassisDestroyResponse(rsp *http.Response) (*DcimVirtualChassisDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualChassisRetrieveResponse parses an HTTP response from a DcimVirtualChassisRetrieveWithResponse call +func ParseDcimVirtualChassisRetrieveResponse(rsp *http.Response) (*DcimVirtualChassisRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualChassisPartialUpdateResponse parses an HTTP response from a DcimVirtualChassisPartialUpdateWithResponse call +func ParseDcimVirtualChassisPartialUpdateResponse(rsp *http.Response) (*DcimVirtualChassisPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualChassisUpdateResponse parses an HTTP response from a DcimVirtualChassisUpdateWithResponse call +func ParseDcimVirtualChassisUpdateResponse(rsp *http.Response) (*DcimVirtualChassisUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasComputedFieldsListResponse parses an HTTP response from a ExtrasComputedFieldsListWithResponse call +func ParseExtrasComputedFieldsListResponse(rsp *http.Response) (*ExtrasComputedFieldsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasComputedFieldsBulkPartialUpdateResponse parses an HTTP response from a ExtrasComputedFieldsBulkPartialUpdateWithResponse call +func ParseExtrasComputedFieldsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasComputedFieldsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasComputedFieldsCreateResponse parses an HTTP response from a ExtrasComputedFieldsCreateWithResponse call +func ParseExtrasComputedFieldsCreateResponse(rsp *http.Response) (*ExtrasComputedFieldsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasComputedFieldsBulkUpdateResponse parses an HTTP response from a ExtrasComputedFieldsBulkUpdateWithResponse call +func ParseExtrasComputedFieldsBulkUpdateResponse(rsp *http.Response) (*ExtrasComputedFieldsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasComputedFieldsDestroyResponse parses an HTTP response from a ExtrasComputedFieldsDestroyWithResponse call +func ParseExtrasComputedFieldsDestroyResponse(rsp *http.Response) (*ExtrasComputedFieldsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasComputedFieldsRetrieveResponse parses an HTTP response from a ExtrasComputedFieldsRetrieveWithResponse call +func ParseExtrasComputedFieldsRetrieveResponse(rsp *http.Response) (*ExtrasComputedFieldsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasComputedFieldsPartialUpdateResponse parses an HTTP response from a ExtrasComputedFieldsPartialUpdateWithResponse call +func ParseExtrasComputedFieldsPartialUpdateResponse(rsp *http.Response) (*ExtrasComputedFieldsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasComputedFieldsUpdateResponse parses an HTTP response from a ExtrasComputedFieldsUpdateWithResponse call +func ParseExtrasComputedFieldsUpdateResponse(rsp *http.Response) (*ExtrasComputedFieldsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextSchemasListResponse parses an HTTP response from a ExtrasConfigContextSchemasListWithResponse call +func ParseExtrasConfigContextSchemasListResponse(rsp *http.Response) (*ExtrasConfigContextSchemasListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextSchemasBulkPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextSchemasBulkPartialUpdateWithResponse call +func ParseExtrasConfigContextSchemasBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextSchemasCreateResponse parses an HTTP response from a ExtrasConfigContextSchemasCreateWithResponse call +func ParseExtrasConfigContextSchemasCreateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextSchemasBulkUpdateResponse parses an HTTP response from a ExtrasConfigContextSchemasBulkUpdateWithResponse call +func ParseExtrasConfigContextSchemasBulkUpdateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextSchemasDestroyResponse parses an HTTP response from a ExtrasConfigContextSchemasDestroyWithResponse call +func ParseExtrasConfigContextSchemasDestroyResponse(rsp *http.Response) (*ExtrasConfigContextSchemasDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextSchemasRetrieveResponse parses an HTTP response from a ExtrasConfigContextSchemasRetrieveWithResponse call +func ParseExtrasConfigContextSchemasRetrieveResponse(rsp *http.Response) (*ExtrasConfigContextSchemasRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextSchemasPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextSchemasPartialUpdateWithResponse call +func ParseExtrasConfigContextSchemasPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextSchemasUpdateResponse parses an HTTP response from a ExtrasConfigContextSchemasUpdateWithResponse call +func ParseExtrasConfigContextSchemasUpdateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextsListResponse parses an HTTP response from a ExtrasConfigContextsListWithResponse call +func ParseExtrasConfigContextsListResponse(rsp *http.Response) (*ExtrasConfigContextsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextsBulkPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextsBulkPartialUpdateWithResponse call +func ParseExtrasConfigContextsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextsCreateResponse parses an HTTP response from a ExtrasConfigContextsCreateWithResponse call +func ParseExtrasConfigContextsCreateResponse(rsp *http.Response) (*ExtrasConfigContextsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextsBulkUpdateResponse parses an HTTP response from a ExtrasConfigContextsBulkUpdateWithResponse call +func ParseExtrasConfigContextsBulkUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextsDestroyResponse parses an HTTP response from a ExtrasConfigContextsDestroyWithResponse call +func ParseExtrasConfigContextsDestroyResponse(rsp *http.Response) (*ExtrasConfigContextsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextsRetrieveResponse parses an HTTP response from a ExtrasConfigContextsRetrieveWithResponse call +func ParseExtrasConfigContextsRetrieveResponse(rsp *http.Response) (*ExtrasConfigContextsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextsPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextsPartialUpdateWithResponse call +func ParseExtrasConfigContextsPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextsUpdateResponse parses an HTTP response from a ExtrasConfigContextsUpdateWithResponse call +func ParseExtrasConfigContextsUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasContentTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasContentTypesRetrieveResponse parses an HTTP response from a ExtrasContentTypesRetrieveWithResponse call +func ParseExtrasContentTypesRetrieveResponse(rsp *http.Response) (*ExtrasContentTypesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasContentTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoicesBulkDestroyResponse parses an HTTP response from a ExtrasCustomFieldChoicesBulkDestroyWithResponse call +func ParseExtrasCustomFieldChoicesBulkDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoicesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoicesListResponse parses an HTTP response from a ExtrasCustomFieldChoicesListWithResponse call +func ParseExtrasCustomFieldChoicesListResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoicesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoicesBulkPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoicesBulkPartialUpdateWithResponse call +func ParseExtrasCustomFieldChoicesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoicesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoicesCreateResponse parses an HTTP response from a ExtrasCustomFieldChoicesCreateWithResponse call +func ParseExtrasCustomFieldChoicesCreateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoicesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoicesBulkUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoicesBulkUpdateWithResponse call +func ParseExtrasCustomFieldChoicesBulkUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoicesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoicesDestroyResponse parses an HTTP response from a ExtrasCustomFieldChoicesDestroyWithResponse call +func ParseExtrasCustomFieldChoicesDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoicesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoicesRetrieveResponse parses an HTTP response from a ExtrasCustomFieldChoicesRetrieveWithResponse call +func ParseExtrasCustomFieldChoicesRetrieveResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoicesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoicesPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoicesPartialUpdateWithResponse call +func ParseExtrasCustomFieldChoicesPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoicesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldChoicesUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoicesUpdateWithResponse call +func ParseExtrasCustomFieldChoicesUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldChoicesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsBulkDestroyResponse parses an HTTP response from a ExtrasCustomFieldsBulkDestroyWithResponse call +func ParseExtrasCustomFieldsBulkDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsListResponse parses an HTTP response from a ExtrasCustomFieldsListWithResponse call +func ParseExtrasCustomFieldsListResponse(rsp *http.Response) (*ExtrasCustomFieldsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsBulkPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldsBulkPartialUpdateWithResponse call +func ParseExtrasCustomFieldsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsCreateResponse parses an HTTP response from a ExtrasCustomFieldsCreateWithResponse call +func ParseExtrasCustomFieldsCreateResponse(rsp *http.Response) (*ExtrasCustomFieldsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsBulkUpdateResponse parses an HTTP response from a ExtrasCustomFieldsBulkUpdateWithResponse call +func ParseExtrasCustomFieldsBulkUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsDestroyResponse parses an HTTP response from a ExtrasCustomFieldsDestroyWithResponse call +func ParseExtrasCustomFieldsDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsRetrieveResponse parses an HTTP response from a ExtrasCustomFieldsRetrieveWithResponse call +func ParseExtrasCustomFieldsRetrieveResponse(rsp *http.Response) (*ExtrasCustomFieldsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldsPartialUpdateWithResponse call +func ParseExtrasCustomFieldsPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsUpdateResponse parses an HTTP response from a ExtrasCustomFieldsUpdateWithResponse call +func ParseExtrasCustomFieldsUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomLinksListResponse parses an HTTP response from a ExtrasCustomLinksListWithResponse call +func ParseExtrasCustomLinksListResponse(rsp *http.Response) (*ExtrasCustomLinksListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomLinksBulkPartialUpdateResponse parses an HTTP response from a ExtrasCustomLinksBulkPartialUpdateWithResponse call +func ParseExtrasCustomLinksBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomLinksCreateResponse parses an HTTP response from a ExtrasCustomLinksCreateWithResponse call +func ParseExtrasCustomLinksCreateResponse(rsp *http.Response) (*ExtrasCustomLinksCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomLinksBulkUpdateResponse parses an HTTP response from a ExtrasCustomLinksBulkUpdateWithResponse call +func ParseExtrasCustomLinksBulkUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomLinksDestroyResponse parses an HTTP response from a ExtrasCustomLinksDestroyWithResponse call +func ParseExtrasCustomLinksDestroyResponse(rsp *http.Response) (*ExtrasCustomLinksDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomLinksRetrieveResponse parses an HTTP response from a ExtrasCustomLinksRetrieveWithResponse call +func ParseExtrasCustomLinksRetrieveResponse(rsp *http.Response) (*ExtrasCustomLinksRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomLinksPartialUpdateResponse parses an HTTP response from a ExtrasCustomLinksPartialUpdateWithResponse call +func ParseExtrasCustomLinksPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomLinksUpdateResponse parses an HTTP response from a ExtrasCustomLinksUpdateWithResponse call +func ParseExtrasCustomLinksUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsListResponse parses an HTTP response from a ExtrasDynamicGroupsListWithResponse call +func ParseExtrasDynamicGroupsListResponse(rsp *http.Response) (*ExtrasDynamicGroupsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsBulkPartialUpdateResponse parses an HTTP response from a ExtrasDynamicGroupsBulkPartialUpdateWithResponse call +func ParseExtrasDynamicGroupsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsCreateResponse parses an HTTP response from a ExtrasDynamicGroupsCreateWithResponse call +func ParseExtrasDynamicGroupsCreateResponse(rsp *http.Response) (*ExtrasDynamicGroupsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsBulkUpdateResponse parses an HTTP response from a ExtrasDynamicGroupsBulkUpdateWithResponse call +func ParseExtrasDynamicGroupsBulkUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsDestroyResponse parses an HTTP response from a ExtrasDynamicGroupsDestroyWithResponse call +func ParseExtrasDynamicGroupsDestroyResponse(rsp *http.Response) (*ExtrasDynamicGroupsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsRetrieveResponse parses an HTTP response from a ExtrasDynamicGroupsRetrieveWithResponse call +func ParseExtrasDynamicGroupsRetrieveResponse(rsp *http.Response) (*ExtrasDynamicGroupsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsPartialUpdateResponse parses an HTTP response from a ExtrasDynamicGroupsPartialUpdateWithResponse call +func ParseExtrasDynamicGroupsPartialUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsUpdateResponse parses an HTTP response from a ExtrasDynamicGroupsUpdateWithResponse call +func ParseExtrasDynamicGroupsUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsMembersRetrieveResponse parses an HTTP response from a ExtrasDynamicGroupsMembersRetrieveWithResponse call +func ParseExtrasDynamicGroupsMembersRetrieveResponse(rsp *http.Response) (*ExtrasDynamicGroupsMembersRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsMembersRetrieveResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasExportTemplatesListResponse parses an HTTP response from a ExtrasExportTemplatesListWithResponse call +func ParseExtrasExportTemplatesListResponse(rsp *http.Response) (*ExtrasExportTemplatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasExportTemplatesBulkPartialUpdateResponse parses an HTTP response from a ExtrasExportTemplatesBulkPartialUpdateWithResponse call +func ParseExtrasExportTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasExportTemplatesCreateResponse parses an HTTP response from a ExtrasExportTemplatesCreateWithResponse call +func ParseExtrasExportTemplatesCreateResponse(rsp *http.Response) (*ExtrasExportTemplatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasExportTemplatesBulkUpdateResponse parses an HTTP response from a ExtrasExportTemplatesBulkUpdateWithResponse call +func ParseExtrasExportTemplatesBulkUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasExportTemplatesDestroyResponse parses an HTTP response from a ExtrasExportTemplatesDestroyWithResponse call +func ParseExtrasExportTemplatesDestroyResponse(rsp *http.Response) (*ExtrasExportTemplatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasExportTemplatesRetrieveResponse parses an HTTP response from a ExtrasExportTemplatesRetrieveWithResponse call +func ParseExtrasExportTemplatesRetrieveResponse(rsp *http.Response) (*ExtrasExportTemplatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasExportTemplatesPartialUpdateResponse parses an HTTP response from a ExtrasExportTemplatesPartialUpdateWithResponse call +func ParseExtrasExportTemplatesPartialUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasExportTemplatesUpdateResponse parses an HTTP response from a ExtrasExportTemplatesUpdateWithResponse call +func ParseExtrasExportTemplatesUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGitRepositoriesListResponse parses an HTTP response from a ExtrasGitRepositoriesListWithResponse call +func ParseExtrasGitRepositoriesListResponse(rsp *http.Response) (*ExtrasGitRepositoriesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGitRepositoriesBulkPartialUpdateResponse parses an HTTP response from a ExtrasGitRepositoriesBulkPartialUpdateWithResponse call +func ParseExtrasGitRepositoriesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasGitRepositoriesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGitRepositoriesCreateResponse parses an HTTP response from a ExtrasGitRepositoriesCreateWithResponse call +func ParseExtrasGitRepositoriesCreateResponse(rsp *http.Response) (*ExtrasGitRepositoriesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGitRepositoriesBulkUpdateResponse parses an HTTP response from a ExtrasGitRepositoriesBulkUpdateWithResponse call +func ParseExtrasGitRepositoriesBulkUpdateResponse(rsp *http.Response) (*ExtrasGitRepositoriesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGitRepositoriesDestroyResponse parses an HTTP response from a ExtrasGitRepositoriesDestroyWithResponse call +func ParseExtrasGitRepositoriesDestroyResponse(rsp *http.Response) (*ExtrasGitRepositoriesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGitRepositoriesRetrieveResponse parses an HTTP response from a ExtrasGitRepositoriesRetrieveWithResponse call +func ParseExtrasGitRepositoriesRetrieveResponse(rsp *http.Response) (*ExtrasGitRepositoriesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGitRepositoriesPartialUpdateResponse parses an HTTP response from a ExtrasGitRepositoriesPartialUpdateWithResponse call +func ParseExtrasGitRepositoriesPartialUpdateResponse(rsp *http.Response) (*ExtrasGitRepositoriesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGitRepositoriesUpdateResponse parses an HTTP response from a ExtrasGitRepositoriesUpdateWithResponse call +func ParseExtrasGitRepositoriesUpdateResponse(rsp *http.Response) (*ExtrasGitRepositoriesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesSyncCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesBulkDestroyResponse parses an HTTP response from a ExtrasGraphqlQueriesBulkDestroyWithResponse call +func ParseExtrasGraphqlQueriesBulkDestroyResponse(rsp *http.Response) (*ExtrasGraphqlQueriesBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesListResponse parses an HTTP response from a ExtrasGraphqlQueriesListWithResponse call +func ParseExtrasGraphqlQueriesListResponse(rsp *http.Response) (*ExtrasGraphqlQueriesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesBulkPartialUpdateResponse parses an HTTP response from a ExtrasGraphqlQueriesBulkPartialUpdateWithResponse call +func ParseExtrasGraphqlQueriesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesCreateResponse parses an HTTP response from a ExtrasGraphqlQueriesCreateWithResponse call +func ParseExtrasGraphqlQueriesCreateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesBulkUpdateResponse parses an HTTP response from a ExtrasGraphqlQueriesBulkUpdateWithResponse call +func ParseExtrasGraphqlQueriesBulkUpdateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesDestroyResponse parses an HTTP response from a ExtrasGraphqlQueriesDestroyWithResponse call +func ParseExtrasGraphqlQueriesDestroyResponse(rsp *http.Response) (*ExtrasGraphqlQueriesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesRetrieveResponse parses an HTTP response from a ExtrasGraphqlQueriesRetrieveWithResponse call +func ParseExtrasGraphqlQueriesRetrieveResponse(rsp *http.Response) (*ExtrasGraphqlQueriesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesPartialUpdateResponse parses an HTTP response from a ExtrasGraphqlQueriesPartialUpdateWithResponse call +func ParseExtrasGraphqlQueriesPartialUpdateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesUpdateResponse parses an HTTP response from a ExtrasGraphqlQueriesUpdateWithResponse call +func ParseExtrasGraphqlQueriesUpdateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesRunCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasImageAttachmentsBulkDestroyResponse parses an HTTP response from a ExtrasImageAttachmentsBulkDestroyWithResponse call +func ParseExtrasImageAttachmentsBulkDestroyResponse(rsp *http.Response) (*ExtrasImageAttachmentsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasImageAttachmentsListResponse parses an HTTP response from a ExtrasImageAttachmentsListWithResponse call +func ParseExtrasImageAttachmentsListResponse(rsp *http.Response) (*ExtrasImageAttachmentsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasImageAttachmentsBulkPartialUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsBulkPartialUpdateWithResponse call +func ParseExtrasImageAttachmentsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasImageAttachmentsCreateResponse parses an HTTP response from a ExtrasImageAttachmentsCreateWithResponse call +func ParseExtrasImageAttachmentsCreateResponse(rsp *http.Response) (*ExtrasImageAttachmentsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasImageAttachmentsBulkUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsBulkUpdateWithResponse call +func ParseExtrasImageAttachmentsBulkUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasImageAttachmentsDestroyResponse parses an HTTP response from a ExtrasImageAttachmentsDestroyWithResponse call +func ParseExtrasImageAttachmentsDestroyResponse(rsp *http.Response) (*ExtrasImageAttachmentsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasImageAttachmentsRetrieveResponse parses an HTTP response from a ExtrasImageAttachmentsRetrieveWithResponse call +func ParseExtrasImageAttachmentsRetrieveResponse(rsp *http.Response) (*ExtrasImageAttachmentsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasImageAttachmentsPartialUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsPartialUpdateWithResponse call +func ParseExtrasImageAttachmentsPartialUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasImageAttachmentsUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsUpdateWithResponse call +func ParseExtrasImageAttachmentsUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasImageAttachmentsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobLogsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobLogsRetrieveResponse parses an HTTP response from a ExtrasJobLogsRetrieveWithResponse call +func ParseExtrasJobLogsRetrieveResponse(rsp *http.Response) (*ExtrasJobLogsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobLogsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobResultsBulkDestroyResponse parses an HTTP response from a ExtrasJobResultsBulkDestroyWithResponse call +func ParseExtrasJobResultsBulkDestroyResponse(rsp *http.Response) (*ExtrasJobResultsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobResultsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobResultsListResponse parses an HTTP response from a ExtrasJobResultsListWithResponse call +func ParseExtrasJobResultsListResponse(rsp *http.Response) (*ExtrasJobResultsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobResultsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobResultsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobResultsRetrieveResponse parses an HTTP response from a ExtrasJobResultsRetrieveWithResponse call +func ParseExtrasJobResultsRetrieveResponse(rsp *http.Response) (*ExtrasJobResultsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobResultsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobResultsLogsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsBulkDestroyResponse parses an HTTP response from a ExtrasJobsBulkDestroyWithResponse call +func ParseExtrasJobsBulkDestroyResponse(rsp *http.Response) (*ExtrasJobsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsListResponse parses an HTTP response from a ExtrasJobsListWithResponse call +func ParseExtrasJobsListResponse(rsp *http.Response) (*ExtrasJobsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsBulkPartialUpdateResponse parses an HTTP response from a ExtrasJobsBulkPartialUpdateWithResponse call +func ParseExtrasJobsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasJobsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsBulkUpdateResponse parses an HTTP response from a ExtrasJobsBulkUpdateWithResponse call +func ParseExtrasJobsBulkUpdateResponse(rsp *http.Response) (*ExtrasJobsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsReadDeprecatedResponse parses an HTTP response from a ExtrasJobsReadDeprecatedWithResponse call +func ParseExtrasJobsReadDeprecatedResponse(rsp *http.Response) (*ExtrasJobsReadDeprecatedResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsReadDeprecatedResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsRunDeprecatedResponse parses an HTTP response from a ExtrasJobsRunDeprecatedWithResponse call +func ParseExtrasJobsRunDeprecatedResponse(rsp *http.Response) (*ExtrasJobsRunDeprecatedResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsRunDeprecatedResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsDestroyResponse parses an HTTP response from a ExtrasJobsDestroyWithResponse call +func ParseExtrasJobsDestroyResponse(rsp *http.Response) (*ExtrasJobsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsRetrieveResponse parses an HTTP response from a ExtrasJobsRetrieveWithResponse call +func ParseExtrasJobsRetrieveResponse(rsp *http.Response) (*ExtrasJobsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsPartialUpdateResponse parses an HTTP response from a ExtrasJobsPartialUpdateWithResponse call +func ParseExtrasJobsPartialUpdateResponse(rsp *http.Response) (*ExtrasJobsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsUpdateResponse parses an HTTP response from a ExtrasJobsUpdateWithResponse call +func ParseExtrasJobsUpdateResponse(rsp *http.Response) (*ExtrasJobsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsRunCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsVariablesListResponse parses an HTTP response from a ExtrasJobsVariablesListWithResponse call +func ParseExtrasJobsVariablesListResponse(rsp *http.Response) (*ExtrasJobsVariablesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsVariablesListResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasObjectChangesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasObjectChangesRetrieveResponse parses an HTTP response from a ExtrasObjectChangesRetrieveWithResponse call +func ParseExtrasObjectChangesRetrieveResponse(rsp *http.Response) (*ExtrasObjectChangesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasObjectChangesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipAssociationsBulkDestroyResponse parses an HTTP response from a ExtrasRelationshipAssociationsBulkDestroyWithResponse call +func ParseExtrasRelationshipAssociationsBulkDestroyResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipAssociationsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipAssociationsListResponse parses an HTTP response from a ExtrasRelationshipAssociationsListWithResponse call +func ParseExtrasRelationshipAssociationsListResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipAssociationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipAssociationsBulkPartialUpdateResponse parses an HTTP response from a ExtrasRelationshipAssociationsBulkPartialUpdateWithResponse call +func ParseExtrasRelationshipAssociationsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipAssociationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipAssociationsCreateResponse parses an HTTP response from a ExtrasRelationshipAssociationsCreateWithResponse call +func ParseExtrasRelationshipAssociationsCreateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipAssociationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipAssociationsBulkUpdateResponse parses an HTTP response from a ExtrasRelationshipAssociationsBulkUpdateWithResponse call +func ParseExtrasRelationshipAssociationsBulkUpdateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipAssociationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipAssociationsDestroyResponse parses an HTTP response from a ExtrasRelationshipAssociationsDestroyWithResponse call +func ParseExtrasRelationshipAssociationsDestroyResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipAssociationsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipAssociationsRetrieveResponse parses an HTTP response from a ExtrasRelationshipAssociationsRetrieveWithResponse call +func ParseExtrasRelationshipAssociationsRetrieveResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipAssociationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipAssociationsPartialUpdateResponse parses an HTTP response from a ExtrasRelationshipAssociationsPartialUpdateWithResponse call +func ParseExtrasRelationshipAssociationsPartialUpdateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipAssociationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipAssociationsUpdateResponse parses an HTTP response from a ExtrasRelationshipAssociationsUpdateWithResponse call +func ParseExtrasRelationshipAssociationsUpdateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipAssociationsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsBulkDestroyResponse parses an HTTP response from a ExtrasRelationshipsBulkDestroyWithResponse call +func ParseExtrasRelationshipsBulkDestroyResponse(rsp *http.Response) (*ExtrasRelationshipsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsListResponse parses an HTTP response from a ExtrasRelationshipsListWithResponse call +func ParseExtrasRelationshipsListResponse(rsp *http.Response) (*ExtrasRelationshipsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsBulkPartialUpdateResponse parses an HTTP response from a ExtrasRelationshipsBulkPartialUpdateWithResponse call +func ParseExtrasRelationshipsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasRelationshipsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsCreateResponse parses an HTTP response from a ExtrasRelationshipsCreateWithResponse call +func ParseExtrasRelationshipsCreateResponse(rsp *http.Response) (*ExtrasRelationshipsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsBulkUpdateResponse parses an HTTP response from a ExtrasRelationshipsBulkUpdateWithResponse call +func ParseExtrasRelationshipsBulkUpdateResponse(rsp *http.Response) (*ExtrasRelationshipsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsDestroyResponse parses an HTTP response from a ExtrasRelationshipsDestroyWithResponse call +func ParseExtrasRelationshipsDestroyResponse(rsp *http.Response) (*ExtrasRelationshipsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsRetrieveResponse parses an HTTP response from a ExtrasRelationshipsRetrieveWithResponse call +func ParseExtrasRelationshipsRetrieveResponse(rsp *http.Response) (*ExtrasRelationshipsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsPartialUpdateResponse parses an HTTP response from a ExtrasRelationshipsPartialUpdateWithResponse call +func ParseExtrasRelationshipsPartialUpdateResponse(rsp *http.Response) (*ExtrasRelationshipsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsUpdateResponse parses an HTTP response from a ExtrasRelationshipsUpdateWithResponse call +func ParseExtrasRelationshipsUpdateResponse(rsp *http.Response) (*ExtrasRelationshipsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasScheduledJobsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasScheduledJobsRetrieveResponse parses an HTTP response from a ExtrasScheduledJobsRetrieveWithResponse call +func ParseExtrasScheduledJobsRetrieveResponse(rsp *http.Response) (*ExtrasScheduledJobsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasScheduledJobsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasScheduledJobsApproveCreateResponse parses an HTTP response from a ExtrasScheduledJobsApproveCreateWithResponse call +func ParseExtrasScheduledJobsApproveCreateResponse(rsp *http.Response) (*ExtrasScheduledJobsApproveCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasScheduledJobsApproveCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasScheduledJobsDenyCreateResponse parses an HTTP response from a ExtrasScheduledJobsDenyCreateWithResponse call +func ParseExtrasScheduledJobsDenyCreateResponse(rsp *http.Response) (*ExtrasScheduledJobsDenyCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasScheduledJobsDenyCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasScheduledJobsDryRunCreateResponse parses an HTTP response from a ExtrasScheduledJobsDryRunCreateWithResponse call +func ParseExtrasScheduledJobsDryRunCreateResponse(rsp *http.Response) (*ExtrasScheduledJobsDryRunCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasScheduledJobsDryRunCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsAssociationsBulkDestroyResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse call +func ParseExtrasSecretsGroupsAssociationsBulkDestroyResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsAssociationsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsAssociationsListResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsListWithResponse call +func ParseExtrasSecretsGroupsAssociationsListResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsAssociationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithResponse call +func ParseExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsAssociationsCreateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsCreateWithResponse call +func ParseExtrasSecretsGroupsAssociationsCreateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsAssociationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsAssociationsBulkUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsBulkUpdateWithResponse call +func ParseExtrasSecretsGroupsAssociationsBulkUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsAssociationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsAssociationsDestroyResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsDestroyWithResponse call +func ParseExtrasSecretsGroupsAssociationsDestroyResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsAssociationsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsAssociationsRetrieveResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsRetrieveWithResponse call +func ParseExtrasSecretsGroupsAssociationsRetrieveResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsAssociationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsAssociationsPartialUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsPartialUpdateWithResponse call +func ParseExtrasSecretsGroupsAssociationsPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsAssociationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsAssociationsUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsUpdateWithResponse call +func ParseExtrasSecretsGroupsAssociationsUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsAssociationsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsBulkDestroyResponse parses an HTTP response from a ExtrasSecretsGroupsBulkDestroyWithResponse call +func ParseExtrasSecretsGroupsBulkDestroyResponse(rsp *http.Response) (*ExtrasSecretsGroupsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsListResponse parses an HTTP response from a ExtrasSecretsGroupsListWithResponse call +func ParseExtrasSecretsGroupsListResponse(rsp *http.Response) (*ExtrasSecretsGroupsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsBulkPartialUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsBulkPartialUpdateWithResponse call +func ParseExtrasSecretsGroupsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsCreateResponse parses an HTTP response from a ExtrasSecretsGroupsCreateWithResponse call +func ParseExtrasSecretsGroupsCreateResponse(rsp *http.Response) (*ExtrasSecretsGroupsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsBulkUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsBulkUpdateWithResponse call +func ParseExtrasSecretsGroupsBulkUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsDestroyResponse parses an HTTP response from a ExtrasSecretsGroupsDestroyWithResponse call +func ParseExtrasSecretsGroupsDestroyResponse(rsp *http.Response) (*ExtrasSecretsGroupsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsRetrieveResponse parses an HTTP response from a ExtrasSecretsGroupsRetrieveWithResponse call +func ParseExtrasSecretsGroupsRetrieveResponse(rsp *http.Response) (*ExtrasSecretsGroupsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsPartialUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsPartialUpdateWithResponse call +func ParseExtrasSecretsGroupsPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsUpdateWithResponse call +func ParseExtrasSecretsGroupsUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsListResponse parses an HTTP response from a ExtrasSecretsListWithResponse call +func ParseExtrasSecretsListResponse(rsp *http.Response) (*ExtrasSecretsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsBulkPartialUpdateResponse parses an HTTP response from a ExtrasSecretsBulkPartialUpdateWithResponse call +func ParseExtrasSecretsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsCreateResponse parses an HTTP response from a ExtrasSecretsCreateWithResponse call +func ParseExtrasSecretsCreateResponse(rsp *http.Response) (*ExtrasSecretsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsBulkUpdateResponse parses an HTTP response from a ExtrasSecretsBulkUpdateWithResponse call +func ParseExtrasSecretsBulkUpdateResponse(rsp *http.Response) (*ExtrasSecretsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsDestroyResponse parses an HTTP response from a ExtrasSecretsDestroyWithResponse call +func ParseExtrasSecretsDestroyResponse(rsp *http.Response) (*ExtrasSecretsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsRetrieveResponse parses an HTTP response from a ExtrasSecretsRetrieveWithResponse call +func ParseExtrasSecretsRetrieveResponse(rsp *http.Response) (*ExtrasSecretsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsPartialUpdateResponse parses an HTTP response from a ExtrasSecretsPartialUpdateWithResponse call +func ParseExtrasSecretsPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsUpdateResponse parses an HTTP response from a ExtrasSecretsUpdateWithResponse call +func ParseExtrasSecretsUpdateResponse(rsp *http.Response) (*ExtrasSecretsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasStatusesListResponse parses an HTTP response from a ExtrasStatusesListWithResponse call +func ParseExtrasStatusesListResponse(rsp *http.Response) (*ExtrasStatusesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasStatusesBulkPartialUpdateResponse parses an HTTP response from a ExtrasStatusesBulkPartialUpdateWithResponse call +func ParseExtrasStatusesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasStatusesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasStatusesCreateResponse parses an HTTP response from a ExtrasStatusesCreateWithResponse call +func ParseExtrasStatusesCreateResponse(rsp *http.Response) (*ExtrasStatusesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasStatusesBulkUpdateResponse parses an HTTP response from a ExtrasStatusesBulkUpdateWithResponse call +func ParseExtrasStatusesBulkUpdateResponse(rsp *http.Response) (*ExtrasStatusesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasStatusesDestroyResponse parses an HTTP response from a ExtrasStatusesDestroyWithResponse call +func ParseExtrasStatusesDestroyResponse(rsp *http.Response) (*ExtrasStatusesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasStatusesRetrieveResponse parses an HTTP response from a ExtrasStatusesRetrieveWithResponse call +func ParseExtrasStatusesRetrieveResponse(rsp *http.Response) (*ExtrasStatusesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasStatusesPartialUpdateResponse parses an HTTP response from a ExtrasStatusesPartialUpdateWithResponse call +func ParseExtrasStatusesPartialUpdateResponse(rsp *http.Response) (*ExtrasStatusesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasStatusesUpdateResponse parses an HTTP response from a ExtrasStatusesUpdateWithResponse call +func ParseExtrasStatusesUpdateResponse(rsp *http.Response) (*ExtrasStatusesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasTagsListResponse parses an HTTP response from a ExtrasTagsListWithResponse call +func ParseExtrasTagsListResponse(rsp *http.Response) (*ExtrasTagsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasTagsBulkPartialUpdateResponse parses an HTTP response from a ExtrasTagsBulkPartialUpdateWithResponse call +func ParseExtrasTagsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasTagsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasTagsCreateResponse parses an HTTP response from a ExtrasTagsCreateWithResponse call +func ParseExtrasTagsCreateResponse(rsp *http.Response) (*ExtrasTagsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasTagsBulkUpdateResponse parses an HTTP response from a ExtrasTagsBulkUpdateWithResponse call +func ParseExtrasTagsBulkUpdateResponse(rsp *http.Response) (*ExtrasTagsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasTagsDestroyResponse parses an HTTP response from a ExtrasTagsDestroyWithResponse call +func ParseExtrasTagsDestroyResponse(rsp *http.Response) (*ExtrasTagsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasTagsRetrieveResponse parses an HTTP response from a ExtrasTagsRetrieveWithResponse call +func ParseExtrasTagsRetrieveResponse(rsp *http.Response) (*ExtrasTagsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasTagsPartialUpdateResponse parses an HTTP response from a ExtrasTagsPartialUpdateWithResponse call +func ParseExtrasTagsPartialUpdateResponse(rsp *http.Response) (*ExtrasTagsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasTagsUpdateResponse parses an HTTP response from a ExtrasTagsUpdateWithResponse call +func ParseExtrasTagsUpdateResponse(rsp *http.Response) (*ExtrasTagsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasWebhooksListResponse parses an HTTP response from a ExtrasWebhooksListWithResponse call +func ParseExtrasWebhooksListResponse(rsp *http.Response) (*ExtrasWebhooksListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasWebhooksBulkPartialUpdateResponse parses an HTTP response from a ExtrasWebhooksBulkPartialUpdateWithResponse call +func ParseExtrasWebhooksBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasWebhooksBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasWebhooksCreateResponse parses an HTTP response from a ExtrasWebhooksCreateWithResponse call +func ParseExtrasWebhooksCreateResponse(rsp *http.Response) (*ExtrasWebhooksCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasWebhooksBulkUpdateResponse parses an HTTP response from a ExtrasWebhooksBulkUpdateWithResponse call +func ParseExtrasWebhooksBulkUpdateResponse(rsp *http.Response) (*ExtrasWebhooksBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasWebhooksDestroyResponse parses an HTTP response from a ExtrasWebhooksDestroyWithResponse call +func ParseExtrasWebhooksDestroyResponse(rsp *http.Response) (*ExtrasWebhooksDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasWebhooksRetrieveResponse parses an HTTP response from a ExtrasWebhooksRetrieveWithResponse call +func ParseExtrasWebhooksRetrieveResponse(rsp *http.Response) (*ExtrasWebhooksRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasWebhooksPartialUpdateResponse parses an HTTP response from a ExtrasWebhooksPartialUpdateWithResponse call +func ParseExtrasWebhooksPartialUpdateResponse(rsp *http.Response) (*ExtrasWebhooksPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasWebhooksUpdateResponse parses an HTTP response from a ExtrasWebhooksUpdateWithResponse call +func ParseExtrasWebhooksUpdateResponse(rsp *http.Response) (*ExtrasWebhooksUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GraphqlCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesBulkDestroyResponse parses an HTTP response from a IpamAggregatesBulkDestroyWithResponse call +func ParseIpamAggregatesBulkDestroyResponse(rsp *http.Response) (*IpamAggregatesBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesListResponse parses an HTTP response from a IpamAggregatesListWithResponse call +func ParseIpamAggregatesListResponse(rsp *http.Response) (*IpamAggregatesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesBulkPartialUpdateResponse parses an HTTP response from a IpamAggregatesBulkPartialUpdateWithResponse call +func ParseIpamAggregatesBulkPartialUpdateResponse(rsp *http.Response) (*IpamAggregatesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesCreateResponse parses an HTTP response from a IpamAggregatesCreateWithResponse call +func ParseIpamAggregatesCreateResponse(rsp *http.Response) (*IpamAggregatesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesBulkUpdateResponse parses an HTTP response from a IpamAggregatesBulkUpdateWithResponse call +func ParseIpamAggregatesBulkUpdateResponse(rsp *http.Response) (*IpamAggregatesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesDestroyResponse parses an HTTP response from a IpamAggregatesDestroyWithResponse call +func ParseIpamAggregatesDestroyResponse(rsp *http.Response) (*IpamAggregatesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesRetrieveResponse parses an HTTP response from a IpamAggregatesRetrieveWithResponse call +func ParseIpamAggregatesRetrieveResponse(rsp *http.Response) (*IpamAggregatesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesPartialUpdateResponse parses an HTTP response from a IpamAggregatesPartialUpdateWithResponse call +func ParseIpamAggregatesPartialUpdateResponse(rsp *http.Response) (*IpamAggregatesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesUpdateResponse parses an HTTP response from a IpamAggregatesUpdateWithResponse call +func ParseIpamAggregatesUpdateResponse(rsp *http.Response) (*IpamAggregatesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpAddressesListResponse parses an HTTP response from a IpamIpAddressesListWithResponse call +func ParseIpamIpAddressesListResponse(rsp *http.Response) (*IpamIpAddressesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpAddressesBulkPartialUpdateResponse parses an HTTP response from a IpamIpAddressesBulkPartialUpdateWithResponse call +func ParseIpamIpAddressesBulkPartialUpdateResponse(rsp *http.Response) (*IpamIpAddressesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpAddressesCreateResponse parses an HTTP response from a IpamIpAddressesCreateWithResponse call +func ParseIpamIpAddressesCreateResponse(rsp *http.Response) (*IpamIpAddressesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpAddressesBulkUpdateResponse parses an HTTP response from a IpamIpAddressesBulkUpdateWithResponse call +func ParseIpamIpAddressesBulkUpdateResponse(rsp *http.Response) (*IpamIpAddressesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpAddressesDestroyResponse parses an HTTP response from a IpamIpAddressesDestroyWithResponse call +func ParseIpamIpAddressesDestroyResponse(rsp *http.Response) (*IpamIpAddressesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpAddressesRetrieveResponse parses an HTTP response from a IpamIpAddressesRetrieveWithResponse call +func ParseIpamIpAddressesRetrieveResponse(rsp *http.Response) (*IpamIpAddressesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpAddressesPartialUpdateResponse parses an HTTP response from a IpamIpAddressesPartialUpdateWithResponse call +func ParseIpamIpAddressesPartialUpdateResponse(rsp *http.Response) (*IpamIpAddressesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpAddressesUpdateResponse parses an HTTP response from a IpamIpAddressesUpdateWithResponse call +func ParseIpamIpAddressesUpdateResponse(rsp *http.Response) (*IpamIpAddressesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesListResponse parses an HTTP response from a IpamPrefixesListWithResponse call +func ParseIpamPrefixesListResponse(rsp *http.Response) (*IpamPrefixesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesBulkPartialUpdateResponse parses an HTTP response from a IpamPrefixesBulkPartialUpdateWithResponse call +func ParseIpamPrefixesBulkPartialUpdateResponse(rsp *http.Response) (*IpamPrefixesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesCreateResponse parses an HTTP response from a IpamPrefixesCreateWithResponse call +func ParseIpamPrefixesCreateResponse(rsp *http.Response) (*IpamPrefixesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesBulkUpdateResponse parses an HTTP response from a IpamPrefixesBulkUpdateWithResponse call +func ParseIpamPrefixesBulkUpdateResponse(rsp *http.Response) (*IpamPrefixesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesDestroyResponse parses an HTTP response from a IpamPrefixesDestroyWithResponse call +func ParseIpamPrefixesDestroyResponse(rsp *http.Response) (*IpamPrefixesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesRetrieveResponse parses an HTTP response from a IpamPrefixesRetrieveWithResponse call +func ParseIpamPrefixesRetrieveResponse(rsp *http.Response) (*IpamPrefixesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesPartialUpdateResponse parses an HTTP response from a IpamPrefixesPartialUpdateWithResponse call +func ParseIpamPrefixesPartialUpdateResponse(rsp *http.Response) (*IpamPrefixesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesUpdateResponse parses an HTTP response from a IpamPrefixesUpdateWithResponse call +func ParseIpamPrefixesUpdateResponse(rsp *http.Response) (*IpamPrefixesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesAvailableIpsListResponse parses an HTTP response from a IpamPrefixesAvailableIpsListWithResponse call +func ParseIpamPrefixesAvailableIpsListResponse(rsp *http.Response) (*IpamPrefixesAvailableIpsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesAvailableIpsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesAvailableIpsCreateResponse parses an HTTP response from a IpamPrefixesAvailableIpsCreateWithResponse call +func ParseIpamPrefixesAvailableIpsCreateResponse(rsp *http.Response) (*IpamPrefixesAvailableIpsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesAvailableIpsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesAvailablePrefixesListResponse parses an HTTP response from a IpamPrefixesAvailablePrefixesListWithResponse call +func ParseIpamPrefixesAvailablePrefixesListResponse(rsp *http.Response) (*IpamPrefixesAvailablePrefixesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesAvailablePrefixesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesAvailablePrefixesCreateResponse parses an HTTP response from a IpamPrefixesAvailablePrefixesCreateWithResponse call +func ParseIpamPrefixesAvailablePrefixesCreateResponse(rsp *http.Response) (*IpamPrefixesAvailablePrefixesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesAvailablePrefixesCreateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRirsListResponse parses an HTTP response from a IpamRirsListWithResponse call +func ParseIpamRirsListResponse(rsp *http.Response) (*IpamRirsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRirsBulkPartialUpdateResponse parses an HTTP response from a IpamRirsBulkPartialUpdateWithResponse call +func ParseIpamRirsBulkPartialUpdateResponse(rsp *http.Response) (*IpamRirsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRirsCreateResponse parses an HTTP response from a IpamRirsCreateWithResponse call +func ParseIpamRirsCreateResponse(rsp *http.Response) (*IpamRirsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRirsBulkUpdateResponse parses an HTTP response from a IpamRirsBulkUpdateWithResponse call +func ParseIpamRirsBulkUpdateResponse(rsp *http.Response) (*IpamRirsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRirsDestroyResponse parses an HTTP response from a IpamRirsDestroyWithResponse call +func ParseIpamRirsDestroyResponse(rsp *http.Response) (*IpamRirsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRirsRetrieveResponse parses an HTTP response from a IpamRirsRetrieveWithResponse call +func ParseIpamRirsRetrieveResponse(rsp *http.Response) (*IpamRirsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRirsPartialUpdateResponse parses an HTTP response from a IpamRirsPartialUpdateWithResponse call +func ParseIpamRirsPartialUpdateResponse(rsp *http.Response) (*IpamRirsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRirsUpdateResponse parses an HTTP response from a IpamRirsUpdateWithResponse call +func ParseIpamRirsUpdateResponse(rsp *http.Response) (*IpamRirsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRolesListResponse parses an HTTP response from a IpamRolesListWithResponse call +func ParseIpamRolesListResponse(rsp *http.Response) (*IpamRolesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRolesBulkPartialUpdateResponse parses an HTTP response from a IpamRolesBulkPartialUpdateWithResponse call +func ParseIpamRolesBulkPartialUpdateResponse(rsp *http.Response) (*IpamRolesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRolesCreateResponse parses an HTTP response from a IpamRolesCreateWithResponse call +func ParseIpamRolesCreateResponse(rsp *http.Response) (*IpamRolesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRolesBulkUpdateResponse parses an HTTP response from a IpamRolesBulkUpdateWithResponse call +func ParseIpamRolesBulkUpdateResponse(rsp *http.Response) (*IpamRolesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRolesDestroyResponse parses an HTTP response from a IpamRolesDestroyWithResponse call +func ParseIpamRolesDestroyResponse(rsp *http.Response) (*IpamRolesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRolesRetrieveResponse parses an HTTP response from a IpamRolesRetrieveWithResponse call +func ParseIpamRolesRetrieveResponse(rsp *http.Response) (*IpamRolesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRolesPartialUpdateResponse parses an HTTP response from a IpamRolesPartialUpdateWithResponse call +func ParseIpamRolesPartialUpdateResponse(rsp *http.Response) (*IpamRolesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRolesUpdateResponse parses an HTTP response from a IpamRolesUpdateWithResponse call +func ParseIpamRolesUpdateResponse(rsp *http.Response) (*IpamRolesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRouteTargetsListResponse parses an HTTP response from a IpamRouteTargetsListWithResponse call +func ParseIpamRouteTargetsListResponse(rsp *http.Response) (*IpamRouteTargetsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRouteTargetsBulkPartialUpdateResponse parses an HTTP response from a IpamRouteTargetsBulkPartialUpdateWithResponse call +func ParseIpamRouteTargetsBulkPartialUpdateResponse(rsp *http.Response) (*IpamRouteTargetsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRouteTargetsCreateResponse parses an HTTP response from a IpamRouteTargetsCreateWithResponse call +func ParseIpamRouteTargetsCreateResponse(rsp *http.Response) (*IpamRouteTargetsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRouteTargetsBulkUpdateResponse parses an HTTP response from a IpamRouteTargetsBulkUpdateWithResponse call +func ParseIpamRouteTargetsBulkUpdateResponse(rsp *http.Response) (*IpamRouteTargetsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRouteTargetsDestroyResponse parses an HTTP response from a IpamRouteTargetsDestroyWithResponse call +func ParseIpamRouteTargetsDestroyResponse(rsp *http.Response) (*IpamRouteTargetsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRouteTargetsRetrieveResponse parses an HTTP response from a IpamRouteTargetsRetrieveWithResponse call +func ParseIpamRouteTargetsRetrieveResponse(rsp *http.Response) (*IpamRouteTargetsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRouteTargetsPartialUpdateResponse parses an HTTP response from a IpamRouteTargetsPartialUpdateWithResponse call +func ParseIpamRouteTargetsPartialUpdateResponse(rsp *http.Response) (*IpamRouteTargetsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRouteTargetsUpdateResponse parses an HTTP response from a IpamRouteTargetsUpdateWithResponse call +func ParseIpamRouteTargetsUpdateResponse(rsp *http.Response) (*IpamRouteTargetsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServicesListResponse parses an HTTP response from a IpamServicesListWithResponse call +func ParseIpamServicesListResponse(rsp *http.Response) (*IpamServicesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServicesBulkPartialUpdateResponse parses an HTTP response from a IpamServicesBulkPartialUpdateWithResponse call +func ParseIpamServicesBulkPartialUpdateResponse(rsp *http.Response) (*IpamServicesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServicesCreateResponse parses an HTTP response from a IpamServicesCreateWithResponse call +func ParseIpamServicesCreateResponse(rsp *http.Response) (*IpamServicesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServicesBulkUpdateResponse parses an HTTP response from a IpamServicesBulkUpdateWithResponse call +func ParseIpamServicesBulkUpdateResponse(rsp *http.Response) (*IpamServicesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServicesDestroyResponse parses an HTTP response from a IpamServicesDestroyWithResponse call +func ParseIpamServicesDestroyResponse(rsp *http.Response) (*IpamServicesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServicesRetrieveResponse parses an HTTP response from a IpamServicesRetrieveWithResponse call +func ParseIpamServicesRetrieveResponse(rsp *http.Response) (*IpamServicesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServicesPartialUpdateResponse parses an HTTP response from a IpamServicesPartialUpdateWithResponse call +func ParseIpamServicesPartialUpdateResponse(rsp *http.Response) (*IpamServicesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServicesUpdateResponse parses an HTTP response from a IpamServicesUpdateWithResponse call +func ParseIpamServicesUpdateResponse(rsp *http.Response) (*IpamServicesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlanGroupsListResponse parses an HTTP response from a IpamVlanGroupsListWithResponse call +func ParseIpamVlanGroupsListResponse(rsp *http.Response) (*IpamVlanGroupsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlanGroupsBulkPartialUpdateResponse parses an HTTP response from a IpamVlanGroupsBulkPartialUpdateWithResponse call +func ParseIpamVlanGroupsBulkPartialUpdateResponse(rsp *http.Response) (*IpamVlanGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlanGroupsCreateResponse parses an HTTP response from a IpamVlanGroupsCreateWithResponse call +func ParseIpamVlanGroupsCreateResponse(rsp *http.Response) (*IpamVlanGroupsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlanGroupsBulkUpdateResponse parses an HTTP response from a IpamVlanGroupsBulkUpdateWithResponse call +func ParseIpamVlanGroupsBulkUpdateResponse(rsp *http.Response) (*IpamVlanGroupsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlanGroupsDestroyResponse parses an HTTP response from a IpamVlanGroupsDestroyWithResponse call +func ParseIpamVlanGroupsDestroyResponse(rsp *http.Response) (*IpamVlanGroupsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlanGroupsRetrieveResponse parses an HTTP response from a IpamVlanGroupsRetrieveWithResponse call +func ParseIpamVlanGroupsRetrieveResponse(rsp *http.Response) (*IpamVlanGroupsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlanGroupsPartialUpdateResponse parses an HTTP response from a IpamVlanGroupsPartialUpdateWithResponse call +func ParseIpamVlanGroupsPartialUpdateResponse(rsp *http.Response) (*IpamVlanGroupsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlanGroupsUpdateResponse parses an HTTP response from a IpamVlanGroupsUpdateWithResponse call +func ParseIpamVlanGroupsUpdateResponse(rsp *http.Response) (*IpamVlanGroupsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlansListResponse parses an HTTP response from a IpamVlansListWithResponse call +func ParseIpamVlansListResponse(rsp *http.Response) (*IpamVlansListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlansBulkPartialUpdateResponse parses an HTTP response from a IpamVlansBulkPartialUpdateWithResponse call +func ParseIpamVlansBulkPartialUpdateResponse(rsp *http.Response) (*IpamVlansBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlansCreateResponse parses an HTTP response from a IpamVlansCreateWithResponse call +func ParseIpamVlansCreateResponse(rsp *http.Response) (*IpamVlansCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlansBulkUpdateResponse parses an HTTP response from a IpamVlansBulkUpdateWithResponse call +func ParseIpamVlansBulkUpdateResponse(rsp *http.Response) (*IpamVlansBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlansDestroyResponse parses an HTTP response from a IpamVlansDestroyWithResponse call +func ParseIpamVlansDestroyResponse(rsp *http.Response) (*IpamVlansDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlansRetrieveResponse parses an HTTP response from a IpamVlansRetrieveWithResponse call +func ParseIpamVlansRetrieveResponse(rsp *http.Response) (*IpamVlansRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlansPartialUpdateResponse parses an HTTP response from a IpamVlansPartialUpdateWithResponse call +func ParseIpamVlansPartialUpdateResponse(rsp *http.Response) (*IpamVlansPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlansUpdateResponse parses an HTTP response from a IpamVlansUpdateWithResponse call +func ParseIpamVlansUpdateResponse(rsp *http.Response) (*IpamVlansUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVrfsListResponse parses an HTTP response from a IpamVrfsListWithResponse call +func ParseIpamVrfsListResponse(rsp *http.Response) (*IpamVrfsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVrfsBulkPartialUpdateResponse parses an HTTP response from a IpamVrfsBulkPartialUpdateWithResponse call +func ParseIpamVrfsBulkPartialUpdateResponse(rsp *http.Response) (*IpamVrfsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVrfsCreateResponse parses an HTTP response from a IpamVrfsCreateWithResponse call +func ParseIpamVrfsCreateResponse(rsp *http.Response) (*IpamVrfsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVrfsBulkUpdateResponse parses an HTTP response from a IpamVrfsBulkUpdateWithResponse call +func ParseIpamVrfsBulkUpdateResponse(rsp *http.Response) (*IpamVrfsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVrfsDestroyResponse parses an HTTP response from a IpamVrfsDestroyWithResponse call +func ParseIpamVrfsDestroyResponse(rsp *http.Response) (*IpamVrfsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVrfsRetrieveResponse parses an HTTP response from a IpamVrfsRetrieveWithResponse call +func ParseIpamVrfsRetrieveResponse(rsp *http.Response) (*IpamVrfsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVrfsPartialUpdateResponse parses an HTTP response from a IpamVrfsPartialUpdateWithResponse call +func ParseIpamVrfsPartialUpdateResponse(rsp *http.Response) (*IpamVrfsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVrfsUpdateResponse parses an HTTP response from a IpamVrfsUpdateWithResponse call +func ParseIpamVrfsUpdateResponse(rsp *http.Response) (*IpamVrfsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsAccessgrantBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsAccessgrantListResponse parses an HTTP response from a PluginsChatopsAccessgrantListWithResponse call +func ParsePluginsChatopsAccessgrantListResponse(rsp *http.Response) (*PluginsChatopsAccessgrantListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsAccessgrantListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsAccessgrantBulkPartialUpdateResponse parses an HTTP response from a PluginsChatopsAccessgrantBulkPartialUpdateWithResponse call +func ParsePluginsChatopsAccessgrantBulkPartialUpdateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsAccessgrantBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsAccessgrantCreateResponse parses an HTTP response from a PluginsChatopsAccessgrantCreateWithResponse call +func ParsePluginsChatopsAccessgrantCreateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsAccessgrantCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsAccessgrantBulkUpdateResponse parses an HTTP response from a PluginsChatopsAccessgrantBulkUpdateWithResponse call +func ParsePluginsChatopsAccessgrantBulkUpdateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsAccessgrantBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsAccessgrantDestroyResponse parses an HTTP response from a PluginsChatopsAccessgrantDestroyWithResponse call +func ParsePluginsChatopsAccessgrantDestroyResponse(rsp *http.Response) (*PluginsChatopsAccessgrantDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsAccessgrantDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsAccessgrantRetrieveResponse parses an HTTP response from a PluginsChatopsAccessgrantRetrieveWithResponse call +func ParsePluginsChatopsAccessgrantRetrieveResponse(rsp *http.Response) (*PluginsChatopsAccessgrantRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsAccessgrantRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsAccessgrantPartialUpdateResponse parses an HTTP response from a PluginsChatopsAccessgrantPartialUpdateWithResponse call +func ParsePluginsChatopsAccessgrantPartialUpdateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsAccessgrantPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsAccessgrantUpdateResponse parses an HTTP response from a PluginsChatopsAccessgrantUpdateWithResponse call +func ParsePluginsChatopsAccessgrantUpdateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsAccessgrantUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsCommandtokenBulkDestroyResponse parses an HTTP response from a PluginsChatopsCommandtokenBulkDestroyWithResponse call +func ParsePluginsChatopsCommandtokenBulkDestroyResponse(rsp *http.Response) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsCommandtokenBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsCommandtokenListResponse parses an HTTP response from a PluginsChatopsCommandtokenListWithResponse call +func ParsePluginsChatopsCommandtokenListResponse(rsp *http.Response) (*PluginsChatopsCommandtokenListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsCommandtokenListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsCommandtokenBulkPartialUpdateResponse parses an HTTP response from a PluginsChatopsCommandtokenBulkPartialUpdateWithResponse call +func ParsePluginsChatopsCommandtokenBulkPartialUpdateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsCommandtokenBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsCommandtokenCreateResponse parses an HTTP response from a PluginsChatopsCommandtokenCreateWithResponse call +func ParsePluginsChatopsCommandtokenCreateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsCommandtokenCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsCommandtokenBulkUpdateResponse parses an HTTP response from a PluginsChatopsCommandtokenBulkUpdateWithResponse call +func ParsePluginsChatopsCommandtokenBulkUpdateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsCommandtokenBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsCommandtokenDestroyResponse parses an HTTP response from a PluginsChatopsCommandtokenDestroyWithResponse call +func ParsePluginsChatopsCommandtokenDestroyResponse(rsp *http.Response) (*PluginsChatopsCommandtokenDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsCommandtokenDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsCommandtokenRetrieveResponse parses an HTTP response from a PluginsChatopsCommandtokenRetrieveWithResponse call +func ParsePluginsChatopsCommandtokenRetrieveResponse(rsp *http.Response) (*PluginsChatopsCommandtokenRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsCommandtokenRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsCommandtokenPartialUpdateResponse parses an HTTP response from a PluginsChatopsCommandtokenPartialUpdateWithResponse call +func ParsePluginsChatopsCommandtokenPartialUpdateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsCommandtokenPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsChatopsCommandtokenUpdateResponse parses an HTTP response from a PluginsChatopsCommandtokenUpdateWithResponse call +func ParsePluginsChatopsCommandtokenUpdateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsChatopsCommandtokenUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse call +func ParsePluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceCircuitimpactListResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactListWithResponse call +func ParsePluginsCircuitMaintenanceCircuitimpactListResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceCircuitimpactListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithResponse call +func ParsePluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceCircuitimpactCreateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactCreateWithResponse call +func ParsePluginsCircuitMaintenanceCircuitimpactCreateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceCircuitimpactCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithResponse call +func ParsePluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceCircuitimpactDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactDestroyWithResponse call +func ParsePluginsCircuitMaintenanceCircuitimpactDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceCircuitimpactDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceCircuitimpactRetrieveResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactRetrieveWithResponse call +func ParsePluginsCircuitMaintenanceCircuitimpactRetrieveResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceCircuitimpactRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithResponse call +func ParsePluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceCircuitimpactUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactUpdateWithResponse call +func ParsePluginsCircuitMaintenanceCircuitimpactUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceCircuitimpactUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceMaintenanceBulkDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse call +func ParsePluginsCircuitMaintenanceMaintenanceBulkDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceMaintenanceListResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceListWithResponse call +func ParsePluginsCircuitMaintenanceMaintenanceListResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceMaintenanceListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithResponse call +func ParsePluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceMaintenanceCreateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceCreateWithResponse call +func ParsePluginsCircuitMaintenanceMaintenanceCreateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceMaintenanceCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceMaintenanceBulkUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceBulkUpdateWithResponse call +func ParsePluginsCircuitMaintenanceMaintenanceBulkUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceMaintenanceDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceDestroyWithResponse call +func ParsePluginsCircuitMaintenanceMaintenanceDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceMaintenanceDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceMaintenanceRetrieveResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceRetrieveWithResponse call +func ParsePluginsCircuitMaintenanceMaintenanceRetrieveResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceMaintenanceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceMaintenancePartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenancePartialUpdateWithResponse call +func ParsePluginsCircuitMaintenanceMaintenancePartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenancePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceMaintenancePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceMaintenanceUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceUpdateWithResponse call +func ParsePluginsCircuitMaintenanceMaintenanceUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceMaintenanceUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNoteBulkDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteBulkDestroyWithResponse call +func ParsePluginsCircuitMaintenanceNoteBulkDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNoteBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNoteListResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteListWithResponse call +func ParsePluginsCircuitMaintenanceNoteListResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNoteListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNoteBulkPartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteBulkPartialUpdateWithResponse call +func ParsePluginsCircuitMaintenanceNoteBulkPartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNoteCreateResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteCreateWithResponse call +func ParsePluginsCircuitMaintenanceNoteCreateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNoteCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNoteBulkUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteBulkUpdateWithResponse call +func ParsePluginsCircuitMaintenanceNoteBulkUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNoteBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNoteDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteDestroyWithResponse call +func ParsePluginsCircuitMaintenanceNoteDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNoteDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNoteRetrieveResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteRetrieveWithResponse call +func ParsePluginsCircuitMaintenanceNoteRetrieveResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNoteRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNotePartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceNotePartialUpdateWithResponse call +func ParsePluginsCircuitMaintenanceNotePartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNotePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNotePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNoteUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteUpdateWithResponse call +func ParsePluginsCircuitMaintenanceNoteUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNoteUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNotificationsourceListResponse parses an HTTP response from a PluginsCircuitMaintenanceNotificationsourceListWithResponse call +func ParsePluginsCircuitMaintenanceNotificationsourceListResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNotificationsourceListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNotificationsourceListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsCircuitMaintenanceNotificationsourceRetrieveResponse parses an HTTP response from a PluginsCircuitMaintenanceNotificationsourceRetrieveWithResponse call +func ParsePluginsCircuitMaintenanceNotificationsourceRetrieveResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNotificationsourceRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsCircuitMaintenanceNotificationsourceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesMinMaxBulkDestroyResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse call +func ParsePluginsDataValidationEngineRulesMinMaxBulkDestroyResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesMinMaxListResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxListWithResponse call +func ParsePluginsDataValidationEngineRulesMinMaxListResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesMinMaxListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithResponse call +func ParsePluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesMinMaxCreateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxCreateWithResponse call +func ParsePluginsDataValidationEngineRulesMinMaxCreateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesMinMaxCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesMinMaxBulkUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxBulkUpdateWithResponse call +func ParsePluginsDataValidationEngineRulesMinMaxBulkUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesMinMaxDestroyResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxDestroyWithResponse call +func ParsePluginsDataValidationEngineRulesMinMaxDestroyResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesMinMaxDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesMinMaxRetrieveResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxRetrieveWithResponse call +func ParsePluginsDataValidationEngineRulesMinMaxRetrieveResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesMinMaxRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesMinMaxPartialUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxPartialUpdateWithResponse call +func ParsePluginsDataValidationEngineRulesMinMaxPartialUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesMinMaxUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxUpdateWithResponse call +func ParsePluginsDataValidationEngineRulesMinMaxUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesMinMaxUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesRegexBulkDestroyResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse call +func ParsePluginsDataValidationEngineRulesRegexBulkDestroyResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesRegexBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesRegexListResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexListWithResponse call +func ParsePluginsDataValidationEngineRulesRegexListResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesRegexListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithResponse call +func ParsePluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesRegexCreateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexCreateWithResponse call +func ParsePluginsDataValidationEngineRulesRegexCreateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesRegexCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesRegexBulkUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexBulkUpdateWithResponse call +func ParsePluginsDataValidationEngineRulesRegexBulkUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesRegexBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesRegexDestroyResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexDestroyWithResponse call +func ParsePluginsDataValidationEngineRulesRegexDestroyResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesRegexDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesRegexRetrieveResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexRetrieveWithResponse call +func ParsePluginsDataValidationEngineRulesRegexRetrieveResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesRegexRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesRegexPartialUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexPartialUpdateWithResponse call +func ParsePluginsDataValidationEngineRulesRegexPartialUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesRegexPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDataValidationEngineRulesRegexUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexUpdateWithResponse call +func ParsePluginsDataValidationEngineRulesRegexUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDataValidationEngineRulesRegexUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDeviceOnboardingOnboardingListResponse parses an HTTP response from a PluginsDeviceOnboardingOnboardingListWithResponse call +func ParsePluginsDeviceOnboardingOnboardingListResponse(rsp *http.Response) (*PluginsDeviceOnboardingOnboardingListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDeviceOnboardingOnboardingListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDeviceOnboardingOnboardingCreateResponse parses an HTTP response from a PluginsDeviceOnboardingOnboardingCreateWithResponse call +func ParsePluginsDeviceOnboardingOnboardingCreateResponse(rsp *http.Response) (*PluginsDeviceOnboardingOnboardingCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDeviceOnboardingOnboardingCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDeviceOnboardingOnboardingDestroyResponse parses an HTTP response from a PluginsDeviceOnboardingOnboardingDestroyWithResponse call +func ParsePluginsDeviceOnboardingOnboardingDestroyResponse(rsp *http.Response) (*PluginsDeviceOnboardingOnboardingDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDeviceOnboardingOnboardingDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsDeviceOnboardingOnboardingRetrieveResponse parses an HTTP response from a PluginsDeviceOnboardingOnboardingRetrieveWithResponse call +func ParsePluginsDeviceOnboardingOnboardingRetrieveResponse(rsp *http.Response) (*PluginsDeviceOnboardingOnboardingRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsDeviceOnboardingOnboardingRetrieveResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceFeatureBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceFeatureListResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureListWithResponse call +func ParsePluginsGoldenConfigComplianceFeatureListResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceFeatureListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithResponse call +func ParsePluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceFeatureCreateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureCreateWithResponse call +func ParsePluginsGoldenConfigComplianceFeatureCreateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceFeatureCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceFeatureBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureBulkUpdateWithResponse call +func ParsePluginsGoldenConfigComplianceFeatureBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceFeatureBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceFeatureDestroyResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureDestroyWithResponse call +func ParsePluginsGoldenConfigComplianceFeatureDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceFeatureDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceFeatureRetrieveResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureRetrieveWithResponse call +func ParsePluginsGoldenConfigComplianceFeatureRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceFeatureRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceFeaturePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeaturePartialUpdateWithResponse call +func ParsePluginsGoldenConfigComplianceFeaturePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeaturePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceFeaturePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceFeatureUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureUpdateWithResponse call +func ParsePluginsGoldenConfigComplianceFeatureUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceFeatureUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceRuleBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse call +func ParsePluginsGoldenConfigComplianceRuleBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceRuleBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceRuleListResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleListWithResponse call +func ParsePluginsGoldenConfigComplianceRuleListResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceRuleListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithResponse call +func ParsePluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceRuleCreateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleCreateWithResponse call +func ParsePluginsGoldenConfigComplianceRuleCreateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceRuleCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceRuleBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleBulkUpdateWithResponse call +func ParsePluginsGoldenConfigComplianceRuleBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceRuleBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceRuleDestroyResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleDestroyWithResponse call +func ParsePluginsGoldenConfigComplianceRuleDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceRuleDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceRuleRetrieveResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleRetrieveWithResponse call +func ParsePluginsGoldenConfigComplianceRuleRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceRuleRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceRulePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRulePartialUpdateWithResponse call +func ParsePluginsGoldenConfigComplianceRulePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRulePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceRulePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigComplianceRuleUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleUpdateWithResponse call +func ParsePluginsGoldenConfigComplianceRuleUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigComplianceRuleUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigComplianceBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse call +func ParsePluginsGoldenConfigConfigComplianceBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigComplianceBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigComplianceListResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceListWithResponse call +func ParsePluginsGoldenConfigConfigComplianceListResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigComplianceListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithResponse call +func ParsePluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigComplianceCreateResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceCreateWithResponse call +func ParsePluginsGoldenConfigConfigComplianceCreateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigComplianceCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigComplianceBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceBulkUpdateWithResponse call +func ParsePluginsGoldenConfigConfigComplianceBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigComplianceBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigComplianceDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceDestroyWithResponse call +func ParsePluginsGoldenConfigConfigComplianceDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigComplianceDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigComplianceRetrieveResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceRetrieveWithResponse call +func ParsePluginsGoldenConfigConfigComplianceRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigComplianceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigCompliancePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigCompliancePartialUpdateWithResponse call +func ParsePluginsGoldenConfigConfigCompliancePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigCompliancePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigCompliancePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigComplianceUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceUpdateWithResponse call +func ParsePluginsGoldenConfigConfigComplianceUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigComplianceUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigRemoveBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigRemoveListResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveListWithResponse call +func ParsePluginsGoldenConfigConfigRemoveListResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigRemoveListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithResponse call +func ParsePluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigRemoveCreateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveCreateWithResponse call +func ParsePluginsGoldenConfigConfigRemoveCreateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigRemoveCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigRemoveBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveBulkUpdateWithResponse call +func ParsePluginsGoldenConfigConfigRemoveBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigRemoveBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigRemoveDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveDestroyWithResponse call +func ParsePluginsGoldenConfigConfigRemoveDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigRemoveDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigRemoveRetrieveResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveRetrieveWithResponse call +func ParsePluginsGoldenConfigConfigRemoveRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigRemoveRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigRemovePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemovePartialUpdateWithResponse call +func ParsePluginsGoldenConfigConfigRemovePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemovePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigRemovePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigRemoveUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveUpdateWithResponse call +func ParsePluginsGoldenConfigConfigRemoveUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigRemoveUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigReplaceBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse call +func ParsePluginsGoldenConfigConfigReplaceBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigReplaceBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigReplaceListResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceListWithResponse call +func ParsePluginsGoldenConfigConfigReplaceListResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigReplaceListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithResponse call +func ParsePluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigReplaceCreateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceCreateWithResponse call +func ParsePluginsGoldenConfigConfigReplaceCreateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigReplaceCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigReplaceBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceBulkUpdateWithResponse call +func ParsePluginsGoldenConfigConfigReplaceBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigReplaceBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigReplaceDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceDestroyWithResponse call +func ParsePluginsGoldenConfigConfigReplaceDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigReplaceDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigReplaceRetrieveResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceRetrieveWithResponse call +func ParsePluginsGoldenConfigConfigReplaceRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigReplaceRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigReplacePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplacePartialUpdateWithResponse call +func ParsePluginsGoldenConfigConfigReplacePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplacePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigReplacePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigConfigReplaceUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceUpdateWithResponse call +func ParsePluginsGoldenConfigConfigReplaceUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigReplaceUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse call +func ParsePluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigSettingsListResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsListWithResponse call +func ParsePluginsGoldenConfigGoldenConfigSettingsListResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigSettingsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigSettingsCreateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsCreateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigSettingsCreateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigSettingsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigSettingsDestroyResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsDestroyWithResponse call +func ParsePluginsGoldenConfigGoldenConfigSettingsDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigSettingsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigSettingsRetrieveResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsRetrieveWithResponse call +func ParsePluginsGoldenConfigGoldenConfigSettingsRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigSettingsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigSettingsUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsUpdateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigSettingsUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigSettingsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse call +func ParsePluginsGoldenConfigGoldenConfigBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigListResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigListWithResponse call +func ParsePluginsGoldenConfigGoldenConfigListResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigCreateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigCreateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigCreateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigBulkUpdateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigDestroyResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigDestroyWithResponse call +func ParsePluginsGoldenConfigGoldenConfigDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigRetrieveResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigRetrieveWithResponse call +func ParsePluginsGoldenConfigGoldenConfigRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigPartialUpdateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigGoldenConfigUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigUpdateWithResponse call +func ParsePluginsGoldenConfigGoldenConfigUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigGoldenConfigUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsGoldenConfigSotaggRetrieveResponse parses an HTTP response from a PluginsGoldenConfigSotaggRetrieveWithResponse call +func ParsePluginsGoldenConfigSotaggRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigSotaggRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigSotaggRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContactListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactListWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContactListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContactListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContactCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactCreateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContactCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContactCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContactDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContactDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContactDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactRetrieveWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContactUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContactUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContractListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractListWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContractListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContractListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContractCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractCreateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContractCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContractCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContractDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContractDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContractDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractRetrieveWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtContractUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtContractUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtCveListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveListWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtCveListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtCveListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtCveCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveCreateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtCveCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtCveCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtCveDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtCveDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtCveDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveRetrieveWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtCveUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtCveUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtHardwareListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareListWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtHardwareListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtHardwareListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtProviderListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderListWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtProviderListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtProviderListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtProviderCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderCreateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtProviderCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderRetrieveWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageListWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareListWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityListWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithResponse call +func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseStatusRetrieveResponse parses an HTTP response from a StatusRetrieveWithResponse call +func ParseStatusRetrieveResponse(rsp *http.Response) (*StatusRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &StatusRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseSwaggerJsonRetrieveResponse parses an HTTP response from a SwaggerJsonRetrieveWithResponse call +func ParseSwaggerJsonRetrieveResponse(rsp *http.Response) (*SwaggerJsonRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &SwaggerJsonRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseSwaggerYamlRetrieveResponse parses an HTTP response from a SwaggerYamlRetrieveWithResponse call +func ParseSwaggerYamlRetrieveResponse(rsp *http.Response) (*SwaggerYamlRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &SwaggerYamlRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseSwaggerRetrieveResponse parses an HTTP response from a SwaggerRetrieveWithResponse call +func ParseSwaggerRetrieveResponse(rsp *http.Response) (*SwaggerRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &SwaggerRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsBulkDestroyResponse parses an HTTP response from a TenancyTenantGroupsBulkDestroyWithResponse call +func ParseTenancyTenantGroupsBulkDestroyResponse(rsp *http.Response) (*TenancyTenantGroupsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsListResponse parses an HTTP response from a TenancyTenantGroupsListWithResponse call +func ParseTenancyTenantGroupsListResponse(rsp *http.Response) (*TenancyTenantGroupsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsBulkPartialUpdateResponse parses an HTTP response from a TenancyTenantGroupsBulkPartialUpdateWithResponse call +func ParseTenancyTenantGroupsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsCreateResponse parses an HTTP response from a TenancyTenantGroupsCreateWithResponse call +func ParseTenancyTenantGroupsCreateResponse(rsp *http.Response) (*TenancyTenantGroupsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsBulkUpdateResponse parses an HTTP response from a TenancyTenantGroupsBulkUpdateWithResponse call +func ParseTenancyTenantGroupsBulkUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsDestroyResponse parses an HTTP response from a TenancyTenantGroupsDestroyWithResponse call +func ParseTenancyTenantGroupsDestroyResponse(rsp *http.Response) (*TenancyTenantGroupsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsRetrieveResponse parses an HTTP response from a TenancyTenantGroupsRetrieveWithResponse call +func ParseTenancyTenantGroupsRetrieveResponse(rsp *http.Response) (*TenancyTenantGroupsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsPartialUpdateResponse parses an HTTP response from a TenancyTenantGroupsPartialUpdateWithResponse call +func ParseTenancyTenantGroupsPartialUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsUpdateResponse parses an HTTP response from a TenancyTenantGroupsUpdateWithResponse call +func ParseTenancyTenantGroupsUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantsListResponse parses an HTTP response from a TenancyTenantsListWithResponse call +func ParseTenancyTenantsListResponse(rsp *http.Response) (*TenancyTenantsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantsBulkPartialUpdateResponse parses an HTTP response from a TenancyTenantsBulkPartialUpdateWithResponse call +func ParseTenancyTenantsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyTenantsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantsCreateResponse parses an HTTP response from a TenancyTenantsCreateWithResponse call +func ParseTenancyTenantsCreateResponse(rsp *http.Response) (*TenancyTenantsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantsBulkUpdateResponse parses an HTTP response from a TenancyTenantsBulkUpdateWithResponse call +func ParseTenancyTenantsBulkUpdateResponse(rsp *http.Response) (*TenancyTenantsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantsDestroyResponse parses an HTTP response from a TenancyTenantsDestroyWithResponse call +func ParseTenancyTenantsDestroyResponse(rsp *http.Response) (*TenancyTenantsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantsRetrieveResponse parses an HTTP response from a TenancyTenantsRetrieveWithResponse call +func ParseTenancyTenantsRetrieveResponse(rsp *http.Response) (*TenancyTenantsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantsPartialUpdateResponse parses an HTTP response from a TenancyTenantsPartialUpdateWithResponse call +func ParseTenancyTenantsPartialUpdateResponse(rsp *http.Response) (*TenancyTenantsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantsUpdateResponse parses an HTTP response from a TenancyTenantsUpdateWithResponse call +func ParseTenancyTenantsUpdateResponse(rsp *http.Response) (*TenancyTenantsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersConfigRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersGroupsBulkDestroyResponse parses an HTTP response from a UsersGroupsBulkDestroyWithResponse call +func ParseUsersGroupsBulkDestroyResponse(rsp *http.Response) (*UsersGroupsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersGroupsListResponse parses an HTTP response from a UsersGroupsListWithResponse call +func ParseUsersGroupsListResponse(rsp *http.Response) (*UsersGroupsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersGroupsBulkPartialUpdateResponse parses an HTTP response from a UsersGroupsBulkPartialUpdateWithResponse call +func ParseUsersGroupsBulkPartialUpdateResponse(rsp *http.Response) (*UsersGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersGroupsCreateResponse parses an HTTP response from a UsersGroupsCreateWithResponse call +func ParseUsersGroupsCreateResponse(rsp *http.Response) (*UsersGroupsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersGroupsBulkUpdateResponse parses an HTTP response from a UsersGroupsBulkUpdateWithResponse call +func ParseUsersGroupsBulkUpdateResponse(rsp *http.Response) (*UsersGroupsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersGroupsDestroyResponse parses an HTTP response from a UsersGroupsDestroyWithResponse call +func ParseUsersGroupsDestroyResponse(rsp *http.Response) (*UsersGroupsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersGroupsRetrieveResponse parses an HTTP response from a UsersGroupsRetrieveWithResponse call +func ParseUsersGroupsRetrieveResponse(rsp *http.Response) (*UsersGroupsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersGroupsPartialUpdateResponse parses an HTTP response from a UsersGroupsPartialUpdateWithResponse call +func ParseUsersGroupsPartialUpdateResponse(rsp *http.Response) (*UsersGroupsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersGroupsUpdateResponse parses an HTTP response from a UsersGroupsUpdateWithResponse call +func ParseUsersGroupsUpdateResponse(rsp *http.Response) (*UsersGroupsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersPermissionsBulkDestroyResponse parses an HTTP response from a UsersPermissionsBulkDestroyWithResponse call +func ParseUsersPermissionsBulkDestroyResponse(rsp *http.Response) (*UsersPermissionsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersPermissionsListResponse parses an HTTP response from a UsersPermissionsListWithResponse call +func ParseUsersPermissionsListResponse(rsp *http.Response) (*UsersPermissionsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersPermissionsBulkPartialUpdateResponse parses an HTTP response from a UsersPermissionsBulkPartialUpdateWithResponse call +func ParseUsersPermissionsBulkPartialUpdateResponse(rsp *http.Response) (*UsersPermissionsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersPermissionsCreateResponse parses an HTTP response from a UsersPermissionsCreateWithResponse call +func ParseUsersPermissionsCreateResponse(rsp *http.Response) (*UsersPermissionsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersPermissionsBulkUpdateResponse parses an HTTP response from a UsersPermissionsBulkUpdateWithResponse call +func ParseUsersPermissionsBulkUpdateResponse(rsp *http.Response) (*UsersPermissionsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersPermissionsDestroyResponse parses an HTTP response from a UsersPermissionsDestroyWithResponse call +func ParseUsersPermissionsDestroyResponse(rsp *http.Response) (*UsersPermissionsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersPermissionsRetrieveResponse parses an HTTP response from a UsersPermissionsRetrieveWithResponse call +func ParseUsersPermissionsRetrieveResponse(rsp *http.Response) (*UsersPermissionsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersPermissionsPartialUpdateResponse parses an HTTP response from a UsersPermissionsPartialUpdateWithResponse call +func ParseUsersPermissionsPartialUpdateResponse(rsp *http.Response) (*UsersPermissionsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersPermissionsUpdateResponse parses an HTTP response from a UsersPermissionsUpdateWithResponse call +func ParseUsersPermissionsUpdateResponse(rsp *http.Response) (*UsersPermissionsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersPermissionsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersTokensBulkDestroyResponse parses an HTTP response from a UsersTokensBulkDestroyWithResponse call +func ParseUsersTokensBulkDestroyResponse(rsp *http.Response) (*UsersTokensBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersTokensListResponse parses an HTTP response from a UsersTokensListWithResponse call +func ParseUsersTokensListResponse(rsp *http.Response) (*UsersTokensListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersTokensBulkPartialUpdateResponse parses an HTTP response from a UsersTokensBulkPartialUpdateWithResponse call +func ParseUsersTokensBulkPartialUpdateResponse(rsp *http.Response) (*UsersTokensBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersTokensCreateResponse parses an HTTP response from a UsersTokensCreateWithResponse call +func ParseUsersTokensCreateResponse(rsp *http.Response) (*UsersTokensCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersTokensBulkUpdateResponse parses an HTTP response from a UsersTokensBulkUpdateWithResponse call +func ParseUsersTokensBulkUpdateResponse(rsp *http.Response) (*UsersTokensBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersTokensDestroyResponse parses an HTTP response from a UsersTokensDestroyWithResponse call +func ParseUsersTokensDestroyResponse(rsp *http.Response) (*UsersTokensDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersTokensRetrieveResponse parses an HTTP response from a UsersTokensRetrieveWithResponse call +func ParseUsersTokensRetrieveResponse(rsp *http.Response) (*UsersTokensRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersTokensPartialUpdateResponse parses an HTTP response from a UsersTokensPartialUpdateWithResponse call +func ParseUsersTokensPartialUpdateResponse(rsp *http.Response) (*UsersTokensPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersTokensUpdateResponse parses an HTTP response from a UsersTokensUpdateWithResponse call +func ParseUsersTokensUpdateResponse(rsp *http.Response) (*UsersTokensUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersTokensUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersUsersBulkDestroyResponse parses an HTTP response from a UsersUsersBulkDestroyWithResponse call +func ParseUsersUsersBulkDestroyResponse(rsp *http.Response) (*UsersUsersBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersUsersListResponse parses an HTTP response from a UsersUsersListWithResponse call +func ParseUsersUsersListResponse(rsp *http.Response) (*UsersUsersListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersUsersBulkPartialUpdateResponse parses an HTTP response from a UsersUsersBulkPartialUpdateWithResponse call +func ParseUsersUsersBulkPartialUpdateResponse(rsp *http.Response) (*UsersUsersBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersUsersCreateResponse parses an HTTP response from a UsersUsersCreateWithResponse call +func ParseUsersUsersCreateResponse(rsp *http.Response) (*UsersUsersCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersUsersBulkUpdateResponse parses an HTTP response from a UsersUsersBulkUpdateWithResponse call +func ParseUsersUsersBulkUpdateResponse(rsp *http.Response) (*UsersUsersBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersUsersDestroyResponse parses an HTTP response from a UsersUsersDestroyWithResponse call +func ParseUsersUsersDestroyResponse(rsp *http.Response) (*UsersUsersDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersUsersRetrieveResponse parses an HTTP response from a UsersUsersRetrieveWithResponse call +func ParseUsersUsersRetrieveResponse(rsp *http.Response) (*UsersUsersRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersUsersPartialUpdateResponse parses an HTTP response from a UsersUsersPartialUpdateWithResponse call +func ParseUsersUsersPartialUpdateResponse(rsp *http.Response) (*UsersUsersPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseUsersUsersUpdateResponse parses an HTTP response from a UsersUsersUpdateWithResponse call +func ParseUsersUsersUpdateResponse(rsp *http.Response) (*UsersUsersUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UsersUsersUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsBulkDestroyResponse parses an HTTP response from a VirtualizationClusterGroupsBulkDestroyWithResponse call +func ParseVirtualizationClusterGroupsBulkDestroyResponse(rsp *http.Response) (*VirtualizationClusterGroupsBulkDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsListResponse parses an HTTP response from a VirtualizationClusterGroupsListWithResponse call +func ParseVirtualizationClusterGroupsListResponse(rsp *http.Response) (*VirtualizationClusterGroupsListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsBulkPartialUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsBulkPartialUpdateWithResponse call +func ParseVirtualizationClusterGroupsBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsCreateResponse parses an HTTP response from a VirtualizationClusterGroupsCreateWithResponse call +func ParseVirtualizationClusterGroupsCreateResponse(rsp *http.Response) (*VirtualizationClusterGroupsCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsBulkUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsBulkUpdateWithResponse call +func ParseVirtualizationClusterGroupsBulkUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsDestroyResponse parses an HTTP response from a VirtualizationClusterGroupsDestroyWithResponse call +func ParseVirtualizationClusterGroupsDestroyResponse(rsp *http.Response) (*VirtualizationClusterGroupsDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsRetrieveResponse parses an HTTP response from a VirtualizationClusterGroupsRetrieveWithResponse call +func ParseVirtualizationClusterGroupsRetrieveResponse(rsp *http.Response) (*VirtualizationClusterGroupsRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsPartialUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsPartialUpdateWithResponse call +func ParseVirtualizationClusterGroupsPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsUpdateWithResponse call +func ParseVirtualizationClusterGroupsUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterTypesListResponse parses an HTTP response from a VirtualizationClusterTypesListWithResponse call +func ParseVirtualizationClusterTypesListResponse(rsp *http.Response) (*VirtualizationClusterTypesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterTypesBulkPartialUpdateResponse parses an HTTP response from a VirtualizationClusterTypesBulkPartialUpdateWithResponse call +func ParseVirtualizationClusterTypesBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterTypesCreateResponse parses an HTTP response from a VirtualizationClusterTypesCreateWithResponse call +func ParseVirtualizationClusterTypesCreateResponse(rsp *http.Response) (*VirtualizationClusterTypesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterTypesBulkUpdateResponse parses an HTTP response from a VirtualizationClusterTypesBulkUpdateWithResponse call +func ParseVirtualizationClusterTypesBulkUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterTypesDestroyResponse parses an HTTP response from a VirtualizationClusterTypesDestroyWithResponse call +func ParseVirtualizationClusterTypesDestroyResponse(rsp *http.Response) (*VirtualizationClusterTypesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterTypesRetrieveResponse parses an HTTP response from a VirtualizationClusterTypesRetrieveWithResponse call +func ParseVirtualizationClusterTypesRetrieveResponse(rsp *http.Response) (*VirtualizationClusterTypesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterTypesPartialUpdateResponse parses an HTTP response from a VirtualizationClusterTypesPartialUpdateWithResponse call +func ParseVirtualizationClusterTypesPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterTypesUpdateResponse parses an HTTP response from a VirtualizationClusterTypesUpdateWithResponse call +func ParseVirtualizationClusterTypesUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClustersListResponse parses an HTTP response from a VirtualizationClustersListWithResponse call +func ParseVirtualizationClustersListResponse(rsp *http.Response) (*VirtualizationClustersListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClustersBulkPartialUpdateResponse parses an HTTP response from a VirtualizationClustersBulkPartialUpdateWithResponse call +func ParseVirtualizationClustersBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationClustersBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClustersCreateResponse parses an HTTP response from a VirtualizationClustersCreateWithResponse call +func ParseVirtualizationClustersCreateResponse(rsp *http.Response) (*VirtualizationClustersCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClustersBulkUpdateResponse parses an HTTP response from a VirtualizationClustersBulkUpdateWithResponse call +func ParseVirtualizationClustersBulkUpdateResponse(rsp *http.Response) (*VirtualizationClustersBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClustersDestroyResponse parses an HTTP response from a VirtualizationClustersDestroyWithResponse call +func ParseVirtualizationClustersDestroyResponse(rsp *http.Response) (*VirtualizationClustersDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClustersRetrieveResponse parses an HTTP response from a VirtualizationClustersRetrieveWithResponse call +func ParseVirtualizationClustersRetrieveResponse(rsp *http.Response) (*VirtualizationClustersRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClustersPartialUpdateResponse parses an HTTP response from a VirtualizationClustersPartialUpdateWithResponse call +func ParseVirtualizationClustersPartialUpdateResponse(rsp *http.Response) (*VirtualizationClustersPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClustersUpdateResponse parses an HTTP response from a VirtualizationClustersUpdateWithResponse call +func ParseVirtualizationClustersUpdateResponse(rsp *http.Response) (*VirtualizationClustersUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationInterfacesListResponse parses an HTTP response from a VirtualizationInterfacesListWithResponse call +func ParseVirtualizationInterfacesListResponse(rsp *http.Response) (*VirtualizationInterfacesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationInterfacesBulkPartialUpdateResponse parses an HTTP response from a VirtualizationInterfacesBulkPartialUpdateWithResponse call +func ParseVirtualizationInterfacesBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationInterfacesCreateResponse parses an HTTP response from a VirtualizationInterfacesCreateWithResponse call +func ParseVirtualizationInterfacesCreateResponse(rsp *http.Response) (*VirtualizationInterfacesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationInterfacesBulkUpdateResponse parses an HTTP response from a VirtualizationInterfacesBulkUpdateWithResponse call +func ParseVirtualizationInterfacesBulkUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationInterfacesDestroyResponse parses an HTTP response from a VirtualizationInterfacesDestroyWithResponse call +func ParseVirtualizationInterfacesDestroyResponse(rsp *http.Response) (*VirtualizationInterfacesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationInterfacesRetrieveResponse parses an HTTP response from a VirtualizationInterfacesRetrieveWithResponse call +func ParseVirtualizationInterfacesRetrieveResponse(rsp *http.Response) (*VirtualizationInterfacesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationInterfacesPartialUpdateResponse parses an HTTP response from a VirtualizationInterfacesPartialUpdateWithResponse call +func ParseVirtualizationInterfacesPartialUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationInterfacesUpdateResponse parses an HTTP response from a VirtualizationInterfacesUpdateWithResponse call +func ParseVirtualizationInterfacesUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesUpdateResponse{ + 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) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesListResponse parses an HTTP response from a VirtualizationVirtualMachinesListWithResponse call +func ParseVirtualizationVirtualMachinesListResponse(rsp *http.Response) (*VirtualizationVirtualMachinesListResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesBulkPartialUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesBulkPartialUpdateWithResponse call +func ParseVirtualizationVirtualMachinesBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesBulkPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesCreateResponse parses an HTTP response from a VirtualizationVirtualMachinesCreateWithResponse call +func ParseVirtualizationVirtualMachinesCreateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesCreateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesBulkUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesBulkUpdateWithResponse call +func ParseVirtualizationVirtualMachinesBulkUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesBulkUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesDestroyResponse parses an HTTP response from a VirtualizationVirtualMachinesDestroyWithResponse call +func ParseVirtualizationVirtualMachinesDestroyResponse(rsp *http.Response) (*VirtualizationVirtualMachinesDestroyResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesRetrieveResponse parses an HTTP response from a VirtualizationVirtualMachinesRetrieveWithResponse call +func ParseVirtualizationVirtualMachinesRetrieveResponse(rsp *http.Response) (*VirtualizationVirtualMachinesRetrieveResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesPartialUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesPartialUpdateWithResponse call +func ParseVirtualizationVirtualMachinesPartialUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesPartialUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesUpdateWithResponse call +func ParseVirtualizationVirtualMachinesUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesUpdateResponse, error) { + bodyBytes, err := ioutil.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} diff --git a/client/swagger.yaml b/client/swagger.yaml new file mode 100644 index 0000000..584531d --- /dev/null +++ b/client/swagger.yaml @@ -0,0 +1,96011 @@ +openapi: 3.0.3 +info: + title: API Documentation + version: 1.3.2 (1.3) + description: Source of truth and network automation platform + license: + name: Apache v2 License +paths: + /circuits/circuit-terminations/: + get: + operationId: circuits_circuit_terminations_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: cabled + schema: + type: boolean + - in: query + name: circuit_id + schema: + type: array + items: + type: string + format: uuid + description: Circuit + explode: true + style: form + - in: query + name: circuit_id__n + schema: + type: array + items: + type: string + format: uuid + description: Circuit + explode: true + style: form + - in: query + name: connected + schema: + type: boolean + description: Connected status (bool) + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: port_speed + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: port_speed__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: port_speed__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: port_speed__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: port_speed__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: port_speed__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: provider_network_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Provider Network (ID) + explode: true + style: form + - in: query + name: provider_network_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Provider Network (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: term_side + schema: + type: string + title: Termination + - in: query + name: term_side__n + schema: + type: string + title: Termination + - in: query + name: upstream_speed + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: upstream_speed__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: upstream_speed__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: upstream_speed__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: upstream_speed__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: upstream_speed__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: xconnect_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: xconnect_id__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitTerminationList' + description: '' + post: + operationId: circuits_circuit_terminations_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuitTermination' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCircuitTermination' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCircuitTermination' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + put: + operationId: circuits_circuit_terminations_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuitTermination' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCircuitTermination' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCircuitTermination' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + patch: + operationId: circuits_circuit_terminations_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCircuitTermination' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCircuitTermination' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCircuitTermination' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + delete: + operationId: circuits_circuit_terminations_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /circuits/circuit-terminations/{id}/: + get: + operationId: circuits_circuit_terminations_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit termination. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + put: + operationId: circuits_circuit_terminations_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit termination. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuitTermination' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCircuitTermination' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCircuitTermination' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + patch: + operationId: circuits_circuit_terminations_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit termination. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCircuitTermination' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCircuitTermination' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCircuitTermination' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + delete: + operationId: circuits_circuit_terminations_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit termination. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /circuits/circuit-terminations/{id}/trace/: + get: + operationId: circuits_circuit_terminations_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit termination. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + /circuits/circuit-types/: + get: + operationId: circuits_circuit_types_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitTypeList' + description: '' + post: + operationId: circuits_circuit_types_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CircuitType' + multipart/form-data: + schema: + $ref: '#/components/schemas/CircuitType' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + put: + operationId: circuits_circuit_types_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CircuitType' + multipart/form-data: + schema: + $ref: '#/components/schemas/CircuitType' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + patch: + operationId: circuits_circuit_types_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCircuitType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCircuitType' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCircuitType' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + delete: + operationId: circuits_circuit_types_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /circuits/circuit-types/{id}/: + get: + operationId: circuits_circuit_types_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit type. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + put: + operationId: circuits_circuit_types_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit type. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CircuitType' + multipart/form-data: + schema: + $ref: '#/components/schemas/CircuitType' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + patch: + operationId: circuits_circuit_types_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit type. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCircuitType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCircuitType' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCircuitType' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + delete: + operationId: circuits_circuit_types_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit type. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /circuits/circuits/: + get: + operationId: circuits_circuits_list + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: query + name: cid + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: commit_rate + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: commit_rate__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: commit_rate__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: commit_rate__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: commit_rate__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: commit_rate__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: install_date + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__gt + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__gte + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__lt + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__lte + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__n + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: provider + schema: + type: array + items: + type: string + description: Provider (slug) + explode: true + style: form + - in: query + name: provider__n + schema: + type: array + items: + type: string + description: Provider (slug) + explode: true + style: form + - in: query + name: provider_id + schema: + type: array + items: + type: string + format: uuid + description: Provider (ID) + explode: true + style: form + - in: query + name: provider_id__n + schema: + type: array + items: + type: string + format: uuid + description: Provider (ID) + explode: true + style: form + - in: query + name: provider_network_id + schema: + type: array + items: + type: string + format: uuid + description: Provider Network (ID) + explode: true + style: form + - in: query + name: provider_network_id__n + schema: + type: array + items: + type: string + format: uuid + description: Provider Network (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + description: Circuit type (slug) + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + description: Circuit type (slug) + explode: true + style: form + - in: query + name: type_id + schema: + type: array + items: + type: string + format: uuid + description: Circuit type (ID) + explode: true + style: form + - in: query + name: type_id__n + schema: + type: array + items: + type: string + format: uuid + description: Circuit type (ID) + explode: true + style: form + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitList' + description: '' + post: + operationId: circuits_circuits_create + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuit' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCircuit' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCircuit' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + put: + operationId: circuits_circuits_bulk_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuit' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCircuit' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCircuit' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + patch: + operationId: circuits_circuits_bulk_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCircuit' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCircuit' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCircuit' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + delete: + operationId: circuits_circuits_bulk_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /circuits/circuits/{id}/: + get: + operationId: circuits_circuits_retrieve + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + put: + operationId: circuits_circuits_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuit' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCircuit' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCircuit' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + patch: + operationId: circuits_circuits_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCircuit' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCircuit' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCircuit' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + delete: + operationId: circuits_circuits_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /circuits/provider-networks/: + get: + operationId: circuits_provider_networks_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: provider + schema: + type: array + items: + type: string + description: Provider (slug) + explode: true + style: form + - in: query + name: provider__n + schema: + type: array + items: + type: string + description: Provider (slug) + explode: true + style: form + - in: query + name: provider_id + schema: + type: array + items: + type: string + format: uuid + description: Provider (ID) + explode: true + style: form + - in: query + name: provider_id__n + schema: + type: array + items: + type: string + format: uuid + description: Provider (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedProviderNetworkList' + description: '' + post: + operationId: circuits_provider_networks_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableProviderNetwork' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableProviderNetwork' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableProviderNetwork' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + put: + operationId: circuits_provider_networks_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableProviderNetwork' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableProviderNetwork' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableProviderNetwork' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + patch: + operationId: circuits_provider_networks_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableProviderNetwork' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableProviderNetwork' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableProviderNetwork' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + delete: + operationId: circuits_provider_networks_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /circuits/provider-networks/{id}/: + get: + operationId: circuits_provider_networks_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider network. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + put: + operationId: circuits_provider_networks_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider network. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableProviderNetwork' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableProviderNetwork' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableProviderNetwork' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + patch: + operationId: circuits_provider_networks_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider network. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableProviderNetwork' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableProviderNetwork' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableProviderNetwork' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + delete: + operationId: circuits_provider_networks_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider network. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /circuits/providers/: + get: + operationId: circuits_providers_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: account + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: account__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asn + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site + explode: true + style: form + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedProviderList' + description: '' + post: + operationId: circuits_providers_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Provider' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Provider' + multipart/form-data: + schema: + $ref: '#/components/schemas/Provider' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + put: + operationId: circuits_providers_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Provider' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Provider' + multipart/form-data: + schema: + $ref: '#/components/schemas/Provider' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + patch: + operationId: circuits_providers_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedProvider' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedProvider' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedProvider' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + delete: + operationId: circuits_providers_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /circuits/providers/{id}/: + get: + operationId: circuits_providers_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + put: + operationId: circuits_providers_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Provider' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Provider' + multipart/form-data: + schema: + $ref: '#/components/schemas/Provider' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + patch: + operationId: circuits_providers_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedProvider' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedProvider' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedProvider' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + delete: + operationId: circuits_providers_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/cables/: + get: + operationId: dcim_cables_list + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: query + name: color + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: device + schema: + type: array + items: + type: string + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: label + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: label__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - in: query + name: length + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: length__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: length__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: length__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: length__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: length__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: length_unit + schema: + type: string + - in: query + name: length_unit__n + schema: + type: string + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rack + schema: + type: array + items: + type: string + description: Rack (name) + explode: true + style: form + - in: query + name: rack_id + schema: + type: array + items: + type: string + format: uuid + description: Rack (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (name) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (name) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant (ID) + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCableList' + description: '' + post: + operationId: dcim_cables_create + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCable' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCable' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCable' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + put: + operationId: dcim_cables_bulk_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCable' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCable' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCable' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + patch: + operationId: dcim_cables_bulk_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCable' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCable' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCable' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + delete: + operationId: dcim_cables_bulk_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/cables/{id}/: + get: + operationId: dcim_cables_retrieve + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cable. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + put: + operationId: dcim_cables_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cable. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCable' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCable' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCable' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + patch: + operationId: dcim_cables_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cable. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCable' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCable' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCable' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + delete: + operationId: dcim_cables_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cable. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/connected-device/: + get: + operationId: dcim_connected_device_list + 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 + parameters: + - in: query + name: peer_device + schema: + type: string + description: The name of the peer device + required: true + - in: query + name: peer_interface + schema: + type: string + description: The name of the peer interface + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + type: array + items: + $ref: '#/components/schemas/Device' + description: '' + /dcim/console-connections/: + get: + operationId: dcim_console_connections_list + parameters: + - in: query + name: device + schema: + type: array + items: + type: string + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: site + schema: + type: string + description: Site (slug) + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsolePortList' + description: '' + /dcim/console-port-templates/: + get: + operationId: dcim_console_port_templates_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: devicetype_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: devicetype_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsolePortTemplateList' + description: '' + post: + operationId: dcim_console_port_templates_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + put: + operationId: dcim_console_port_templates_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + patch: + operationId: dcim_console_port_templates_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + delete: + operationId: dcim_console_port_templates_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/console-port-templates/{id}/: + get: + operationId: dcim_console_port_templates_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + put: + operationId: dcim_console_port_templates_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + patch: + operationId: dcim_console_port_templates_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + delete: + operationId: dcim_console_port_templates_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/console-ports/: + get: + operationId: dcim_console_ports_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: cabled + schema: + type: boolean + - in: query + name: connected + schema: + type: boolean + description: Connected status (bool) + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + description: Physical port type + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + description: Physical port type + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsolePortList' + description: '' + post: + operationId: dcim_console_ports_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsolePort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsolePort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + put: + operationId: dcim_console_ports_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsolePort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsolePort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + patch: + operationId: dcim_console_ports_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + delete: + operationId: dcim_console_ports_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/console-ports/{id}/: + get: + operationId: dcim_console_ports_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + put: + operationId: dcim_console_ports_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsolePort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsolePort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + patch: + operationId: dcim_console_ports_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + delete: + operationId: dcim_console_ports_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/console-ports/{id}/trace/: + get: + operationId: dcim_console_ports_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + /dcim/console-server-port-templates/: + get: + operationId: dcim_console_server_port_templates_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: devicetype_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: devicetype_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsoleServerPortTemplateList' + description: '' + post: + operationId: dcim_console_server_port_templates_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + put: + operationId: dcim_console_server_port_templates_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + patch: + operationId: dcim_console_server_port_templates_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + delete: + operationId: dcim_console_server_port_templates_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/console-server-port-templates/{id}/: + get: + operationId: dcim_console_server_port_templates_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console server port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + put: + operationId: dcim_console_server_port_templates_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console server port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + patch: + operationId: dcim_console_server_port_templates_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console server port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + delete: + operationId: dcim_console_server_port_templates_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console server port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/console-server-ports/: + get: + operationId: dcim_console_server_ports_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: cabled + schema: + type: boolean + - in: query + name: connected + schema: + type: boolean + description: Connected status (bool) + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + description: Physical port type + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + description: Physical port type + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsoleServerPortList' + description: '' + post: + operationId: dcim_console_server_ports_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsoleServerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsoleServerPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + put: + operationId: dcim_console_server_ports_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsoleServerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsoleServerPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + patch: + operationId: dcim_console_server_ports_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + delete: + operationId: dcim_console_server_ports_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/console-server-ports/{id}/: + get: + operationId: dcim_console_server_ports_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console server port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + put: + operationId: dcim_console_server_ports_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console server port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConsoleServerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConsoleServerPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + patch: + operationId: dcim_console_server_ports_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console server port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + delete: + operationId: dcim_console_server_ports_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console server port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/console-server-ports/{id}/trace/: + get: + operationId: dcim_console_server_ports_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this console server port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + /dcim/device-bay-templates/: + get: + operationId: dcim_device_bay_templates_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: devicetype_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: devicetype_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceBayTemplateList' + description: '' + post: + operationId: dcim_device_bay_templates_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + put: + operationId: dcim_device_bay_templates_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + patch: + operationId: dcim_device_bay_templates_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBayTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBayTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBayTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + delete: + operationId: dcim_device_bay_templates_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/device-bay-templates/{id}/: + get: + operationId: dcim_device_bay_templates_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device bay template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + put: + operationId: dcim_device_bay_templates_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device bay template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + patch: + operationId: dcim_device_bay_templates_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device bay template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBayTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBayTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBayTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + delete: + operationId: dcim_device_bay_templates_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device bay template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/device-bays/: + get: + operationId: dcim_device_bays_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceBayList' + description: '' + post: + operationId: dcim_device_bays_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBay' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceBay' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceBay' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + put: + operationId: dcim_device_bays_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBay' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceBay' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceBay' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + patch: + operationId: dcim_device_bays_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBay' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBay' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBay' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + delete: + operationId: dcim_device_bays_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/device-bays/{id}/: + get: + operationId: dcim_device_bays_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device bay. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + put: + operationId: dcim_device_bays_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device bay. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBay' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceBay' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceBay' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + patch: + operationId: dcim_device_bays_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device bay. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBay' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBay' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBay' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + delete: + operationId: dcim_device_bays_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device bay. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/device-roles/: + get: + operationId: dcim_device_roles_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: color + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: vm_role + schema: + type: boolean + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceRoleList' + description: '' + post: + operationId: dcim_device_roles_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/DeviceRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/DeviceRole' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + put: + operationId: dcim_device_roles_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/DeviceRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/DeviceRole' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + patch: + operationId: dcim_device_roles_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedDeviceRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedDeviceRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedDeviceRole' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + delete: + operationId: dcim_device_roles_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/device-roles/{id}/: + get: + operationId: dcim_device_roles_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device role. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + put: + operationId: dcim_device_roles_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device role. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/DeviceRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/DeviceRole' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + patch: + operationId: dcim_device_roles_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device role. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedDeviceRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedDeviceRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedDeviceRole' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + delete: + operationId: dcim_device_roles_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device role. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/device-types/: + get: + operationId: dcim_device_types_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: console_ports + schema: + type: boolean + description: Has console ports + - in: query + name: console_server_ports + schema: + type: boolean + description: Has console server ports + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: device_bays + schema: + type: boolean + description: Has device bays + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: interfaces + schema: + type: boolean + description: Has interfaces + - in: query + name: is_full_depth + schema: + type: boolean + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: manufacturer + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer__n + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer_id + schema: + type: array + items: + type: string + format: uuid + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: manufacturer_id__n + schema: + type: array + items: + type: string + format: uuid + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: model + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: model__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: part_number + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_number__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: pass_through_ports + schema: + type: boolean + description: Has pass-through ports + - in: query + name: power_outlets + schema: + type: boolean + description: Has power outlets + - in: query + name: power_ports + schema: + type: boolean + description: Has power ports + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: subdevice_role + schema: + type: string + title: Parent/child status + 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: + type: string + title: Parent/child status + 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: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: u_height + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceTypeList' + description: '' + post: + operationId: dcim_device_types_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceType' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceType' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + put: + operationId: dcim_device_types_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceType' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceType' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + patch: + operationId: dcim_device_types_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceType' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceType' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + delete: + operationId: dcim_device_types_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/device-types/{id}/: + get: + operationId: dcim_device_types_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device type. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + put: + operationId: dcim_device_types_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device type. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceType' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceType' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + patch: + operationId: dcim_device_types_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device type. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceType' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceType' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + delete: + operationId: dcim_device_types_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device type. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/devices/: + get: + operationId: dcim_devices_list + 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. + parameters: + - in: query + name: asset_tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cluster_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: VM cluster (ID) + explode: true + style: form + - in: query + name: cluster_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: VM cluster (ID) + explode: true + style: form + - in: query + name: console_ports + schema: + type: boolean + description: Has console ports + - in: query + name: console_server_ports + schema: + type: boolean + description: Has console server ports + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: device_bays + schema: + type: boolean + description: Has device bays + - in: query + name: device_type_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: device_type_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: face + schema: + type: string + title: Rack face + - in: query + name: face__n + schema: + type: string + title: Rack face + - in: query + name: has_console_ports + schema: + type: boolean + description: Has console ports + - in: query + name: has_console_server_ports + schema: + type: boolean + description: Has console server ports + - in: query + name: has_device_bays + schema: + type: boolean + description: Has device bays + - in: query + name: has_front_ports + schema: + type: boolean + description: Has front ports + - in: query + name: has_interfaces + schema: + type: boolean + description: Has interfaces + - in: query + name: has_power_outlets + schema: + type: boolean + description: Has power outlets + - in: query + name: has_power_ports + schema: + type: boolean + description: Has power ports + - in: query + name: has_primary_ip + schema: + type: boolean + description: Has a primary IP + - in: query + name: has_rear_ports + schema: + type: boolean + description: Has rear ports + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: interfaces + schema: + type: boolean + description: Has interfaces + - in: query + name: is_full_depth + schema: + type: boolean + description: Is full depth + - in: query + name: is_virtual_chassis_member + schema: + type: boolean + description: Is a virtual chassis member + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: local_context_data + schema: + type: boolean + description: Has local config context data + - in: query + name: local_context_schema + schema: + type: array + items: + type: string + description: Schema (slug) + explode: true + style: form + - in: query + name: local_context_schema__n + schema: + type: array + items: + type: string + description: Schema (slug) + explode: true + style: form + - in: query + name: local_context_schema_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Schema (ID) + explode: true + style: form + - in: query + name: local_context_schema_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Schema (ID) + explode: true + style: form + - in: query + name: mac_address + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__ic + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__ie + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__iew + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__ire + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__isw + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__n + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nic + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nie + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__niew + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nire + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nisw + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nre + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__re + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: manufacturer + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer__n + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer_id + schema: + type: array + items: + type: string + format: uuid + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: manufacturer_id__n + schema: + type: array + items: + type: string + format: uuid + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: model + schema: + type: array + items: + type: string + description: Device model (slug) + explode: true + style: form + - in: query + name: model__n + schema: + type: array + items: + type: string + description: Device model (slug) + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: pass_through_ports + schema: + type: boolean + description: Has pass-through ports + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform__n + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Platform (ID) + explode: true + style: form + - in: query + name: platform_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Platform (ID) + explode: true + style: form + - in: query + name: position + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: position__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: position__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: position__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: position__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: position__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: power_outlets + schema: + type: boolean + description: Has power outlets + - in: query + name: power_ports + schema: + type: boolean + description: Has power ports + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rack_group_id + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: rack_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: rack_id + schema: + type: array + items: + type: string + format: uuid + description: Rack (ID) + explode: true + style: form + - in: query + name: rack_id__n + schema: + type: array + items: + type: string + format: uuid + description: Rack (ID) + explode: true + style: form + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: string + format: uuid + description: Role (ID) + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: string + format: uuid + description: Role (ID) + explode: true + style: form + - in: query + name: secrets_group + schema: + type: array + items: + type: string + description: Secrets group (slug) + explode: true + style: form + - in: query + name: secrets_group__n + schema: + type: array + items: + type: string + description: Secrets group (slug) + explode: true + style: form + - in: query + name: secrets_group_id + schema: + type: array + items: + type: string + format: uuid + description: Secrets group (ID) + explode: true + style: form + - in: query + name: secrets_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Secrets group (ID) + explode: true + style: form + - in: query + name: serial + schema: + type: string + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: vc_position + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_position__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_position__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_position__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_position__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_position__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_priority + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_priority__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_priority__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_priority__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_priority__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vc_priority__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: virtual_chassis_id + schema: + type: array + items: + type: string + format: uuid + description: Virtual chassis (ID) + explode: true + style: form + - in: query + name: virtual_chassis_id__n + schema: + type: array + items: + type: string + format: uuid + description: Virtual chassis (ID) + explode: true + style: form + - in: query + name: virtual_chassis_member + schema: + type: boolean + description: Is a virtual chassis member + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceWithConfigContextList' + description: '' + post: + operationId: dcim_devices_create + 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. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContext' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + put: + operationId: dcim_devices_bulk_update + 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. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContext' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + patch: + operationId: dcim_devices_bulk_partial_update + 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. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContext' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + delete: + operationId: dcim_devices_bulk_destroy + 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. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/devices/{id}/: + get: + operationId: dcim_devices_retrieve + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + put: + operationId: dcim_devices_update + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContext' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + patch: + operationId: dcim_devices_partial_update + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContext' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + delete: + operationId: dcim_devices_destroy + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/devices/{id}/napalm/: + get: + operationId: dcim_devices_napalm_retrieve + description: Execute a NAPALM method on a Device + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this device. + required: true + - in: query + name: method + schema: + type: string + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceNAPALM' + description: '' + /dcim/front-port-templates/: + get: + operationId: dcim_front_port_templates_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: devicetype_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: devicetype_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedFrontPortTemplateList' + description: '' + post: + operationId: dcim_front_port_templates_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + put: + operationId: dcim_front_port_templates_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + patch: + operationId: dcim_front_port_templates_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + delete: + operationId: dcim_front_port_templates_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/front-port-templates/{id}/: + get: + operationId: dcim_front_port_templates_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this front port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + put: + operationId: dcim_front_port_templates_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this front port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + patch: + operationId: dcim_front_port_templates_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this front port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + delete: + operationId: dcim_front_port_templates_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this front port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/front-ports/: + get: + operationId: dcim_front_ports_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: cabled + schema: + type: boolean + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedFrontPortList' + description: '' + post: + operationId: dcim_front_ports_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableFrontPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableFrontPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + put: + operationId: dcim_front_ports_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableFrontPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableFrontPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + patch: + operationId: dcim_front_ports_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + delete: + operationId: dcim_front_ports_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/front-ports/{id}/: + get: + operationId: dcim_front_ports_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this front port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + put: + operationId: dcim_front_ports_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this front port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableFrontPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableFrontPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + patch: + operationId: dcim_front_ports_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this front port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + delete: + operationId: dcim_front_ports_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this front port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/front-ports/{id}/paths/: + get: + operationId: dcim_front_ports_paths_retrieve + description: Return all CablePaths which traverse a given pass-through port. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this front port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + /dcim/interface-connections/: + get: + operationId: dcim_interface_connections_list + parameters: + - in: query + name: device + schema: + type: array + items: + type: string + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: site + schema: + type: string + description: Site (slug) + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedInterfaceConnectionList' + description: '' + /dcim/interface-templates/: + get: + operationId: dcim_interface_templates_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: devicetype_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: devicetype_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: mgmt_only + schema: + type: boolean + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedInterfaceTemplateList' + description: '' + post: + operationId: dcim_interface_templates_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + put: + operationId: dcim_interface_templates_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + patch: + operationId: dcim_interface_templates_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + delete: + operationId: dcim_interface_templates_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/interface-templates/{id}/: + get: + operationId: dcim_interface_templates_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this interface template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + put: + operationId: dcim_interface_templates_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this interface template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + patch: + operationId: dcim_interface_templates_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this interface template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + delete: + operationId: dcim_interface_templates_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this interface template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/interfaces/: + get: + operationId: dcim_interfaces_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: cabled + schema: + type: boolean + - in: query + name: connected + schema: + type: boolean + description: Connected status (bool) + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: array + items: + type: string + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: enabled + schema: + type: boolean + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: kind + schema: + type: string + description: Kind of interface + - in: query + name: lag_id + schema: + type: array + items: + type: string + format: uuid + description: LAG interface (ID) + explode: true + style: form + - in: query + name: lag_id__n + schema: + type: array + items: + type: string + format: uuid + description: LAG interface (ID) + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: mac_address + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__ic + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__ie + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__iew + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__ire + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__isw + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__n + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__nic + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__nie + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__niew + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__nire + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__nisw + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__nre + schema: + type: array + items: + type: string + nullable: true + explode: true + style: form + - in: query + name: mac_address__re + schema: + type: array + items: + type: string + nullable: true + explode: true + 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 + - in: query + name: mtu + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: vlan + schema: + type: number + description: Assigned VID + - in: query + name: vlan_id + schema: + type: string + description: Assigned VLAN + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedInterfaceList' + description: '' + post: + operationId: dcim_interfaces_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInterface' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Interface' + description: '' + put: + operationId: dcim_interfaces_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInterface' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Interface' + description: '' + patch: + operationId: dcim_interfaces_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableInterface' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Interface' + description: '' + delete: + operationId: dcim_interfaces_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/interfaces/{id}/: + get: + operationId: dcim_interfaces_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this interface. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Interface' + description: '' + put: + operationId: dcim_interfaces_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this interface. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInterface' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Interface' + description: '' + patch: + operationId: dcim_interfaces_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this interface. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableInterface' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Interface' + description: '' + delete: + operationId: dcim_interfaces_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this interface. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/interfaces/{id}/trace/: + get: + operationId: dcim_interfaces_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this interface. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Interface' + description: '' + /dcim/inventory-items/: + get: + operationId: dcim_inventory_items_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: asset_tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: string + format: uuid + description: Device (name) + - in: query + name: device__n + schema: + type: string + format: uuid + description: Device (name) + - in: query + name: device_id + schema: + type: string + format: uuid + description: Device (ID) + - in: query + name: device_id__n + schema: + type: string + format: uuid + description: Device (ID) + - in: query + name: discovered + schema: + type: boolean + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: manufacturer + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer__n + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: manufacturer_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: parent_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Parent inventory item (ID) + explode: true + style: form + - in: query + name: parent_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Parent inventory item (ID) + explode: true + style: form + - in: query + name: part_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: part_id__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: serial + schema: + type: string + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedInventoryItemList' + description: '' + post: + operationId: dcim_inventory_items_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInventoryItem' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableInventoryItem' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInventoryItem' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + put: + operationId: dcim_inventory_items_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInventoryItem' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableInventoryItem' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInventoryItem' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + patch: + operationId: dcim_inventory_items_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInventoryItem' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableInventoryItem' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableInventoryItem' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + delete: + operationId: dcim_inventory_items_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/inventory-items/{id}/: + get: + operationId: dcim_inventory_items_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this inventory item. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + put: + operationId: dcim_inventory_items_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this inventory item. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInventoryItem' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableInventoryItem' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInventoryItem' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + patch: + operationId: dcim_inventory_items_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this inventory item. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInventoryItem' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableInventoryItem' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableInventoryItem' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + delete: + operationId: dcim_inventory_items_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this inventory item. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/manufacturers/: + get: + operationId: dcim_manufacturers_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedManufacturerList' + description: '' + post: + operationId: dcim_manufacturers_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Manufacturer' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Manufacturer' + multipart/form-data: + schema: + $ref: '#/components/schemas/Manufacturer' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + put: + operationId: dcim_manufacturers_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Manufacturer' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Manufacturer' + multipart/form-data: + schema: + $ref: '#/components/schemas/Manufacturer' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + patch: + operationId: dcim_manufacturers_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedManufacturer' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedManufacturer' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedManufacturer' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + delete: + operationId: dcim_manufacturers_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/manufacturers/{id}/: + get: + operationId: dcim_manufacturers_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this manufacturer. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + put: + operationId: dcim_manufacturers_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this manufacturer. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Manufacturer' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Manufacturer' + multipart/form-data: + schema: + $ref: '#/components/schemas/Manufacturer' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + patch: + operationId: dcim_manufacturers_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this manufacturer. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedManufacturer' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedManufacturer' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedManufacturer' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + delete: + operationId: dcim_manufacturers_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this manufacturer. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/platforms/: + get: + operationId: dcim_platforms_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: manufacturer + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer__n + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer_id + schema: + type: array + items: + type: string + format: uuid + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: manufacturer_id__n + schema: + type: array + items: + type: string + format: uuid + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: napalm_driver__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPlatformList' + description: '' + post: + operationId: dcim_platforms_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePlatform' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePlatform' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePlatform' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + put: + operationId: dcim_platforms_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePlatform' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePlatform' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePlatform' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + patch: + operationId: dcim_platforms_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePlatform' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePlatform' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePlatform' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + delete: + operationId: dcim_platforms_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/platforms/{id}/: + get: + operationId: dcim_platforms_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this platform. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + put: + operationId: dcim_platforms_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this platform. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePlatform' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePlatform' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePlatform' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + patch: + operationId: dcim_platforms_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this platform. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePlatform' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePlatform' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePlatform' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + delete: + operationId: dcim_platforms_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this platform. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-connections/: + get: + operationId: dcim_power_connections_list + parameters: + - in: query + name: device + schema: + type: array + items: + type: string + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: site + schema: + type: string + description: Site (slug) + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerPortList' + description: '' + /dcim/power-feeds/: + get: + operationId: dcim_power_feeds_list + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: query + name: amperage + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: amperage__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: amperage__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: amperage__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: amperage__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: amperage__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: cabled + schema: + type: boolean + - in: query + name: connected + schema: + type: boolean + description: Connected status (bool) + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: max_utilization + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: max_utilization__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: max_utilization__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: max_utilization__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: max_utilization__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: max_utilization__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: phase + schema: + type: string + - in: query + name: phase__n + schema: + type: string + - in: query + name: power_panel_id + schema: + type: array + items: + type: string + format: uuid + description: Power panel (ID) + explode: true + style: form + - in: query + name: power_panel_id__n + schema: + type: array + items: + type: string + format: uuid + description: Power panel (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rack_id + schema: + type: array + items: + type: string + format: uuid + description: Rack (ID) + explode: true + style: form + - in: query + name: rack_id__n + schema: + type: array + items: + type: string + format: uuid + description: Rack (ID) + explode: true + style: form + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: supply + schema: + type: string + - in: query + name: supply__n + schema: + type: string + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + - in: query + name: voltage + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: voltage__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: voltage__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: voltage__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: voltage__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: voltage__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerFeedList' + description: '' + post: + operationId: dcim_power_feeds_create + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerFeed' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerFeed' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerFeed' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + put: + operationId: dcim_power_feeds_bulk_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerFeed' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerFeed' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerFeed' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + patch: + operationId: dcim_power_feeds_bulk_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerFeed' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerFeed' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerFeed' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + delete: + operationId: dcim_power_feeds_bulk_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-feeds/{id}/: + get: + operationId: dcim_power_feeds_retrieve + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power feed. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + put: + operationId: dcim_power_feeds_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power feed. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerFeed' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerFeed' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerFeed' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + patch: + operationId: dcim_power_feeds_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power feed. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerFeed' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerFeed' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerFeed' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + delete: + operationId: dcim_power_feeds_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power feed. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-feeds/{id}/trace/: + get: + operationId: dcim_power_feeds_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power feed. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + /dcim/power-outlet-templates/: + get: + operationId: dcim_power_outlet_templates_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: devicetype_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: devicetype_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: feed_leg + schema: + type: string + description: Phase (for three-phase feeds) + - in: query + name: feed_leg__n + schema: + type: string + description: Phase (for three-phase feeds) + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerOutletTemplateList' + description: '' + post: + operationId: dcim_power_outlet_templates_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + put: + operationId: dcim_power_outlet_templates_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + patch: + operationId: dcim_power_outlet_templates_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutletTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutletTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutletTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + delete: + operationId: dcim_power_outlet_templates_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-outlet-templates/{id}/: + get: + operationId: dcim_power_outlet_templates_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power outlet template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + put: + operationId: dcim_power_outlet_templates_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power outlet template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + patch: + operationId: dcim_power_outlet_templates_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power outlet template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutletTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutletTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutletTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + delete: + operationId: dcim_power_outlet_templates_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power outlet template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-outlets/: + get: + operationId: dcim_power_outlets_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: cabled + schema: + type: boolean + - in: query + name: connected + schema: + type: boolean + description: Connected status (bool) + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: feed_leg + schema: + type: string + description: Phase (for three-phase feeds) + - in: query + name: feed_leg__n + schema: + type: string + description: Phase (for three-phase feeds) + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + description: Physical port type + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + description: Physical port type + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerOutletList' + description: '' + post: + operationId: dcim_power_outlets_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutlet' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerOutlet' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerOutlet' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + put: + operationId: dcim_power_outlets_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutlet' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerOutlet' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerOutlet' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + patch: + operationId: dcim_power_outlets_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutlet' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutlet' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutlet' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + delete: + operationId: dcim_power_outlets_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-outlets/{id}/: + get: + operationId: dcim_power_outlets_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power outlet. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + put: + operationId: dcim_power_outlets_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power outlet. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutlet' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerOutlet' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerOutlet' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + patch: + operationId: dcim_power_outlets_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power outlet. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutlet' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutlet' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutlet' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + delete: + operationId: dcim_power_outlets_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power outlet. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-outlets/{id}/trace/: + get: + operationId: dcim_power_outlets_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power outlet. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + /dcim/power-panels/: + get: + operationId: dcim_power_panels_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rack_group_id + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: rack_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerPanelList' + description: '' + post: + operationId: dcim_power_panels_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPanel' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerPanel' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerPanel' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + put: + operationId: dcim_power_panels_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPanel' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerPanel' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerPanel' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + patch: + operationId: dcim_power_panels_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPanel' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPanel' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPanel' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + delete: + operationId: dcim_power_panels_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-panels/{id}/: + get: + operationId: dcim_power_panels_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power panel. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + put: + operationId: dcim_power_panels_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power panel. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPanel' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerPanel' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerPanel' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + patch: + operationId: dcim_power_panels_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power panel. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPanel' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPanel' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPanel' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + delete: + operationId: dcim_power_panels_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power panel. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-port-templates/: + get: + operationId: dcim_power_port_templates_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: allocated_draw + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: devicetype_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: devicetype_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: maximum_draw + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerPortTemplateList' + description: '' + post: + operationId: dcim_power_port_templates_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + put: + operationId: dcim_power_port_templates_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + patch: + operationId: dcim_power_port_templates_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + delete: + operationId: dcim_power_port_templates_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-port-templates/{id}/: + get: + operationId: dcim_power_port_templates_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + put: + operationId: dcim_power_port_templates_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + patch: + operationId: dcim_power_port_templates_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + delete: + operationId: dcim_power_port_templates_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-ports/: + get: + operationId: dcim_power_ports_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: allocated_draw + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: allocated_draw__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: cabled + schema: + type: boolean + - in: query + name: connected + schema: + type: boolean + description: Connected status (bool) + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: maximum_draw + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: maximum_draw__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + description: Physical port type + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + description: Physical port type + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerPortList' + description: '' + post: + operationId: dcim_power_ports_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + put: + operationId: dcim_power_ports_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + patch: + operationId: dcim_power_ports_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + delete: + operationId: dcim_power_ports_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-ports/{id}/: + get: + operationId: dcim_power_ports_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + put: + operationId: dcim_power_ports_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePowerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePowerPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + patch: + operationId: dcim_power_ports_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + delete: + operationId: dcim_power_ports_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/power-ports/{id}/trace/: + get: + operationId: dcim_power_ports_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this power port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + /dcim/rack-groups/: + get: + operationId: dcim_rack_groups_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: parent + schema: + type: array + items: + type: string + description: Rack group (slug) + explode: true + style: form + - in: query + name: parent__n + schema: + type: array + items: + type: string + description: Rack group (slug) + explode: true + style: form + - in: query + name: parent_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Rack group (ID) + explode: true + style: form + - in: query + name: parent_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Rack group (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackGroupList' + description: '' + post: + operationId: dcim_rack_groups_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRackGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRackGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + put: + operationId: dcim_rack_groups_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRackGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRackGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + patch: + operationId: dcim_rack_groups_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRackGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRackGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRackGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + delete: + operationId: dcim_rack_groups_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/rack-groups/{id}/: + get: + operationId: dcim_rack_groups_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack group. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + put: + operationId: dcim_rack_groups_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack group. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRackGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRackGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + patch: + operationId: dcim_rack_groups_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack group. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRackGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRackGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRackGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + delete: + operationId: dcim_rack_groups_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack group. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/rack-reservations/: + get: + operationId: dcim_rack_reservations_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: group + schema: + type: array + items: + type: string + format: uuid + description: Rack group (slug) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + format: uuid + description: Rack group (slug) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rack_id + schema: + type: array + items: + type: string + format: uuid + description: Rack (ID) + explode: true + style: form + - in: query + name: rack_id__n + schema: + type: array + items: + type: string + format: uuid + description: Rack (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: user + schema: + type: array + items: + type: string + description: User (name) + explode: true + style: form + - in: query + name: user__n + schema: + type: array + items: + type: string + description: User (name) + explode: true + style: form + - in: query + name: user_id + schema: + type: array + items: + type: string + format: uuid + description: User (ID) + explode: true + style: form + - in: query + name: user_id__n + schema: + type: array + items: + type: string + format: uuid + description: User (ID) + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackReservationList' + description: '' + post: + operationId: dcim_rack_reservations_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackReservation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRackReservation' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRackReservation' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + put: + operationId: dcim_rack_reservations_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackReservation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRackReservation' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRackReservation' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + patch: + operationId: dcim_rack_reservations_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRackReservation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRackReservation' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRackReservation' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + delete: + operationId: dcim_rack_reservations_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/rack-reservations/{id}/: + get: + operationId: dcim_rack_reservations_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack reservation. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + put: + operationId: dcim_rack_reservations_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack reservation. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackReservation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRackReservation' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRackReservation' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + patch: + operationId: dcim_rack_reservations_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack reservation. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRackReservation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRackReservation' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRackReservation' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + delete: + operationId: dcim_rack_reservations_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack reservation. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/rack-roles/: + get: + operationId: dcim_rack_roles_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: color + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackRoleList' + description: '' + post: + operationId: dcim_rack_roles_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RackRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RackRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/RackRole' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + put: + operationId: dcim_rack_roles_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RackRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RackRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/RackRole' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + patch: + operationId: dcim_rack_roles_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRackRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRackRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRackRole' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + delete: + operationId: dcim_rack_roles_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/rack-roles/{id}/: + get: + operationId: dcim_rack_roles_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack role. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + put: + operationId: dcim_rack_roles_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack role. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RackRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RackRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/RackRole' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + patch: + operationId: dcim_rack_roles_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack role. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRackRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRackRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRackRole' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + delete: + operationId: dcim_rack_roles_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack role. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/racks/: + get: + operationId: dcim_racks_list + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: query + name: asset_tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: desc_units + schema: + type: boolean + - in: query + name: facility_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group + schema: + type: array + items: + type: string + format: uuid + description: Rack group (slug) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + format: uuid + description: Rack group (slug) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: outer_depth + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_unit + schema: + type: string + - in: query + name: outer_unit__n + schema: + type: string + - in: query + name: outer_width + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: serial + schema: + type: string + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: u_height + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: width + schema: + type: array + items: + type: integer + description: Rail-to-rail width + explode: true + style: form + - in: query + name: width__n + schema: + type: array + items: + type: integer + description: Rail-to-rail width + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackList' + description: '' + post: + operationId: dcim_racks_create + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRack' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRack' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRack' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + put: + operationId: dcim_racks_bulk_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRack' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRack' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRack' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + patch: + operationId: dcim_racks_bulk_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRack' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRack' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRack' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + delete: + operationId: dcim_racks_bulk_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/racks/{id}/: + get: + operationId: dcim_racks_retrieve + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + put: + operationId: dcim_racks_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRack' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRack' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRack' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + patch: + operationId: dcim_racks_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRack' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRack' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRack' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + delete: + operationId: dcim_racks_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/racks/{id}/elevation/: + get: + operationId: dcim_racks_elevation_list + description: Rack elevation representing the list of rack units. Also supports + rendering the elevation as an SVG. + parameters: + - in: query + name: asset_tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: desc_units + schema: + type: boolean + - in: query + name: exclude + schema: + type: string + format: uuid + - in: query + name: expand_devices + schema: + type: boolean + default: true + - in: query + name: face + schema: + enum: + - front + - rear + type: string + default: front + minLength: 1 + - in: query + name: facility_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility_id__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group + schema: + type: array + items: + type: string + format: uuid + description: Rack group (slug) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + format: uuid + description: Rack group (slug) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rack. + required: true + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: include_images + schema: + type: boolean + default: true + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - in: query + name: legend_width + schema: + type: integer + default: 30 + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: outer_depth + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_depth__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_unit + schema: + type: string + - in: query + name: outer_unit__n + schema: + type: string + - in: query + name: outer_width + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: outer_width__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: q + schema: + type: string + minLength: 1 + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: render + schema: + enum: + - json + - svg + type: string + default: json + minLength: 1 + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: serial + schema: + type: string + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: u_height + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: u_height__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: unit_height + schema: + type: integer + - in: query + name: unit_width + schema: + type: integer + - in: query + name: width + schema: + type: array + items: + type: integer + description: Rail-to-rail width + explode: true + style: form + - in: query + name: width__n + schema: + type: array + items: + type: integer + description: Rail-to-rail width + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackUnitList' + description: '' + /dcim/rear-port-templates/: + get: + operationId: dcim_rear_port_templates_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: devicetype_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: devicetype_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: positions + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRearPortTemplateList' + description: '' + post: + operationId: dcim_rear_port_templates_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRearPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRearPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + put: + operationId: dcim_rear_port_templates_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRearPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRearPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + patch: + operationId: dcim_rear_port_templates_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + delete: + operationId: dcim_rear_port_templates_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/rear-port-templates/{id}/: + get: + operationId: dcim_rear_port_templates_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rear port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + put: + operationId: dcim_rear_port_templates_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rear port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRearPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRearPortTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + patch: + operationId: dcim_rear_port_templates_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rear port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + delete: + operationId: dcim_rear_port_templates_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rear port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/rear-ports/: + get: + operationId: dcim_rear_ports_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: cabled + schema: + type: boolean + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: positions + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: positions__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRearPortList' + description: '' + post: + operationId: dcim_rear_ports_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRearPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRearPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + put: + operationId: dcim_rear_ports_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRearPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRearPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + patch: + operationId: dcim_rear_ports_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRearPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRearPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRearPort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + delete: + operationId: dcim_rear_ports_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/rear-ports/{id}/: + get: + operationId: dcim_rear_ports_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rear port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + put: + operationId: dcim_rear_ports_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rear port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRearPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRearPort' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + patch: + operationId: dcim_rear_ports_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rear port. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRearPort' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRearPort' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRearPort' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + delete: + operationId: dcim_rear_ports_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rear port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/rear-ports/{id}/paths/: + get: + operationId: dcim_rear_ports_paths_retrieve + description: Return all CablePaths which traverse a given pass-through port. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this rear port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + /dcim/regions/: + get: + operationId: dcim_regions_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: parent + schema: + type: array + items: + type: string + description: Parent region (slug) + explode: true + style: form + - in: query + name: parent__n + schema: + type: array + items: + type: string + description: Parent region (slug) + explode: true + style: form + - in: query + name: parent_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Parent region (ID) + explode: true + style: form + - in: query + name: parent_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Parent region (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRegionList' + description: '' + post: + operationId: dcim_regions_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRegion' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRegion' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRegion' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + put: + operationId: dcim_regions_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRegion' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRegion' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRegion' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + patch: + operationId: dcim_regions_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRegion' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRegion' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRegion' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + delete: + operationId: dcim_regions_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/regions/{id}/: + get: + operationId: dcim_regions_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this region. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + put: + operationId: dcim_regions_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this region. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRegion' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRegion' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRegion' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + patch: + operationId: dcim_regions_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this region. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRegion' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRegion' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRegion' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + delete: + operationId: dcim_regions_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this region. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/sites/: + get: + operationId: dcim_sites_list + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: query + name: asn + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: asn__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: contact_email + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_email__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_phone__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: facility + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - in: query + name: latitude + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: latitude__gt + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: latitude__gte + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: latitude__lt + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: latitude__lte + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: latitude__n + schema: + type: array + items: + type: number + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: longitude + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: longitude__gt + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: longitude__gte + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: longitude__lt + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: longitude__lte + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: longitude__n + schema: + type: array + items: + type: number + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSiteList' + description: '' + post: + operationId: dcim_sites_create + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSite' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSite' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSite' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + put: + operationId: dcim_sites_bulk_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSite' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSite' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSite' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + patch: + operationId: dcim_sites_bulk_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSite' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableSite' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableSite' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + delete: + operationId: dcim_sites_bulk_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/sites/{id}/: + get: + operationId: dcim_sites_retrieve + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this site. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + put: + operationId: dcim_sites_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this site. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSite' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSite' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSite' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + patch: + operationId: dcim_sites_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this site. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSite' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableSite' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableSite' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + delete: + operationId: dcim_sites_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this site. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/virtual-chassis/: + get: + operationId: dcim_virtual_chassis_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: domain + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: master + schema: + type: array + items: + type: string + nullable: true + description: Master (name) + explode: true + style: form + - in: query + name: master__n + schema: + type: array + items: + type: string + nullable: true + description: Master (name) + explode: true + style: form + - in: query + name: master_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Master (ID) + explode: true + style: form + - in: query + name: master_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Master (ID) + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant (ID) + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVirtualChassisList' + description: '' + post: + operationId: dcim_virtual_chassis_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualChassis' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVirtualChassis' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVirtualChassis' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + put: + operationId: dcim_virtual_chassis_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualChassis' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVirtualChassis' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVirtualChassis' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + patch: + operationId: dcim_virtual_chassis_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualChassis' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualChassis' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualChassis' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + delete: + operationId: dcim_virtual_chassis_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /dcim/virtual-chassis/{id}/: + get: + operationId: dcim_virtual_chassis_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this virtual chassis. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + put: + operationId: dcim_virtual_chassis_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this virtual chassis. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualChassis' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVirtualChassis' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVirtualChassis' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + patch: + operationId: dcim_virtual_chassis_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this virtual chassis. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualChassis' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualChassis' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualChassis' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + delete: + operationId: dcim_virtual_chassis_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this virtual chassis. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/computed-fields/: + get: + operationId: extras_computed_fields_list + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: query + name: content_type + schema: + type: string + - in: query + name: content_type__n + schema: + type: string + - in: query + name: fallback_value + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: fallback_value__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: template__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: weight + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedComputedFieldList' + description: '' + post: + operationId: extras_computed_fields_create + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComputedField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ComputedField' + multipart/form-data: + schema: + $ref: '#/components/schemas/ComputedField' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + put: + operationId: extras_computed_fields_bulk_update + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComputedField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ComputedField' + multipart/form-data: + schema: + $ref: '#/components/schemas/ComputedField' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + patch: + operationId: extras_computed_fields_bulk_partial_update + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedComputedField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedComputedField' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedComputedField' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + delete: + operationId: extras_computed_fields_bulk_destroy + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/computed-fields/{id}/: + get: + operationId: extras_computed_fields_retrieve + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this computed field. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + put: + operationId: extras_computed_fields_update + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this computed field. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComputedField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ComputedField' + multipart/form-data: + schema: + $ref: '#/components/schemas/ComputedField' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + patch: + operationId: extras_computed_fields_partial_update + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this computed field. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedComputedField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedComputedField' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedComputedField' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + delete: + operationId: extras_computed_fields_destroy + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this computed field. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/config-context-schemas/: + get: + operationId: extras_config_context_schemas_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: owner_content_type + schema: + type: string + - in: query + name: owner_content_type__n + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigContextSchemaList' + description: '' + post: + operationId: extras_config_context_schemas_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + put: + operationId: extras_config_context_schemas_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + patch: + operationId: extras_config_context_schemas_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigContextSchema' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedConfigContextSchema' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedConfigContextSchema' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + delete: + operationId: extras_config_context_schemas_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/config-context-schemas/{id}/: + get: + operationId: extras_config_context_schemas_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config context schema. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + put: + operationId: extras_config_context_schemas_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config context schema. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + patch: + operationId: extras_config_context_schemas_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config context schema. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigContextSchema' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedConfigContextSchema' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedConfigContextSchema' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + delete: + operationId: extras_config_context_schemas_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config context schema. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/config-contexts/: + get: + operationId: extras_config_contexts_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: cluster_group + schema: + type: array + items: + type: string + description: Cluster group (slug) + explode: true + style: form + - in: query + name: cluster_group__n + schema: + type: array + items: + type: string + description: Cluster group (slug) + explode: true + style: form + - in: query + name: cluster_group_id + schema: + type: array + items: + type: string + format: uuid + description: Cluster group + explode: true + style: form + - in: query + name: cluster_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Cluster group + explode: true + style: form + - in: query + name: cluster_id + schema: + type: array + items: + type: string + format: uuid + description: Cluster + explode: true + style: form + - in: query + name: cluster_id__n + schema: + type: array + items: + type: string + format: uuid + description: Cluster + explode: true + style: form + - in: query + name: device_type + schema: + type: array + items: + type: string + description: Device Type (slug) + explode: true + style: form + - in: query + name: device_type__n + schema: + type: array + items: + type: string + description: Device Type (slug) + explode: true + style: form + - in: query + name: device_type_id + schema: + type: array + items: + type: string + format: uuid + description: Device Type + explode: true + style: form + - in: query + name: device_type_id__n + schema: + type: array + items: + type: string + format: uuid + description: Device Type + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: is_active + schema: + type: boolean + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: owner_content_type + schema: + type: string + - in: query + name: owner_content_type__n + schema: + type: string + - in: query + name: owner_object_id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform__n + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: string + format: uuid + description: Platform + explode: true + style: form + - in: query + name: platform_id__n + schema: + type: array + items: + type: string + format: uuid + description: Platform + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: string + format: uuid + description: Role + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: string + format: uuid + description: Role + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + description: Tag (slug) + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + description: Tag (slug) + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + description: Tenant group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + description: Tenant group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant group + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant group + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigContextList' + description: '' + post: + operationId: extras_config_contexts_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConfigContext' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + put: + operationId: extras_config_contexts_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConfigContext' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + patch: + operationId: extras_config_contexts_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConfigContext' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + delete: + operationId: extras_config_contexts_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/config-contexts/{id}/: + get: + operationId: extras_config_contexts_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config context. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + put: + operationId: extras_config_contexts_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config context. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableConfigContext' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + patch: + operationId: extras_config_contexts_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config context. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableConfigContext' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + delete: + operationId: extras_config_contexts_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config context. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/content-types/: + get: + operationId: extras_content_types_list + description: Read-only list of ContentTypes. Limit results to ContentTypes pertinent + to Nautobot objects. + parameters: + - in: query + name: app_label + schema: + type: string + - in: query + name: id + schema: + type: integer + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: model + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedContentTypeList' + description: '' + /extras/content-types/{id}/: + get: + operationId: extras_content_types_retrieve + description: Read-only list of ContentTypes. Limit results to ContentTypes pertinent + to Nautobot objects. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this content type. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContentType' + description: '' + /extras/custom-field-choices/: + get: + operationId: extras_custom_field_choices_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: field + schema: + type: array + items: + type: string + title: Slug + description: Field (name) + explode: true + style: form + - in: query + name: field__n + schema: + type: array + items: + type: string + title: Slug + description: Field (name) + explode: true + style: form + - in: query + name: field_id + schema: + type: array + items: + type: string + format: uuid + description: Field + explode: true + style: form + - in: query + name: field_id__n + schema: + type: array + items: + type: string + format: uuid + description: Field + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: value + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: value__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: weight + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCustomFieldChoiceList' + description: '' + post: + operationId: extras_custom_field_choices_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoice' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoice' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoice' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + put: + operationId: extras_custom_field_choices_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoice' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoice' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoice' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + patch: + operationId: extras_custom_field_choices_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCustomFieldChoice' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCustomFieldChoice' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCustomFieldChoice' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + delete: + operationId: extras_custom_field_choices_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/custom-field-choices/{id}/: + get: + operationId: extras_custom_field_choices_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom field choice. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + put: + operationId: extras_custom_field_choices_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom field choice. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoice' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoice' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoice' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + patch: + operationId: extras_custom_field_choices_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom field choice. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCustomFieldChoice' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCustomFieldChoice' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCustomFieldChoice' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + delete: + operationId: extras_custom_field_choices_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom field choice. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/custom-fields/: + get: + operationId: extras_custom_fields_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: content_types + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: content_types__n + schema: + type: array + items: + type: integer + explode: true + style: form + - 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 + description: Loose matches any instance of a given string; Exact matches the + entire field. + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: required + schema: + type: boolean + - in: query + name: weight + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCustomFieldList' + description: '' + post: + operationId: extras_custom_fields_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCustomField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCustomField' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCustomField' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomField' + description: '' + put: + operationId: extras_custom_fields_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCustomField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCustomField' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCustomField' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomField' + description: '' + patch: + operationId: extras_custom_fields_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCustomField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCustomField' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCustomField' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomField' + description: '' + delete: + operationId: extras_custom_fields_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/custom-fields/{id}/: + get: + operationId: extras_custom_fields_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom field. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomField' + description: '' + put: + operationId: extras_custom_fields_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom field. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCustomField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCustomField' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCustomField' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomField' + description: '' + patch: + operationId: extras_custom_fields_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom field. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCustomField' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCustomField' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCustomField' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomField' + description: '' + delete: + operationId: extras_custom_fields_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom field. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/custom-links/: + get: + operationId: extras_custom_links_list + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - 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 + description: The class of the first link in a group will be used for the dropdown + button + - in: query + name: content_type + schema: + type: string + - in: query + name: content_type__n + schema: + type: string + - in: query + name: group_name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: new_window + schema: + type: boolean + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: target_url + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: target_url__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: text__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: weight + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCustomLinkList' + description: '' + post: + operationId: extras_custom_links_create + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomLink' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CustomLink' + multipart/form-data: + schema: + $ref: '#/components/schemas/CustomLink' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + put: + operationId: extras_custom_links_bulk_update + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomLink' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CustomLink' + multipart/form-data: + schema: + $ref: '#/components/schemas/CustomLink' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + patch: + operationId: extras_custom_links_bulk_partial_update + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCustomLink' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCustomLink' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCustomLink' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + delete: + operationId: extras_custom_links_bulk_destroy + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/custom-links/{id}/: + get: + operationId: extras_custom_links_retrieve + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom link. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + put: + operationId: extras_custom_links_update + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom link. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomLink' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CustomLink' + multipart/form-data: + schema: + $ref: '#/components/schemas/CustomLink' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + patch: + operationId: extras_custom_links_partial_update + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom link. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCustomLink' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCustomLink' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCustomLink' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + delete: + operationId: extras_custom_links_destroy + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this custom link. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/dynamic-groups/: + get: + operationId: extras_dynamic_groups_list + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: query + name: content_type + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: content_type__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDynamicGroupList' + description: '' + post: + operationId: extras_dynamic_groups_create + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DynamicGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/DynamicGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/DynamicGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + put: + operationId: extras_dynamic_groups_bulk_update + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DynamicGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/DynamicGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/DynamicGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + patch: + operationId: extras_dynamic_groups_bulk_partial_update + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedDynamicGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedDynamicGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedDynamicGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + delete: + operationId: extras_dynamic_groups_bulk_destroy + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/dynamic-groups/{id}/: + get: + operationId: extras_dynamic_groups_retrieve + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this dynamic group. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + put: + operationId: extras_dynamic_groups_update + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this dynamic group. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DynamicGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/DynamicGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/DynamicGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + patch: + operationId: extras_dynamic_groups_partial_update + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this dynamic group. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedDynamicGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedDynamicGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedDynamicGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + delete: + operationId: extras_dynamic_groups_destroy + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this dynamic group. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/dynamic-groups/{id}/members/: + get: + operationId: extras_dynamic_groups_members_retrieve + description: List member objects of the same type as the `content_type` for + this dynamic group. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this dynamic group. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + /extras/export-templates/: + get: + operationId: extras_export_templates_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: content_type + schema: + type: integer + - in: query + name: content_type__n + schema: + type: integer + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: owner_content_type + schema: + type: string + - in: query + name: owner_content_type__n + schema: + type: string + - in: query + name: owner_object_id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: owner_object_id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedExportTemplateList' + description: '' + post: + operationId: extras_export_templates_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExportTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ExportTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/ExportTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + put: + operationId: extras_export_templates_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExportTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ExportTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/ExportTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + patch: + operationId: extras_export_templates_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedExportTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedExportTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedExportTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + delete: + operationId: extras_export_templates_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/export-templates/{id}/: + get: + operationId: extras_export_templates_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this export template. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + put: + operationId: extras_export_templates_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this export template. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExportTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ExportTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/ExportTemplate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + patch: + operationId: extras_export_templates_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this export template. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedExportTemplate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedExportTemplate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedExportTemplate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + delete: + operationId: extras_export_templates_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this export template. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/git-repositories/: + get: + operationId: extras_git_repositories_list + description: Manage the use of Git repositories as external data sources. + parameters: + - in: query + name: branch + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: branch__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: remote_url + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: remote_url__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: secrets_group + schema: + type: array + items: + type: string + description: Secrets group (slug) + explode: true + style: form + - in: query + name: secrets_group__n + schema: + type: array + items: + type: string + description: Secrets group (slug) + explode: true + style: form + - in: query + name: secrets_group_id + schema: + type: array + items: + type: string + format: uuid + description: Secrets group (ID) + explode: true + style: form + - in: query + name: secrets_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Secrets group (ID) + explode: true + style: form + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGitRepositoryList' + description: '' + post: + operationId: extras_git_repositories_create + description: Manage the use of Git repositories as external data sources. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableGitRepository' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableGitRepository' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableGitRepository' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + put: + operationId: extras_git_repositories_bulk_update + description: Manage the use of Git repositories as external data sources. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableGitRepository' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableGitRepository' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableGitRepository' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + patch: + operationId: extras_git_repositories_bulk_partial_update + description: Manage the use of Git repositories as external data sources. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableGitRepository' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableGitRepository' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableGitRepository' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + delete: + operationId: extras_git_repositories_bulk_destroy + description: Manage the use of Git repositories as external data sources. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/git-repositories/{id}/: + get: + operationId: extras_git_repositories_retrieve + description: Manage the use of Git repositories as external data sources. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Git repository. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + put: + operationId: extras_git_repositories_update + description: Manage the use of Git repositories as external data sources. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Git repository. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableGitRepository' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableGitRepository' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableGitRepository' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + patch: + operationId: extras_git_repositories_partial_update + description: Manage the use of Git repositories as external data sources. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Git repository. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableGitRepository' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableGitRepository' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableGitRepository' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + delete: + operationId: extras_git_repositories_destroy + description: Manage the use of Git repositories as external data sources. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Git repository. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/git-repositories/{id}/sync/: + post: + operationId: extras_git_repositories_sync_create + description: Enqueue pull git repository and refresh data. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Git repository. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GitRepository' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GitRepository' + multipart/form-data: + schema: + $ref: '#/components/schemas/GitRepository' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + /extras/graphql-queries/: + get: + operationId: extras_graphql_queries_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGraphQLQueryList' + description: '' + post: + operationId: extras_graphql_queries_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLQuery' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GraphQLQuery' + multipart/form-data: + schema: + $ref: '#/components/schemas/GraphQLQuery' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + put: + operationId: extras_graphql_queries_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLQuery' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GraphQLQuery' + multipart/form-data: + schema: + $ref: '#/components/schemas/GraphQLQuery' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + patch: + operationId: extras_graphql_queries_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGraphQLQuery' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGraphQLQuery' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGraphQLQuery' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + delete: + operationId: extras_graphql_queries_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/graphql-queries/{id}/: + get: + operationId: extras_graphql_queries_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this GraphQL query. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + put: + operationId: extras_graphql_queries_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this GraphQL query. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLQuery' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GraphQLQuery' + multipart/form-data: + schema: + $ref: '#/components/schemas/GraphQLQuery' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + patch: + operationId: extras_graphql_queries_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this GraphQL query. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGraphQLQuery' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGraphQLQuery' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGraphQLQuery' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + delete: + operationId: extras_graphql_queries_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this GraphQL query. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/graphql-queries/{id}/run/: + post: + operationId: extras_graphql_queries_run_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this GraphQL query. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLQueryInput' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GraphQLQueryInput' + multipart/form-data: + schema: + $ref: '#/components/schemas/GraphQLQueryInput' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQueryOutput' + description: '' + /extras/image-attachments/: + get: + operationId: extras_image_attachments_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + 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 + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: object_id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedImageAttachmentList' + description: '' + post: + operationId: extras_image_attachments_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImageAttachment' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ImageAttachment' + multipart/form-data: + schema: + $ref: '#/components/schemas/ImageAttachment' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + put: + operationId: extras_image_attachments_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImageAttachment' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ImageAttachment' + multipart/form-data: + schema: + $ref: '#/components/schemas/ImageAttachment' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + patch: + operationId: extras_image_attachments_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedImageAttachment' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedImageAttachment' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedImageAttachment' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + delete: + operationId: extras_image_attachments_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/image-attachments/{id}/: + get: + operationId: extras_image_attachments_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this image attachment. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + put: + operationId: extras_image_attachments_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this image attachment. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImageAttachment' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ImageAttachment' + multipart/form-data: + schema: + $ref: '#/components/schemas/ImageAttachment' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + patch: + operationId: extras_image_attachments_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this image attachment. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedImageAttachment' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedImageAttachment' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedImageAttachment' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + delete: + operationId: extras_image_attachments_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this image attachment. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/job-logs/: + get: + operationId: extras_job_logs_list + description: Retrieve a list of job log entries. + parameters: + - in: query + name: absolute_url + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: absolute_url__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__gt + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__gte + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__lt + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__lte + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__n + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: grouping + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: job_result + schema: + type: string + format: uuid + - in: query + name: job_result__n + schema: + type: string + format: uuid + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: log_level + schema: + type: string + - in: query + name: log_level__n + schema: + type: string + - in: query + name: log_object + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: log_object__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: message__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedJobLogEntryList' + description: '' + /extras/job-logs/{id}/: + get: + operationId: extras_job_logs_retrieve + description: Retrieve a list of job log entries. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job log entry. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobLogEntry' + description: '' + /extras/job-results/: + get: + operationId: extras_job_results_list + description: Retrieve a list of job results + parameters: + - in: query + name: completed + schema: + type: string + format: date-time + - in: query + name: created + schema: + type: string + format: date-time + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: job_model + schema: + type: array + items: + type: string + description: Job (slug) + explode: true + style: form + - in: query + name: job_model__n + schema: + type: array + items: + type: string + description: Job (slug) + explode: true + style: form + - in: query + name: job_model_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Job (ID) + explode: true + style: form + - in: query + name: job_model_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Job (ID) + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: obj_type + schema: + type: string + - in: query + name: obj_type__n + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: status + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user + schema: + type: string + format: uuid + - in: query + name: user__n + schema: + type: string + format: uuid + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedJobResultList' + description: '' + post: + operationId: extras_job_results_create + description: Retrieve a list of job results + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobResult' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/JobResult' + multipart/form-data: + schema: + $ref: '#/components/schemas/JobResult' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + put: + operationId: extras_job_results_bulk_update + description: Retrieve a list of job results + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobResult' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/JobResult' + multipart/form-data: + schema: + $ref: '#/components/schemas/JobResult' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + patch: + operationId: extras_job_results_bulk_partial_update + description: Retrieve a list of job results + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedJobResult' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedJobResult' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedJobResult' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + delete: + operationId: extras_job_results_bulk_destroy + description: Retrieve a list of job results + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/job-results/{id}/: + get: + operationId: extras_job_results_retrieve + description: Retrieve a list of job results + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job result. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + put: + operationId: extras_job_results_update + description: Retrieve a list of job results + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job result. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobResult' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/JobResult' + multipart/form-data: + schema: + $ref: '#/components/schemas/JobResult' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + patch: + operationId: extras_job_results_partial_update + description: Retrieve a list of job results + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job result. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedJobResult' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedJobResult' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedJobResult' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + delete: + operationId: extras_job_results_destroy + description: Retrieve a list of job results + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job result. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/job-results/{id}/logs/: + get: + operationId: extras_job_results_logs_retrieve + description: Retrieve a list of job results + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job result. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + /extras/jobs/: + get: + operationId: extras_jobs_list + description: List all known Jobs. + 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 + - in: query + name: grouping + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: grouping_override + schema: + type: boolean + - in: query + name: hidden + schema: + type: boolean + - in: query + name: hidden_override + schema: + type: boolean + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: installed + schema: + type: boolean + - in: query + name: job_class_name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: job_class_name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: module_name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: module_name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name_override + schema: + type: boolean + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: read_only + schema: + type: boolean + - in: query + name: read_only_override + schema: + type: boolean + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: soft_time_limit + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: soft_time_limit__gt + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: soft_time_limit__gte + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: soft_time_limit__lt + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: soft_time_limit__lte + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: soft_time_limit__n + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: soft_time_limit_override + schema: + type: boolean + - 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 + description: Source of the Python code for this job - local, Git repository, + or plugins + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: time_limit + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: time_limit__gt + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: time_limit__gte + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: time_limit__lt + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: time_limit__lte + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: time_limit__n + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: time_limit_override + schema: + type: boolean + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedJobList' + description: '' + put: + operationId: extras_jobs_bulk_update + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Job' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Job' + multipart/form-data: + schema: + $ref: '#/components/schemas/Job' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Job' + description: '' + patch: + operationId: extras_jobs_bulk_partial_update + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedJob' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedJob' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedJob' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Job' + description: '' + delete: + operationId: extras_jobs_bulk_destroy + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/jobs/{class_path}/: + get: + operationId: extras_jobs_read_deprecated + 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. + parameters: + - in: path + name: class_path + schema: + type: string + pattern: ^[^/]+/[^/]+/[^/]+$ + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + deprecated: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobClassDetail' + description: '' + /extras/jobs/{class_path}/run/: + post: + operationId: extras_jobs_run_deprecated + 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. + parameters: + - in: path + name: class_path + schema: + type: string + pattern: ^[^/]+/[^/]+/[^/]+$ + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobInput' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/JobInput' + multipart/form-data: + schema: + $ref: '#/components/schemas/JobInput' + security: + - cookieAuth: [] + - tokenAuth: [] + deprecated: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobClassDetail' + description: '' + /extras/jobs/{id}/: + get: + operationId: extras_jobs_retrieve + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Job' + description: '' + put: + operationId: extras_jobs_update + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Job' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Job' + multipart/form-data: + schema: + $ref: '#/components/schemas/Job' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Job' + description: '' + patch: + operationId: extras_jobs_partial_update + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedJob' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedJob' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedJob' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Job' + description: '' + delete: + operationId: extras_jobs_destroy + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/jobs/{id}/run/: + post: + operationId: extras_jobs_run_create + description: Run the specified Job. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobInput' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/JobInput' + multipart/form-data: + schema: + $ref: '#/components/schemas/JobInput' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobRunResponse' + description: '' + /extras/jobs/{id}/variables/: + get: + operationId: extras_jobs_variables_list + description: Get details of the input variables that may/must be specified to + run a particular Job. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this job. + required: true + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedJobVariableList' + description: '' + /extras/object-changes/: + get: + operationId: extras_object_changes_list + description: Retrieve a list of recent changes. + parameters: + - in: query + name: action + schema: + type: string + - in: query + name: action__n + schema: + type: string + - in: query + name: changed_object_id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: changed_object_id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + 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 + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: object_repr + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_repr__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: request_id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: request_id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: time + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: time__gt + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: time__gte + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: time__lt + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: time__lte + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: time__n + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: user + schema: + type: array + items: + type: string + description: User name + explode: true + style: form + - in: query + name: user__n + schema: + type: array + items: + type: string + description: User name + explode: true + style: form + - in: query + name: user_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: User (ID) + explode: true + style: form + - in: query + name: user_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: User (ID) + explode: true + style: form + - in: query + name: user_name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedObjectChangeList' + description: '' + /extras/object-changes/{id}/: + get: + operationId: extras_object_changes_retrieve + description: Retrieve a list of recent changes. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this object change. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectChange' + description: '' + /extras/relationship-associations/: + get: + operationId: extras_relationship_associations_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: destination_id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: destination_type + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: destination_type__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: relationship + schema: + type: array + items: + type: string + description: Relationship (slug) + explode: true + style: form + - in: query + name: relationship__n + schema: + type: array + items: + type: string + description: Relationship (slug) + explode: true + style: form + - in: query + name: source_id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: source_type + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: source_type__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRelationshipAssociationList' + description: '' + post: + operationId: extras_relationship_associations_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociation' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + put: + operationId: extras_relationship_associations_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociation' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + patch: + operationId: extras_relationship_associations_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRelationshipAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRelationshipAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRelationshipAssociation' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + delete: + operationId: extras_relationship_associations_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/relationship-associations/{id}/: + get: + operationId: extras_relationship_associations_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this relationship association. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + put: + operationId: extras_relationship_associations_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this relationship association. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociation' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + patch: + operationId: extras_relationship_associations_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this relationship association. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRelationshipAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRelationshipAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRelationshipAssociation' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + delete: + operationId: extras_relationship_associations_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this relationship association. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/relationships/: + get: + operationId: extras_relationships_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: destination_type + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: destination_type__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: source_type + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: source_type__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: type + schema: + type: string + description: Cardinality of this relationship + - in: query + name: type__n + schema: + type: string + description: Cardinality of this relationship + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRelationshipList' + description: '' + post: + operationId: extras_relationships_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Relationship' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Relationship' + multipart/form-data: + schema: + $ref: '#/components/schemas/Relationship' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + put: + operationId: extras_relationships_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Relationship' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Relationship' + multipart/form-data: + schema: + $ref: '#/components/schemas/Relationship' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + patch: + operationId: extras_relationships_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRelationship' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRelationship' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRelationship' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + delete: + operationId: extras_relationships_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/relationships/{id}/: + get: + operationId: extras_relationships_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this relationship. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + put: + operationId: extras_relationships_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this relationship. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Relationship' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Relationship' + multipart/form-data: + schema: + $ref: '#/components/schemas/Relationship' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + patch: + operationId: extras_relationships_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this relationship. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRelationship' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRelationship' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRelationship' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + delete: + operationId: extras_relationships_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this relationship. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/scheduled-jobs/: + get: + operationId: extras_scheduled_jobs_list + description: Retrieve a list of scheduled jobs + parameters: + - in: query + name: first_run + schema: + type: string + format: date-time + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: job_model + schema: + type: array + items: + type: string + description: Job (slug) + explode: true + style: form + - in: query + name: job_model__n + schema: + type: array + items: + type: string + description: Job (slug) + explode: true + style: form + - in: query + name: job_model_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Job (ID) + explode: true + style: form + - in: query + name: job_model_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Job (ID) + explode: true + style: form + - in: query + name: last_run + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: total_run_count + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: total_run_count__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: total_run_count__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: total_run_count__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: total_run_count__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: total_run_count__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedScheduledJobList' + description: '' + /extras/scheduled-jobs/{id}/: + get: + operationId: extras_scheduled_jobs_retrieve + description: Retrieve a list of scheduled jobs + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this scheduled job. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ScheduledJob' + description: '' + /extras/scheduled-jobs/{id}/approve/: + post: + operationId: extras_scheduled_jobs_approve_create + description: Retrieve a list of scheduled jobs + parameters: + - in: query + name: force + schema: + type: boolean + description: force execution even if start time has passed + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this scheduled job. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ScheduledJob' + description: '' + /extras/scheduled-jobs/{id}/deny/: + post: + operationId: extras_scheduled_jobs_deny_create + description: Retrieve a list of scheduled jobs + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this scheduled job. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ScheduledJob' + description: '' + /extras/scheduled-jobs/{id}/dry-run/: + post: + operationId: extras_scheduled_jobs_dry_run_create + description: Retrieve a list of scheduled jobs + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this scheduled job. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + /extras/secrets/: + get: + operationId: extras_secrets_list + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: provider + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: provider__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSecretList' + description: '' + post: + operationId: extras_secrets_create + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Secret' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Secret' + multipart/form-data: + schema: + $ref: '#/components/schemas/Secret' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + put: + operationId: extras_secrets_bulk_update + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Secret' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Secret' + multipart/form-data: + schema: + $ref: '#/components/schemas/Secret' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + patch: + operationId: extras_secrets_bulk_partial_update + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedSecret' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedSecret' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedSecret' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + delete: + operationId: extras_secrets_bulk_destroy + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/secrets-groups/: + get: + operationId: extras_secrets_groups_list + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSecretsGroupList' + description: '' + post: + operationId: extras_secrets_groups_create + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SecretsGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/SecretsGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/SecretsGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + put: + operationId: extras_secrets_groups_bulk_update + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SecretsGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/SecretsGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/SecretsGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + patch: + operationId: extras_secrets_groups_bulk_partial_update + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedSecretsGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedSecretsGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedSecretsGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + delete: + operationId: extras_secrets_groups_bulk_destroy + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/secrets-groups-associations/: + get: + operationId: extras_secrets_groups_associations_list + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + parameters: + - in: query + name: access_type + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: access_type__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group + schema: + type: array + items: + type: string + description: Group (slug) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + description: Group (slug) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: string + format: uuid + description: Group (ID) + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Group (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: secret + schema: + type: array + items: + type: string + description: Secret (slug) + explode: true + style: form + - in: query + name: secret__n + schema: + type: array + items: + type: string + description: Secret (slug) + explode: true + style: form + - in: query + name: secret_id + schema: + type: array + items: + type: string + format: uuid + description: Secret (ID) + explode: true + style: form + - in: query + name: secret_id__n + schema: + type: array + items: + type: string + format: uuid + description: Secret (ID) + explode: true + style: form + - in: query + name: secret_type + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: secret_type__n + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSecretsGroupAssociationList' + description: '' + post: + operationId: extras_secrets_groups_associations_create + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociation' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + put: + operationId: extras_secrets_groups_associations_bulk_update + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociation' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + patch: + operationId: extras_secrets_groups_associations_bulk_partial_update + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSecretsGroupAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableSecretsGroupAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableSecretsGroupAssociation' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + delete: + operationId: extras_secrets_groups_associations_bulk_destroy + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/secrets-groups-associations/{id}/: + get: + operationId: extras_secrets_groups_associations_retrieve + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secrets group association. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + put: + operationId: extras_secrets_groups_associations_update + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secrets group association. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociation' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + patch: + operationId: extras_secrets_groups_associations_partial_update + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secrets group association. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSecretsGroupAssociation' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableSecretsGroupAssociation' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableSecretsGroupAssociation' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + delete: + operationId: extras_secrets_groups_associations_destroy + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secrets group association. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/secrets-groups/{id}/: + get: + operationId: extras_secrets_groups_retrieve + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secrets group. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + put: + operationId: extras_secrets_groups_update + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secrets group. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SecretsGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/SecretsGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/SecretsGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + patch: + operationId: extras_secrets_groups_partial_update + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secrets group. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedSecretsGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedSecretsGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedSecretsGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + delete: + operationId: extras_secrets_groups_destroy + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secrets group. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/secrets/{id}/: + get: + operationId: extras_secrets_retrieve + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secret. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + put: + operationId: extras_secrets_update + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secret. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Secret' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Secret' + multipart/form-data: + schema: + $ref: '#/components/schemas/Secret' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + patch: + operationId: extras_secrets_partial_update + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secret. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedSecret' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedSecret' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedSecret' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + delete: + operationId: extras_secrets_destroy + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this secret. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/statuses/: + get: + operationId: extras_statuses_list + description: View and manage custom status choices for objects with a `status` + field. + parameters: + - in: query + name: color + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: content_types + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: content_types__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedStatusList' + description: '' + post: + operationId: extras_statuses_create + description: View and manage custom status choices for objects with a `status` + field. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Status' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Status' + multipart/form-data: + schema: + $ref: '#/components/schemas/Status' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + put: + operationId: extras_statuses_bulk_update + description: View and manage custom status choices for objects with a `status` + field. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Status' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Status' + multipart/form-data: + schema: + $ref: '#/components/schemas/Status' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + patch: + operationId: extras_statuses_bulk_partial_update + description: View and manage custom status choices for objects with a `status` + field. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedStatus' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedStatus' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedStatus' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + delete: + operationId: extras_statuses_bulk_destroy + description: View and manage custom status choices for objects with a `status` + field. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/statuses/{id}/: + get: + operationId: extras_statuses_retrieve + description: View and manage custom status choices for objects with a `status` + field. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this status. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + put: + operationId: extras_statuses_update + description: View and manage custom status choices for objects with a `status` + field. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this status. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Status' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Status' + multipart/form-data: + schema: + $ref: '#/components/schemas/Status' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + patch: + operationId: extras_statuses_partial_update + description: View and manage custom status choices for objects with a `status` + field. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this status. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedStatus' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedStatus' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedStatus' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + delete: + operationId: extras_statuses_destroy + description: View and manage custom status choices for objects with a `status` + field. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this status. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/tags/: + get: + operationId: extras_tags_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: color + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: content_types + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: content_types__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedTagSerializerVersion13List' + description: '' + post: + operationId: extras_tags_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + multipart/form-data: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + put: + operationId: extras_tags_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + multipart/form-data: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + patch: + operationId: extras_tags_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedTagSerializerVersion13' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedTagSerializerVersion13' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedTagSerializerVersion13' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + delete: + operationId: extras_tags_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/tags/{id}/: + get: + operationId: extras_tags_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tag. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + put: + operationId: extras_tags_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tag. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + multipart/form-data: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + patch: + operationId: extras_tags_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tag. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedTagSerializerVersion13' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedTagSerializerVersion13' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedTagSerializerVersion13' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + delete: + operationId: extras_tags_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tag. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/webhooks/: + get: + operationId: extras_webhooks_list + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: query + name: content_types + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: content_types__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: enabled + schema: + type: boolean + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: payload_url + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: payload_url__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type_create + schema: + type: boolean + - in: query + name: type_delete + schema: + type: boolean + - in: query + name: type_update + schema: + type: boolean + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedWebhookList' + description: '' + post: + operationId: extras_webhooks_create + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Webhook' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Webhook' + multipart/form-data: + schema: + $ref: '#/components/schemas/Webhook' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + put: + operationId: extras_webhooks_bulk_update + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Webhook' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Webhook' + multipart/form-data: + schema: + $ref: '#/components/schemas/Webhook' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + patch: + operationId: extras_webhooks_bulk_partial_update + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWebhook' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWebhook' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWebhook' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + delete: + operationId: extras_webhooks_bulk_destroy + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /extras/webhooks/{id}/: + get: + operationId: extras_webhooks_retrieve + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this webhook. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + put: + operationId: extras_webhooks_update + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this webhook. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Webhook' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Webhook' + multipart/form-data: + schema: + $ref: '#/components/schemas/Webhook' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + patch: + operationId: extras_webhooks_partial_update + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this webhook. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWebhook' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWebhook' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWebhook' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + delete: + operationId: extras_webhooks_destroy + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this webhook. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /graphql/: + post: + operationId: graphql_create + description: Query the database using a GraphQL query + tags: + - graphql + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLAPI' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GraphQLAPI' + multipart/form-data: + schema: + $ref: '#/components/schemas/GraphQLAPI' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + responses: + '200': + content: + application/json; version=1.3: + schema: + type: object + properties: + data: + type: object + description: '' + '400': + content: + application/json; version=1.3: + schema: + type: object + properties: + errors: + type: array + items: + type: object + description: '' + /ipam/aggregates/: + get: + operationId: ipam_aggregates_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: date_added + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: date_added__gt + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: date_added__gte + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: date_added__lt + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: date_added__lte + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: date_added__n + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: family + schema: + type: number + description: Family + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: prefix + schema: + type: string + description: Prefix + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rir + schema: + type: array + items: + type: string + description: RIR (slug) + explode: true + style: form + - in: query + name: rir__n + schema: + type: array + items: + type: string + description: RIR (slug) + explode: true + style: form + - in: query + name: rir_id + schema: + type: array + items: + type: string + format: uuid + description: RIR (ID) + explode: true + style: form + - in: query + name: rir_id__n + schema: + type: array + items: + type: string + format: uuid + description: RIR (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAggregateList' + description: '' + post: + operationId: ipam_aggregates_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAggregate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableAggregate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableAggregate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + put: + operationId: ipam_aggregates_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAggregate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableAggregate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableAggregate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + patch: + operationId: ipam_aggregates_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableAggregate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableAggregate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableAggregate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + delete: + operationId: ipam_aggregates_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/aggregates/{id}/: + get: + operationId: ipam_aggregates_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this aggregate. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + put: + operationId: ipam_aggregates_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this aggregate. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAggregate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableAggregate' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableAggregate' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + patch: + operationId: ipam_aggregates_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this aggregate. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableAggregate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableAggregate' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableAggregate' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + delete: + operationId: ipam_aggregates_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this aggregate. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/ip-addresses/: + get: + operationId: ipam_ip_addresses_list + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: query + name: address + schema: + type: array + items: + type: string + description: Address + explode: true + style: form + - in: query + name: assigned_to_interface + schema: + type: boolean + description: Is assigned to an interface + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: device + schema: + type: array + items: + type: string + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device (ID) + explode: true + style: form + - in: query + name: dns_name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: dns_name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: family + schema: + type: number + description: Family + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: interface + schema: + type: array + items: + type: string + description: Interface (name) + explode: true + style: form + - in: query + name: interface__n + schema: + type: array + items: + type: string + description: Interface (name) + explode: true + style: form + - in: query + name: interface_id + schema: + type: array + items: + type: string + format: uuid + description: Interface (ID) + explode: true + style: form + - in: query + name: interface_id__n + schema: + type: array + items: + type: string + format: uuid + description: Interface (ID) + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: mask_length + schema: + type: number + description: Mask length + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: parent + schema: + type: string + description: Parent prefix + - in: query + name: present_in_vrf + schema: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + - in: query + name: present_in_vrf_id + schema: + type: string + format: uuid + description: VRF + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: role + schema: + type: array + items: + type: string + description: The functional role of this IP + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: The functional role of this IP + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: virtual_machine + schema: + type: array + items: + type: string + description: Virtual machine (name) + explode: true + style: form + - in: query + name: virtual_machine_id + schema: + type: array + items: + type: string + format: uuid + description: Virtual machine (ID) + explode: true + style: form + - in: query + name: vminterface + schema: + type: array + items: + type: string + description: VM interface (name) + explode: true + style: form + - in: query + name: vminterface__n + schema: + type: array + items: + type: string + description: VM interface (name) + explode: true + style: form + - in: query + name: vminterface_id + schema: + type: array + items: + type: string + format: uuid + description: VM interface (ID) + explode: true + style: form + - in: query + name: vminterface_id__n + schema: + type: array + items: + type: string + format: uuid + description: VM interface (ID) + explode: true + style: form + - in: query + name: vrf + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + explode: true + style: form + - in: query + name: vrf__n + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + explode: true + style: form + - in: query + name: vrf_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: VRF + explode: true + style: form + - in: query + name: vrf_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: VRF + explode: true + style: form + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedIPAddressList' + description: '' + post: + operationId: ipam_ip_addresses_create + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPAddress' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableIPAddress' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIPAddress' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + put: + operationId: ipam_ip_addresses_bulk_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPAddress' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableIPAddress' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIPAddress' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + patch: + operationId: ipam_ip_addresses_bulk_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableIPAddress' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableIPAddress' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableIPAddress' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + delete: + operationId: ipam_ip_addresses_bulk_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/ip-addresses/{id}/: + get: + operationId: ipam_ip_addresses_retrieve + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this IP address. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + put: + operationId: ipam_ip_addresses_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this IP address. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPAddress' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableIPAddress' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIPAddress' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + patch: + operationId: ipam_ip_addresses_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this IP address. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableIPAddress' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableIPAddress' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableIPAddress' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + delete: + operationId: ipam_ip_addresses_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this IP address. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/prefixes/: + get: + operationId: ipam_prefixes_list + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: query + name: contains + schema: + type: string + description: Prefixes which contain this prefix or IP + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: family + schema: + type: number + description: Family + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: is_pool + schema: + type: boolean + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: mask_length + schema: + type: number + description: mask_length + - in: query + name: mask_length__gte + schema: + type: number + description: mask_length__gte + - in: query + name: mask_length__lte + schema: + type: number + description: mask_length__lte + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: prefix + schema: + type: string + description: Prefix + - in: query + name: present_in_vrf + schema: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + - in: query + name: present_in_vrf_id + schema: + type: string + format: uuid + description: VRF + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: vlan_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: VLAN (ID) + explode: true + style: form + - in: query + name: vlan_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: VLAN (ID) + explode: true + style: form + - in: query + name: vlan_vid + schema: + type: integer + description: VLAN number (1-4095) + - in: query + name: vrf + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + explode: true + style: form + - in: query + name: vrf__n + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + explode: true + style: form + - in: query + name: vrf_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: VRF + explode: true + style: form + - in: query + name: vrf_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: VRF + explode: true + style: form + - in: query + name: within + schema: + type: string + description: Within prefix + - in: query + name: within_include + schema: + type: string + description: Within and including prefix + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPrefixList' + description: '' + post: + operationId: ipam_prefixes_create + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePrefix' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePrefix' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePrefix' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + put: + operationId: ipam_prefixes_bulk_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePrefix' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePrefix' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePrefix' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + patch: + operationId: ipam_prefixes_bulk_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePrefix' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePrefix' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePrefix' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + delete: + operationId: ipam_prefixes_bulk_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/prefixes/{id}/: + get: + operationId: ipam_prefixes_retrieve + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this prefix. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + put: + operationId: ipam_prefixes_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this prefix. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePrefix' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritablePrefix' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritablePrefix' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + patch: + operationId: ipam_prefixes_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this prefix. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePrefix' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritablePrefix' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritablePrefix' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + delete: + operationId: ipam_prefixes_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this prefix. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/prefixes/{id}/available-ips/: + get: + operationId: ipam_prefixes_available_ips_list + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this IP address. + required: true + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAvailableIPList' + description: '' + post: + operationId: ipam_prefixes_available_ips_create + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this IP address. + required: true + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + tags: + - ipam + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/AvailableIP' + application/x-www-form-urlencoded: + schema: + type: array + items: + $ref: '#/components/schemas/AvailableIP' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/AvailableIP' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAvailableIPList' + description: '' + /ipam/prefixes/{id}/available-prefixes/: + get: + operationId: ipam_prefixes_available_prefixes_list + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this prefix. + required: true + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAvailablePrefixList' + description: '' + post: + operationId: ipam_prefixes_available_prefixes_create + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this prefix. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PrefixLength' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PrefixLength' + multipart/form-data: + schema: + $ref: '#/components/schemas/PrefixLength' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + /ipam/rirs/: + get: + operationId: ipam_rirs_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: is_private + schema: + type: boolean + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRIRList' + description: '' + post: + operationId: ipam_rirs_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RIR' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RIR' + multipart/form-data: + schema: + $ref: '#/components/schemas/RIR' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + put: + operationId: ipam_rirs_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RIR' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RIR' + multipart/form-data: + schema: + $ref: '#/components/schemas/RIR' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + patch: + operationId: ipam_rirs_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRIR' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRIR' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRIR' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + delete: + operationId: ipam_rirs_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/rirs/{id}/: + get: + operationId: ipam_rirs_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this RIR. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + put: + operationId: ipam_rirs_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this RIR. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RIR' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RIR' + multipart/form-data: + schema: + $ref: '#/components/schemas/RIR' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + patch: + operationId: ipam_rirs_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this RIR. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRIR' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRIR' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRIR' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + delete: + operationId: ipam_rirs_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this RIR. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/roles/: + get: + operationId: ipam_roles_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRoleList' + description: '' + post: + operationId: ipam_roles_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Role' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Role' + multipart/form-data: + schema: + $ref: '#/components/schemas/Role' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + put: + operationId: ipam_roles_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Role' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Role' + multipart/form-data: + schema: + $ref: '#/components/schemas/Role' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + patch: + operationId: ipam_roles_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRole' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + delete: + operationId: ipam_roles_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/roles/{id}/: + get: + operationId: ipam_roles_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this role. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + put: + operationId: ipam_roles_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this role. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Role' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Role' + multipart/form-data: + schema: + $ref: '#/components/schemas/Role' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + patch: + operationId: ipam_roles_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this role. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRole' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRole' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRole' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + delete: + operationId: ipam_roles_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this role. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/route-targets/: + get: + operationId: ipam_route_targets_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: exporting_vrf + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: Export VRF (RD) + explode: true + style: form + - in: query + name: exporting_vrf__n + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: Export VRF (RD) + explode: true + style: form + - in: query + name: exporting_vrf_id + schema: + type: array + items: + type: string + format: uuid + description: Exporting VRF + explode: true + style: form + - in: query + name: exporting_vrf_id__n + schema: + type: array + items: + type: string + format: uuid + description: Exporting VRF + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: importing_vrf + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: Import VRF (RD) + explode: true + style: form + - in: query + name: importing_vrf__n + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: Import VRF (RD) + explode: true + style: form + - in: query + name: importing_vrf_id + schema: + type: array + items: + type: string + format: uuid + description: Importing VRF + explode: true + style: form + - in: query + name: importing_vrf_id__n + schema: + type: array + items: + type: string + format: uuid + description: Importing VRF + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRouteTargetList' + description: '' + post: + operationId: ipam_route_targets_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRouteTarget' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRouteTarget' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRouteTarget' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + put: + operationId: ipam_route_targets_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRouteTarget' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRouteTarget' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRouteTarget' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + patch: + operationId: ipam_route_targets_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRouteTarget' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRouteTarget' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRouteTarget' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + delete: + operationId: ipam_route_targets_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/route-targets/{id}/: + get: + operationId: ipam_route_targets_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this route target. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + put: + operationId: ipam_route_targets_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this route target. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRouteTarget' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableRouteTarget' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRouteTarget' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + patch: + operationId: ipam_route_targets_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this route target. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRouteTarget' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableRouteTarget' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRouteTarget' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + delete: + operationId: ipam_route_targets_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this route target. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/services/: + get: + operationId: ipam_services_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Device (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + 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 + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: virtual_machine + schema: + type: array + items: + type: string + description: Virtual machine (name) + explode: true + style: form + - in: query + name: virtual_machine__n + schema: + type: array + items: + type: string + description: Virtual machine (name) + explode: true + style: form + - in: query + name: virtual_machine_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Virtual machine (ID) + explode: true + style: form + - in: query + name: virtual_machine_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Virtual machine (ID) + explode: true + style: form + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedServiceList' + description: '' + post: + operationId: ipam_services_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableService' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableService' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableService' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + put: + operationId: ipam_services_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableService' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableService' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableService' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + patch: + operationId: ipam_services_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableService' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableService' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableService' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + delete: + operationId: ipam_services_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/services/{id}/: + get: + operationId: ipam_services_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this service. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + put: + operationId: ipam_services_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this service. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableService' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableService' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableService' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + patch: + operationId: ipam_services_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this service. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableService' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableService' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableService' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + delete: + operationId: ipam_services_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this service. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/vlan-groups/: + get: + operationId: ipam_vlan_groups_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVLANGroupList' + description: '' + post: + operationId: ipam_vlan_groups_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLANGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVLANGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVLANGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + put: + operationId: ipam_vlan_groups_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLANGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVLANGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVLANGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + patch: + operationId: ipam_vlan_groups_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVLANGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVLANGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVLANGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + delete: + operationId: ipam_vlan_groups_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/vlan-groups/{id}/: + get: + operationId: ipam_vlan_groups_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VLAN group. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + put: + operationId: ipam_vlan_groups_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VLAN group. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLANGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVLANGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVLANGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + patch: + operationId: ipam_vlan_groups_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VLAN group. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVLANGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVLANGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVLANGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + delete: + operationId: ipam_vlan_groups_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VLAN group. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/vlans/: + get: + operationId: ipam_vlans_list + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: group + schema: + type: array + items: + type: string + description: Group + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + description: Group + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Group (ID) + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Group (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: vid + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vid__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vid__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vid__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vid__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vid__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVLANList' + description: '' + post: + operationId: ipam_vlans_create + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLAN' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVLAN' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVLAN' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + put: + operationId: ipam_vlans_bulk_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLAN' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVLAN' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVLAN' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + patch: + operationId: ipam_vlans_bulk_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVLAN' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVLAN' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVLAN' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + delete: + operationId: ipam_vlans_bulk_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/vlans/{id}/: + get: + operationId: ipam_vlans_retrieve + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VLAN. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + put: + operationId: ipam_vlans_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VLAN. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLAN' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVLAN' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVLAN' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + patch: + operationId: ipam_vlans_partial_update + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VLAN. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVLAN' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVLAN' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVLAN' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + delete: + operationId: ipam_vlans_destroy + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VLAN. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/vrfs/: + get: + operationId: ipam_vrfs_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: enforce_unique + schema: + type: boolean + - in: query + name: export_target + schema: + type: array + items: + type: string + description: Export target (name) + explode: true + style: form + - in: query + name: export_target__n + schema: + type: array + items: + type: string + description: Export target (name) + explode: true + style: form + - in: query + name: export_target_id + schema: + type: array + items: + type: string + format: uuid + description: Export target + explode: true + style: form + - in: query + name: export_target_id__n + schema: + type: array + items: + type: string + format: uuid + description: Export target + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: import_target + schema: + type: array + items: + type: string + description: Import target (name) + explode: true + style: form + - in: query + name: import_target__n + schema: + type: array + items: + type: string + description: Import target (name) + explode: true + style: form + - in: query + name: import_target_id + schema: + type: array + items: + type: string + format: uuid + description: Import target + explode: true + style: form + - in: query + name: import_target_id__n + schema: + type: array + items: + type: string + format: uuid + description: Import target + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rd + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: rd__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVRFList' + description: '' + post: + operationId: ipam_vrfs_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVRF' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVRF' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVRF' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + put: + operationId: ipam_vrfs_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVRF' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVRF' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVRF' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + patch: + operationId: ipam_vrfs_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVRF' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVRF' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVRF' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + delete: + operationId: ipam_vrfs_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /ipam/vrfs/{id}/: + get: + operationId: ipam_vrfs_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VRF. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + put: + operationId: ipam_vrfs_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VRF. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVRF' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVRF' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVRF' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + patch: + operationId: ipam_vrfs_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VRF. + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVRF' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVRF' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVRF' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + delete: + operationId: ipam_vrfs_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VRF. + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/chatops/accessgrant/: + get: + operationId: plugins_chatops_accessgrant_list + description: API viewset for interacting with AccessGrant objects. + parameters: + - in: query + name: command + schema: + type: string + - in: query + name: created + schema: + type: string + format: date + - in: query + name: grant_type + schema: + type: string + - in: query + name: last_updated + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: subcommand + schema: + type: string + - in: query + name: value + schema: + type: string + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAccessGrantList' + description: '' + post: + operationId: plugins_chatops_accessgrant_create + description: API viewset for interacting with AccessGrant objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AccessGrant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/AccessGrant' + multipart/form-data: + schema: + $ref: '#/components/schemas/AccessGrant' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + put: + operationId: plugins_chatops_accessgrant_bulk_update + description: API viewset for interacting with AccessGrant objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AccessGrant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/AccessGrant' + multipart/form-data: + schema: + $ref: '#/components/schemas/AccessGrant' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + patch: + operationId: plugins_chatops_accessgrant_bulk_partial_update + description: API viewset for interacting with AccessGrant objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedAccessGrant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedAccessGrant' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedAccessGrant' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + delete: + operationId: plugins_chatops_accessgrant_bulk_destroy + description: API viewset for interacting with AccessGrant objects. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/chatops/accessgrant/{id}/: + get: + operationId: plugins_chatops_accessgrant_retrieve + description: API viewset for interacting with AccessGrant objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this access grant. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + put: + operationId: plugins_chatops_accessgrant_update + description: API viewset for interacting with AccessGrant objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this access grant. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AccessGrant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/AccessGrant' + multipart/form-data: + schema: + $ref: '#/components/schemas/AccessGrant' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + patch: + operationId: plugins_chatops_accessgrant_partial_update + description: API viewset for interacting with AccessGrant objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this access grant. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedAccessGrant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedAccessGrant' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedAccessGrant' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + delete: + operationId: plugins_chatops_accessgrant_destroy + description: API viewset for interacting with AccessGrant objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this access grant. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/chatops/commandtoken/: + get: + operationId: plugins_chatops_commandtoken_list + description: API viewset for interacting with CommandToken objects. + parameters: + - in: query + name: comment + schema: + type: string + - in: query + name: created + schema: + type: string + format: date + - in: query + name: last_updated + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: platform + schema: + type: string + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCommandTokenList' + description: '' + post: + operationId: plugins_chatops_commandtoken_create + description: API viewset for interacting with CommandToken objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommandToken' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CommandToken' + multipart/form-data: + schema: + $ref: '#/components/schemas/CommandToken' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + put: + operationId: plugins_chatops_commandtoken_bulk_update + description: API viewset for interacting with CommandToken objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommandToken' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CommandToken' + multipart/form-data: + schema: + $ref: '#/components/schemas/CommandToken' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + patch: + operationId: plugins_chatops_commandtoken_bulk_partial_update + description: API viewset for interacting with CommandToken objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCommandToken' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCommandToken' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCommandToken' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + delete: + operationId: plugins_chatops_commandtoken_bulk_destroy + description: API viewset for interacting with CommandToken objects. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/chatops/commandtoken/{id}/: + get: + operationId: plugins_chatops_commandtoken_retrieve + description: API viewset for interacting with CommandToken objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this command token. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + put: + operationId: plugins_chatops_commandtoken_update + description: API viewset for interacting with CommandToken objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this command token. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommandToken' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CommandToken' + multipart/form-data: + schema: + $ref: '#/components/schemas/CommandToken' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + patch: + operationId: plugins_chatops_commandtoken_partial_update + description: API viewset for interacting with CommandToken objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this command token. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCommandToken' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCommandToken' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCommandToken' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + delete: + operationId: plugins_chatops_commandtoken_destroy + description: API viewset for interacting with CommandToken objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this command token. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/circuit-maintenance/circuitimpact/: + get: + operationId: plugins_circuit_maintenance_circuitimpact_list + description: API view for Circuit Impact CRUD operations. + parameters: + - in: query + name: circuit + schema: + type: string + format: uuid + - in: query + name: circuit__n + schema: + type: string + format: uuid + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: impact + schema: + type: string + nullable: true + - in: query + name: impact__n + schema: + type: string + nullable: true + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: maintenance + schema: + type: string + format: uuid + - in: query + name: maintenance__n + schema: + type: string + format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitMaintenanceCircuitImpactList' + description: '' + post: + operationId: plugins_circuit_maintenance_circuitimpact_create + description: API view for Circuit Impact CRUD operations. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + multipart/form-data: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + put: + operationId: plugins_circuit_maintenance_circuitimpact_bulk_update + description: API view for Circuit Impact CRUD operations. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + multipart/form-data: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + patch: + operationId: plugins_circuit_maintenance_circuitimpact_bulk_partial_update + description: API view for Circuit Impact CRUD operations. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenanceCircuitImpact' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenanceCircuitImpact' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenanceCircuitImpact' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + delete: + operationId: plugins_circuit_maintenance_circuitimpact_bulk_destroy + description: API view for Circuit Impact CRUD operations. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/circuit-maintenance/circuitimpact/{id}/: + get: + operationId: plugins_circuit_maintenance_circuitimpact_retrieve + description: API view for Circuit Impact CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit impact. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + put: + operationId: plugins_circuit_maintenance_circuitimpact_update + description: API view for Circuit Impact CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit impact. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + multipart/form-data: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + patch: + operationId: plugins_circuit_maintenance_circuitimpact_partial_update + description: API view for Circuit Impact CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit impact. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenanceCircuitImpact' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenanceCircuitImpact' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenanceCircuitImpact' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + delete: + operationId: plugins_circuit_maintenance_circuitimpact_destroy + description: API view for Circuit Impact CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit impact. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/circuit-maintenance/maintenance/: + get: + operationId: plugins_circuit_maintenance_maintenance_list + description: API view for Circuit Maintenance CRUD operations. + parameters: + - in: query + name: ack + schema: + type: boolean + - in: query + name: circuit + schema: + type: array + items: + type: string + description: Circuit + explode: true + style: form + - in: query + name: end_time + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: provider + schema: + type: array + items: + type: string + description: Provider (slug) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: start_time + schema: + type: string + format: date-time + - in: query + name: status + schema: + type: string + nullable: true + - in: query + name: status__n + schema: + type: string + nullable: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitMaintenanceList' + description: '' + post: + operationId: plugins_circuit_maintenance_maintenance_create + description: API view for Circuit Maintenance CRUD operations. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + multipart/form-data: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + put: + operationId: plugins_circuit_maintenance_maintenance_bulk_update + description: API view for Circuit Maintenance CRUD operations. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + multipart/form-data: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + patch: + operationId: plugins_circuit_maintenance_maintenance_bulk_partial_update + description: API view for Circuit Maintenance CRUD operations. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenance' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenance' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + delete: + operationId: plugins_circuit_maintenance_maintenance_bulk_destroy + description: API view for Circuit Maintenance CRUD operations. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/circuit-maintenance/maintenance/{id}/: + get: + operationId: plugins_circuit_maintenance_maintenance_retrieve + description: API view for Circuit Maintenance CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit maintenance. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + put: + operationId: plugins_circuit_maintenance_maintenance_update + description: API view for Circuit Maintenance CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit maintenance. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + multipart/form-data: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + patch: + operationId: plugins_circuit_maintenance_maintenance_partial_update + description: API view for Circuit Maintenance CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit maintenance. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenance' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenance' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + delete: + operationId: plugins_circuit_maintenance_maintenance_destroy + description: API view for Circuit Maintenance CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this circuit maintenance. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/circuit-maintenance/note/: + get: + operationId: plugins_circuit_maintenance_note_list + description: API view for Circuit Note CRUD operations. + parameters: + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + post: + operationId: plugins_circuit_maintenance_note_create + description: API view for Circuit Note CRUD operations. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Note' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Note' + multipart/form-data: + schema: + $ref: '#/components/schemas/Note' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + put: + operationId: plugins_circuit_maintenance_note_bulk_update + description: API view for Circuit Note CRUD operations. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Note' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Note' + multipart/form-data: + schema: + $ref: '#/components/schemas/Note' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + patch: + operationId: plugins_circuit_maintenance_note_bulk_partial_update + description: API view for Circuit Note CRUD operations. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedNote' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedNote' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedNote' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + delete: + operationId: plugins_circuit_maintenance_note_bulk_destroy + description: API view for Circuit Note CRUD operations. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/circuit-maintenance/note/{id}/: + get: + operationId: plugins_circuit_maintenance_note_retrieve + description: API view for Circuit Note CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this note. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + put: + operationId: plugins_circuit_maintenance_note_update + description: API view for Circuit Note CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this note. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Note' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Note' + multipart/form-data: + schema: + $ref: '#/components/schemas/Note' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + patch: + operationId: plugins_circuit_maintenance_note_partial_update + description: API view for Circuit Note CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this note. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedNote' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedNote' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedNote' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + delete: + operationId: plugins_circuit_maintenance_note_destroy + description: API view for Circuit Note CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this note. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/circuit-maintenance/notificationsource/: + get: + operationId: plugins_circuit_maintenance_notificationsource_list + description: API view for Notification Source CRUD operations. + parameters: + - in: query + name: attach_all_providers + schema: + type: boolean + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNotificationSourceList' + description: '' + /plugins/circuit-maintenance/notificationsource/{id}/: + get: + operationId: plugins_circuit_maintenance_notificationsource_retrieve + description: API view for Notification Source CRUD operations. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this notification source. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NotificationSource' + description: '' + /plugins/data-validation-engine/rules/min-max/: + get: + operationId: plugins_data_validation_engine_rules_min_max_list + description: View to manage min max expression validation rules + parameters: + - in: query + name: content_type + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: content_type__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: enabled + schema: + type: boolean + - in: query + name: error_message + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: max + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: max__gt + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: max__gte + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: max__lt + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: max__lte + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: max__n + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: min + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: min__gt + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: min__gte + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: min__lt + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: min__lte + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: min__n + schema: + type: array + items: + type: number + format: float + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedMinMaxValidationRuleList' + description: '' + post: + operationId: plugins_data_validation_engine_rules_min_max_create + description: View to manage min max expression validation rules + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + put: + operationId: plugins_data_validation_engine_rules_min_max_bulk_update + description: View to manage min max expression validation rules + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + patch: + operationId: plugins_data_validation_engine_rules_min_max_bulk_partial_update + description: View to manage min max expression validation rules + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedMinMaxValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedMinMaxValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedMinMaxValidationRule' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + delete: + operationId: plugins_data_validation_engine_rules_min_max_bulk_destroy + description: View to manage min max expression validation rules + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/data-validation-engine/rules/min-max/{id}/: + get: + operationId: plugins_data_validation_engine_rules_min_max_retrieve + description: View to manage min max expression validation rules + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this min max validation rule. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + put: + operationId: plugins_data_validation_engine_rules_min_max_update + description: View to manage min max expression validation rules + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this min max validation rule. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + patch: + operationId: plugins_data_validation_engine_rules_min_max_partial_update + description: View to manage min max expression validation rules + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this min max validation rule. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedMinMaxValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedMinMaxValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedMinMaxValidationRule' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + delete: + operationId: plugins_data_validation_engine_rules_min_max_destroy + description: View to manage min max expression validation rules + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this min max validation rule. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/data-validation-engine/rules/regex/: + get: + operationId: plugins_data_validation_engine_rules_regex_list + description: View to manage regular expression validation rules + parameters: + - in: query + name: content_type + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: content_type__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: enabled + schema: + type: boolean + - in: query + name: error_message + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: error_message__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: field__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: regular_expression + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: regular_expression__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRegularExpressionValidationRuleList' + description: '' + post: + operationId: plugins_data_validation_engine_rules_regex_create + description: View to manage regular expression validation rules + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + put: + operationId: plugins_data_validation_engine_rules_regex_bulk_update + description: View to manage regular expression validation rules + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + patch: + operationId: plugins_data_validation_engine_rules_regex_bulk_partial_update + description: View to manage regular expression validation rules + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRegularExpressionValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRegularExpressionValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRegularExpressionValidationRule' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + delete: + operationId: plugins_data_validation_engine_rules_regex_bulk_destroy + description: View to manage regular expression validation rules + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/data-validation-engine/rules/regex/{id}/: + get: + operationId: plugins_data_validation_engine_rules_regex_retrieve + description: View to manage regular expression validation rules + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this regular expression validation + rule. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + put: + operationId: plugins_data_validation_engine_rules_regex_update + description: View to manage regular expression validation rules + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this regular expression validation + rule. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + patch: + operationId: plugins_data_validation_engine_rules_regex_partial_update + description: View to manage regular expression validation rules + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this regular expression validation + rule. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRegularExpressionValidationRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRegularExpressionValidationRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRegularExpressionValidationRule' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + delete: + operationId: plugins_data_validation_engine_rules_regex_destroy + description: View to manage regular expression validation rules + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this regular expression validation + rule. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/device-onboarding/onboarding/: + get: + operationId: plugins_device_onboarding_onboarding_list + description: |- + Create, check status of, and delete onboarding tasks. + + In-place updates (PUT, PATCH) of tasks are not permitted. + parameters: + - in: query + name: failed_reason + schema: + type: string + nullable: true + description: Raison why the task failed (optional) + - in: query + name: id + schema: + type: string + format: uuid + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: role + schema: + type: array + items: + type: string + description: Device Role (slug) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: string + description: Overall status of the task + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedOnboardingTaskList' + description: '' + post: + operationId: plugins_device_onboarding_onboarding_create + description: |- + Create, check status of, and delete onboarding tasks. + + In-place updates (PUT, PATCH) of tasks are not permitted. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/OnboardingTask' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/OnboardingTask' + multipart/form-data: + schema: + $ref: '#/components/schemas/OnboardingTask' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/OnboardingTask' + description: '' + /plugins/device-onboarding/onboarding/{id}/: + get: + operationId: plugins_device_onboarding_onboarding_retrieve + description: |- + Create, check status of, and delete onboarding tasks. + + In-place updates (PUT, PATCH) of tasks are not permitted. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this onboarding task. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/OnboardingTask' + description: '' + delete: + operationId: plugins_device_onboarding_onboarding_destroy + description: |- + Create, check status of, and delete onboarding tasks. + + In-place updates (PUT, PATCH) of tasks are not permitted. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this onboarding task. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/compliance-feature/: + get: + operationId: plugins_golden_config_compliance_feature_list + description: API viewset for interacting with ComplianceFeature objects. + parameters: + - in: query + name: id + schema: + type: string + format: uuid + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedComplianceFeatureList' + description: '' + post: + operationId: plugins_golden_config_compliance_feature_create + description: API viewset for interacting with ComplianceFeature objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceFeature' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ComplianceFeature' + multipart/form-data: + schema: + $ref: '#/components/schemas/ComplianceFeature' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + put: + operationId: plugins_golden_config_compliance_feature_bulk_update + description: API viewset for interacting with ComplianceFeature objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceFeature' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ComplianceFeature' + multipart/form-data: + schema: + $ref: '#/components/schemas/ComplianceFeature' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + patch: + operationId: plugins_golden_config_compliance_feature_bulk_partial_update + description: API viewset for interacting with ComplianceFeature objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedComplianceFeature' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedComplianceFeature' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedComplianceFeature' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + delete: + operationId: plugins_golden_config_compliance_feature_bulk_destroy + description: API viewset for interacting with ComplianceFeature objects. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/compliance-feature/{id}/: + get: + operationId: plugins_golden_config_compliance_feature_retrieve + description: API viewset for interacting with ComplianceFeature objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this compliance feature. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + put: + operationId: plugins_golden_config_compliance_feature_update + description: API viewset for interacting with ComplianceFeature objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this compliance feature. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceFeature' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ComplianceFeature' + multipart/form-data: + schema: + $ref: '#/components/schemas/ComplianceFeature' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + patch: + operationId: plugins_golden_config_compliance_feature_partial_update + description: API viewset for interacting with ComplianceFeature objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this compliance feature. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedComplianceFeature' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedComplianceFeature' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedComplianceFeature' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + delete: + operationId: plugins_golden_config_compliance_feature_destroy + description: API viewset for interacting with ComplianceFeature objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this compliance feature. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/compliance-rule/: + get: + operationId: plugins_golden_config_compliance_rule_list + description: API viewset for interacting with ComplianceRule objects. + parameters: + - in: query + name: feature + schema: + type: string + format: uuid + - in: query + name: id + schema: + type: string + format: uuid + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: string + format: uuid + description: Platform (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedComplianceRuleList' + description: '' + post: + operationId: plugins_golden_config_compliance_rule_create + description: API viewset for interacting with ComplianceRule objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ComplianceRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/ComplianceRule' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + put: + operationId: plugins_golden_config_compliance_rule_bulk_update + description: API viewset for interacting with ComplianceRule objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ComplianceRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/ComplianceRule' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + patch: + operationId: plugins_golden_config_compliance_rule_bulk_partial_update + description: API viewset for interacting with ComplianceRule objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedComplianceRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedComplianceRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedComplianceRule' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + delete: + operationId: plugins_golden_config_compliance_rule_bulk_destroy + description: API viewset for interacting with ComplianceRule objects. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/compliance-rule/{id}/: + get: + operationId: plugins_golden_config_compliance_rule_retrieve + description: API viewset for interacting with ComplianceRule objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this compliance rule. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + put: + operationId: plugins_golden_config_compliance_rule_update + description: API viewset for interacting with ComplianceRule objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this compliance rule. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ComplianceRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/ComplianceRule' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + patch: + operationId: plugins_golden_config_compliance_rule_partial_update + description: API viewset for interacting with ComplianceRule objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this compliance rule. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedComplianceRule' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedComplianceRule' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedComplianceRule' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + delete: + operationId: plugins_golden_config_compliance_rule_destroy + description: API viewset for interacting with ComplianceRule objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this compliance rule. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/config-compliance/: + get: + operationId: plugins_golden_config_config_compliance_list + description: API viewset for interacting with ConfigCompliance objects. + parameters: + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device Name + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device ID + explode: true + style: form + - in: query + name: device_status + schema: + type: array + items: + type: string + format: uuid + description: Device Status + explode: true + style: form + - in: query + name: device_status_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Device Status + explode: true + style: form + - in: query + name: device_type + schema: + type: array + items: + type: string + description: DeviceType (slug) + explode: true + style: form + - in: query + name: device_type_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: id + schema: + type: string + format: uuid + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: manufacturer + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer_id + schema: + type: array + items: + type: string + format: uuid + description: Manufacturer (ID) + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: string + format: uuid + description: Platform (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rack + schema: + type: array + items: + type: string + description: Rack (name) + explode: true + style: form + - in: query + name: rack_group + schema: + type: array + items: + type: string + description: Rack group (slug) + explode: true + style: form + - in: query + name: rack_group_id + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: rack_id + schema: + type: array + items: + type: string + format: uuid + description: Rack (ID) + explode: true + style: form + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: string + format: uuid + description: Role (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigComplianceList' + description: '' + post: + operationId: plugins_golden_config_config_compliance_create + description: API viewset for interacting with ConfigCompliance objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigCompliance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigCompliance' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigCompliance' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + put: + operationId: plugins_golden_config_config_compliance_bulk_update + description: API viewset for interacting with ConfigCompliance objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigCompliance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigCompliance' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigCompliance' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + patch: + operationId: plugins_golden_config_config_compliance_bulk_partial_update + description: API viewset for interacting with ConfigCompliance objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigCompliance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedConfigCompliance' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedConfigCompliance' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + delete: + operationId: plugins_golden_config_config_compliance_bulk_destroy + description: API viewset for interacting with ConfigCompliance objects. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/config-compliance/{id}/: + get: + operationId: plugins_golden_config_config_compliance_retrieve + description: API viewset for interacting with ConfigCompliance objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config compliance. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + put: + operationId: plugins_golden_config_config_compliance_update + description: API viewset for interacting with ConfigCompliance objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config compliance. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigCompliance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigCompliance' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigCompliance' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + patch: + operationId: plugins_golden_config_config_compliance_partial_update + description: API viewset for interacting with ConfigCompliance objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config compliance. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigCompliance' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedConfigCompliance' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedConfigCompliance' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + delete: + operationId: plugins_golden_config_config_compliance_destroy + description: API viewset for interacting with ConfigCompliance objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config compliance. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/config-remove/: + get: + operationId: plugins_golden_config_config_remove_list + description: API viewset for interacting with ConfigRemove objects. + parameters: + - in: query + name: id + schema: + type: string + format: uuid + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: string + format: uuid + description: Platform (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigRemoveList' + description: '' + post: + operationId: plugins_golden_config_config_remove_create + description: API viewset for interacting with ConfigRemove objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigRemove' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigRemove' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigRemove' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + put: + operationId: plugins_golden_config_config_remove_bulk_update + description: API viewset for interacting with ConfigRemove objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigRemove' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigRemove' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigRemove' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + patch: + operationId: plugins_golden_config_config_remove_bulk_partial_update + description: API viewset for interacting with ConfigRemove objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigRemove' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedConfigRemove' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedConfigRemove' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + delete: + operationId: plugins_golden_config_config_remove_bulk_destroy + description: API viewset for interacting with ConfigRemove objects. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/config-remove/{id}/: + get: + operationId: plugins_golden_config_config_remove_retrieve + description: API viewset for interacting with ConfigRemove objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config remove. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + put: + operationId: plugins_golden_config_config_remove_update + description: API viewset for interacting with ConfigRemove objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config remove. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigRemove' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigRemove' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigRemove' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + patch: + operationId: plugins_golden_config_config_remove_partial_update + description: API viewset for interacting with ConfigRemove objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config remove. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigRemove' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedConfigRemove' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedConfigRemove' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + delete: + operationId: plugins_golden_config_config_remove_destroy + description: API viewset for interacting with ConfigRemove objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config remove. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/config-replace/: + get: + operationId: plugins_golden_config_config_replace_list + description: API viewset for interacting with ConfigReplace objects. + parameters: + - in: query + name: id + schema: + type: string + format: uuid + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: string + format: uuid + description: Platform (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigReplaceList' + description: '' + post: + operationId: plugins_golden_config_config_replace_create + description: API viewset for interacting with ConfigReplace objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigReplace' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigReplace' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigReplace' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + put: + operationId: plugins_golden_config_config_replace_bulk_update + description: API viewset for interacting with ConfigReplace objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigReplace' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigReplace' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigReplace' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + patch: + operationId: plugins_golden_config_config_replace_bulk_partial_update + description: API viewset for interacting with ConfigReplace objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigReplace' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedConfigReplace' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedConfigReplace' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + delete: + operationId: plugins_golden_config_config_replace_bulk_destroy + description: API viewset for interacting with ConfigReplace objects. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/config-replace/{id}/: + get: + operationId: plugins_golden_config_config_replace_retrieve + description: API viewset for interacting with ConfigReplace objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config replace. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + put: + operationId: plugins_golden_config_config_replace_update + description: API viewset for interacting with ConfigReplace objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config replace. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigReplace' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ConfigReplace' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigReplace' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + patch: + operationId: plugins_golden_config_config_replace_partial_update + description: API viewset for interacting with ConfigReplace objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config replace. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigReplace' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedConfigReplace' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedConfigReplace' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + delete: + operationId: plugins_golden_config_config_replace_destroy + description: API viewset for interacting with ConfigReplace objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this config replace. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/golden-config/: + get: + operationId: plugins_golden_config_golden_config_list + description: API viewset for interacting with GoldenConfig objects. + parameters: + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device Name + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: string + format: uuid + description: Device ID + explode: true + style: form + - in: query + name: device_status + schema: + type: array + items: + type: string + format: uuid + description: Device Status + explode: true + style: form + - in: query + name: device_status_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Device Status + explode: true + style: form + - in: query + name: device_type + schema: + type: array + items: + type: string + description: DeviceType (slug) + explode: true + style: form + - in: query + name: device_type_id + schema: + type: array + items: + type: string + format: uuid + description: Device type (ID) + explode: true + style: form + - in: query + name: id + schema: + type: string + format: uuid + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: manufacturer + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer_id + schema: + type: array + items: + type: string + format: uuid + description: Manufacturer (ID) + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: string + format: uuid + description: Platform (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rack + schema: + type: array + items: + type: string + description: Rack (name) + explode: true + style: form + - in: query + name: rack_group + schema: + type: array + items: + type: string + description: Rack group (slug) + explode: true + style: form + - in: query + name: rack_group_id + schema: + type: array + items: + type: string + format: uuid + description: Rack group (ID) + explode: true + style: form + - in: query + name: rack_id + schema: + type: array + items: + type: string + format: uuid + description: Rack (ID) + explode: true + style: form + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: string + format: uuid + description: Role (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site name (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGoldenConfigList' + description: '' + post: + operationId: plugins_golden_config_golden_config_create + description: API viewset for interacting with GoldenConfig objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GoldenConfig' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GoldenConfig' + multipart/form-data: + schema: + $ref: '#/components/schemas/GoldenConfig' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + put: + operationId: plugins_golden_config_golden_config_bulk_update + description: API viewset for interacting with GoldenConfig objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GoldenConfig' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GoldenConfig' + multipart/form-data: + schema: + $ref: '#/components/schemas/GoldenConfig' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + patch: + operationId: plugins_golden_config_golden_config_bulk_partial_update + description: API viewset for interacting with GoldenConfig objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGoldenConfig' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGoldenConfig' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGoldenConfig' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + delete: + operationId: plugins_golden_config_golden_config_bulk_destroy + description: API viewset for interacting with GoldenConfig objects. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/golden-config-settings/: + get: + operationId: plugins_golden_config_golden_config_settings_list + description: API viewset for interacting with GoldenConfigSetting objects. + parameters: + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGoldenConfigSettingList' + description: '' + post: + operationId: plugins_golden_config_golden_config_settings_create + description: API viewset for interacting with GoldenConfigSetting objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + multipart/form-data: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + put: + operationId: plugins_golden_config_golden_config_settings_bulk_update + description: API viewset for interacting with GoldenConfigSetting objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + multipart/form-data: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + patch: + operationId: plugins_golden_config_golden_config_settings_bulk_partial_update + description: API viewset for interacting with GoldenConfigSetting objects. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGoldenConfigSetting' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGoldenConfigSetting' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGoldenConfigSetting' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + delete: + operationId: plugins_golden_config_golden_config_settings_bulk_destroy + description: API viewset for interacting with GoldenConfigSetting objects. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/golden-config-settings/{id}/: + get: + operationId: plugins_golden_config_golden_config_settings_retrieve + description: API viewset for interacting with GoldenConfigSetting objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Golden Config Setting. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + put: + operationId: plugins_golden_config_golden_config_settings_update + description: API viewset for interacting with GoldenConfigSetting objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Golden Config Setting. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + multipart/form-data: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + patch: + operationId: plugins_golden_config_golden_config_settings_partial_update + description: API viewset for interacting with GoldenConfigSetting objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Golden Config Setting. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGoldenConfigSetting' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGoldenConfigSetting' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGoldenConfigSetting' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + delete: + operationId: plugins_golden_config_golden_config_settings_destroy + description: API viewset for interacting with GoldenConfigSetting objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Golden Config Setting. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/golden-config/{id}/: + get: + operationId: plugins_golden_config_golden_config_retrieve + description: API viewset for interacting with GoldenConfig objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this golden config. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + put: + operationId: plugins_golden_config_golden_config_update + description: API viewset for interacting with GoldenConfig objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this golden config. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GoldenConfig' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GoldenConfig' + multipart/form-data: + schema: + $ref: '#/components/schemas/GoldenConfig' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + patch: + operationId: plugins_golden_config_golden_config_partial_update + description: API viewset for interacting with GoldenConfig objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this golden config. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGoldenConfig' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGoldenConfig' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGoldenConfig' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + delete: + operationId: plugins_golden_config_golden_config_destroy + description: API viewset for interacting with GoldenConfig objects. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this golden config. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/golden-config/sotagg/{id}/: + get: + operationId: plugins_golden_config_sotagg_retrieve + description: Get method serialize for a dictionary to json response. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + responses: + '200': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/contact/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_list + description: CRUD operations set for the Contact Lifecycle Management view. + parameters: + - in: query + name: address + schema: + type: string + - in: query + name: comments + schema: + type: string + - in: query + name: contract + schema: + type: string + format: uuid + - in: query + name: email + schema: + type: string + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: phone + schema: + type: string + - in: query + name: priority + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type + schema: + type: string + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedContactLCMList' + description: '' + post: + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_create + description: CRUD operations set for the Contact Lifecycle Management view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContactLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableContactLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableContactLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_bulk_update + description: CRUD operations set for the Contact Lifecycle Management view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContactLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableContactLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableContactLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_bulk_partial_update + description: CRUD operations set for the Contact Lifecycle Management view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableContactLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableContactLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableContactLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_bulk_destroy + description: CRUD operations set for the Contact Lifecycle Management view. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/contact/{id}/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_retrieve + description: CRUD operations set for the Contact Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Contract POC. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_update + description: CRUD operations set for the Contact Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Contract POC. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContactLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableContactLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableContactLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_partial_update + description: CRUD operations set for the Contact Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Contract POC. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableContactLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableContactLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableContactLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_destroy + description: CRUD operations set for the Contact Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Contract POC. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/contract/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_list + description: CRUD operations set for the Contract Lifecycle Management view. + parameters: + - in: query + name: contract_type + schema: + type: string + - in: query + name: cost + schema: + type: number + - in: query + name: end + schema: + type: string + format: date + - in: query + name: end__gte + schema: + type: string + format: date + - in: query + name: end__lte + schema: + type: string + format: date + - in: query + name: expired + schema: + type: boolean + description: Expired + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: provider + schema: + type: array + items: + type: string + description: Provider + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: start + schema: + type: string + format: date + - in: query + name: start__gte + schema: + type: string + format: date + - in: query + name: start__lte + schema: + type: string + format: date + - in: query + name: support_level + schema: + type: string + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedContractLCMList' + description: '' + post: + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_create + description: CRUD operations set for the Contract Lifecycle Management view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContractLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableContractLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableContractLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_bulk_update + description: CRUD operations set for the Contract Lifecycle Management view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContractLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableContractLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableContractLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_bulk_partial_update + description: CRUD operations set for the Contract Lifecycle Management view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableContractLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableContractLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableContractLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_bulk_destroy + description: CRUD operations set for the Contract Lifecycle Management view. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/contract/{id}/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_retrieve + description: CRUD operations set for the Contract Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Contract. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_update + description: CRUD operations set for the Contract Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Contract. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContractLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableContractLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableContractLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_partial_update + description: CRUD operations set for the Contract Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Contract. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableContractLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableContractLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableContractLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_destroy + description: CRUD operations set for the Contract Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Contract. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/cve/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_list + description: REST API viewset for CVELCM records. + parameters: + - in: query + name: comments + schema: + type: string + - in: query + name: cvss + schema: + type: number + format: float + - in: query + name: cvss__gte + schema: + type: number + format: float + - in: query + name: cvss__lte + schema: + type: number + format: float + - in: query + name: cvss_v2 + schema: + type: number + format: float + - in: query + name: cvss_v2__gte + schema: + type: number + format: float + - in: query + name: cvss_v2__lte + schema: + type: number + format: float + - in: query + name: cvss_v3 + schema: + type: number + format: float + - in: query + name: cvss_v3__gte + schema: + type: number + format: float + - in: query + name: cvss_v3__lte + schema: + type: number + format: float + - in: query + name: description + schema: + type: string + - in: query + name: exclude_status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: fix + schema: + type: string + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: link + schema: + type: string + - in: query + name: name + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: published_date__gte + schema: + type: string + format: date + - in: query + name: published_date__lte + schema: + type: string + format: date + - in: query + name: published_date_after + schema: + type: string + format: date-time + - in: query + name: published_date_before + schema: + type: string + format: date-time + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: severity + schema: + type: string + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCVELCMList' + description: '' + post: + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_create + description: REST API viewset for CVELCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CVELCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CVELCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/CVELCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_bulk_update + description: REST API viewset for CVELCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CVELCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CVELCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/CVELCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_bulk_partial_update + description: REST API viewset for CVELCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCVELCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCVELCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCVELCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_bulk_destroy + description: REST API viewset for CVELCM records. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/cve/{id}/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_retrieve + description: REST API viewset for CVELCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this CVE. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_update + description: REST API viewset for CVELCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this CVE. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CVELCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CVELCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/CVELCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_partial_update + description: REST API viewset for CVELCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this CVE. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCVELCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedCVELCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedCVELCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_destroy + description: REST API viewset for CVELCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this CVE. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/hardware/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_list + description: CRUD operations set for the Hardware Lifecycle Management view. + parameters: + - in: query + name: device_type + schema: + type: array + items: + type: string + description: Device Type (Slug) + explode: true + style: form + - in: query + name: device_type_id + schema: + type: array + items: + type: string + format: uuid + description: Device Type + explode: true + style: form + - in: query + name: documentation_url + schema: + type: string + - in: query + name: end_of_sale + schema: + type: string + format: date + - in: query + name: end_of_sale__gte + schema: + type: string + format: date + - in: query + name: end_of_sale__lte + schema: + type: string + format: date + - in: query + name: end_of_security_patches + schema: + type: string + format: date + - in: query + name: end_of_security_patches__gte + schema: + type: string + format: date + - in: query + name: end_of_security_patches__lte + schema: + type: string + format: date + - in: query + name: end_of_support + schema: + type: string + format: date + - in: query + name: end_of_support__gte + schema: + type: string + format: date + - in: query + name: end_of_support__lte + schema: + type: string + format: date + - in: query + name: end_of_sw_releases + schema: + type: string + format: date + - in: query + name: end_of_sw_releases__gte + schema: + type: string + format: date + - in: query + name: end_of_sw_releases__lte + schema: + type: string + format: date + - in: query + name: expired + schema: + type: boolean + description: Expired + - in: query + name: inventory_item + schema: + type: array + items: + type: string + nullable: true + title: Inventory Item Part + description: Inventory Part ID + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedHardwareLCMList' + description: '' + post: + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_create + description: CRUD operations set for the Hardware Lifecycle Management view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableHardwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableHardwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableHardwareLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_bulk_update + description: CRUD operations set for the Hardware Lifecycle Management view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableHardwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableHardwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableHardwareLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_bulk_partial_update + description: CRUD operations set for the Hardware Lifecycle Management view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableHardwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableHardwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableHardwareLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_bulk_destroy + description: CRUD operations set for the Hardware Lifecycle Management view. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/hardware/{id}/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_retrieve + description: CRUD operations set for the Hardware Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Hardware Notice. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_update + description: CRUD operations set for the Hardware Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Hardware Notice. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableHardwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableHardwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableHardwareLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_partial_update + description: CRUD operations set for the Hardware Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Hardware Notice. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableHardwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableHardwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableHardwareLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_destroy + description: CRUD operations set for the Hardware Lifecycle Management view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Hardware Notice. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/provider/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_list + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + parameters: + - in: query + name: comments + schema: + type: string + - in: query + name: country + schema: + type: string + - in: query + name: description + schema: + type: string + - in: query + name: email + schema: + type: string + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: phone + schema: + type: string + - in: query + name: physical_address + schema: + type: string + - in: query + name: portal_url + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedProviderLCMList' + description: '' + post: + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_create + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ProviderLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/ProviderLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_bulk_update + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ProviderLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/ProviderLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_bulk_partial_update + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedProviderLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedProviderLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedProviderLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_bulk_destroy + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/provider/{id}/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_retrieve + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Vendor. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_update + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Vendor. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ProviderLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/ProviderLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_partial_update + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Vendor. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedProviderLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedProviderLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedProviderLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_destroy + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Vendor. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/software/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_list + description: REST API viewset for SoftwareLCM records. + parameters: + - in: query + name: alias + schema: + type: string + - in: query + name: device_platform + schema: + type: array + items: + type: string + description: Device Platform (Slug) + explode: true + style: form + - in: query + name: documentation_url + schema: + type: string + - in: query + name: end_of_support_after + schema: + type: string + format: date-time + - in: query + name: end_of_support_before + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: long_term_support + schema: + type: boolean + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: pre_release + schema: + type: boolean + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: release_date_after + schema: + type: string + format: date-time + - in: query + name: release_date_before + schema: + type: string + format: date-time + - in: query + name: version + schema: + type: string + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSoftwareLCMList' + description: '' + post: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_create + description: REST API viewset for SoftwareLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSoftwareLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_bulk_update + description: REST API viewset for SoftwareLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSoftwareLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_bulk_partial_update + description: REST API viewset for SoftwareLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_bulk_destroy + description: REST API viewset for SoftwareLCM records. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/software-image/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_list + description: REST API viewset for SoftwareImageLCM records. + parameters: + - in: query + name: default_image + schema: + type: boolean + - in: query + name: device_id + schema: + type: string + description: Device ID + - in: query + name: device_name + schema: + type: string + description: Device Name + - in: query + name: device_types + schema: + type: array + items: + type: string + description: Device Types (model) + explode: true + style: form + - in: query + name: device_types_id + schema: + type: array + items: + type: string + format: uuid + description: Device Types + explode: true + style: form + - in: query + name: download_url + schema: + type: string + - in: query + name: image_file_checksum + schema: + type: string + - in: query + name: image_file_name + schema: + type: string + - in: query + name: inventory_item_id + schema: + type: string + description: InventoryItem ID + - in: query + name: inventory_items + schema: + type: array + items: + type: string + format: uuid + description: Inventory Items (name) + explode: true + style: form + - in: query + name: inventory_items_id + schema: + type: array + items: + type: string + format: uuid + description: Inventory Items + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: object_tags + schema: + type: array + items: + type: string + description: Object Tags (slug) + explode: true + style: form + - in: query + name: object_tags_id + schema: + type: array + items: + type: string + format: uuid + description: Object Tags + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: software + schema: + type: array + items: + type: string + format: uuid + description: Software + explode: true + style: form + - in: query + name: software_version + schema: + type: array + items: + type: string + description: Software (version) + explode: true + style: form + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSoftwareImageLCMList' + description: '' + post: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_create + description: REST API viewset for SoftwareImageLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_bulk_update + description: REST API viewset for SoftwareImageLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_bulk_partial_update + description: REST API viewset for SoftwareImageLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareImageLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareImageLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareImageLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_bulk_destroy + description: REST API viewset for SoftwareImageLCM records. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/software-image/{id}/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_retrieve + description: REST API viewset for SoftwareImageLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Software Image. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_update + description: REST API viewset for SoftwareImageLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Software Image. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_partial_update + description: REST API viewset for SoftwareImageLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Software Image. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareImageLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareImageLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareImageLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_destroy + description: REST API viewset for SoftwareImageLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Software Image. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/software/{id}/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_retrieve + description: REST API viewset for SoftwareLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Software. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_update + description: REST API viewset for SoftwareLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Software. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSoftwareLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_partial_update + description: REST API viewset for SoftwareLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Software. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_software_destroy + description: REST API viewset for SoftwareLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Software. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/validated-software/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_list + description: REST API viewset for ValidatedSoftwareLCM records. + parameters: + - in: query + name: device_id + schema: + type: string + description: Device ID + - in: query + name: device_name + schema: + type: string + description: Device Name + - in: query + name: device_roles + schema: + type: array + items: + type: string + description: Device Roles (slug) + explode: true + style: form + - in: query + name: device_roles_id + schema: + type: array + items: + type: string + format: uuid + description: Device Roles + explode: true + style: form + - in: query + name: device_types + schema: + type: array + items: + type: string + description: Device Types (model) + explode: true + style: form + - in: query + name: device_types_id + schema: + type: array + items: + type: string + format: uuid + description: Device Types + explode: true + style: form + - in: query + name: devices + schema: + type: array + items: + type: string + nullable: true + description: Devices (name) + explode: true + style: form + - in: query + name: devices_id + schema: + type: array + items: + type: string + format: uuid + description: Devices + explode: true + style: form + - in: query + name: end_after + schema: + type: string + format: date-time + - in: query + name: end_before + schema: + type: string + format: date-time + - in: query + name: inventory_item_id + schema: + type: string + description: InventoryItem ID + - in: query + name: inventory_items + schema: + type: array + items: + type: string + description: Inventory Items (name) + explode: true + style: form + - in: query + name: inventory_items_id + schema: + type: array + items: + type: string + format: uuid + description: Inventory Items + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: object_tags + schema: + type: array + items: + type: string + description: Object Tags (slug) + explode: true + style: form + - in: query + name: object_tags_id + schema: + type: array + items: + type: string + format: uuid + description: Object Tags + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: preferred + schema: + type: boolean + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: software + schema: + type: array + items: + type: string + format: uuid + description: Software + explode: true + style: form + - in: query + name: start_after + schema: + type: string + format: date-time + - in: query + name: start_before + schema: + type: string + format: date-time + - in: query + name: valid + schema: + type: boolean + description: Currently valid + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedValidatedSoftwareLCMList' + description: '' + post: + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_create + description: REST API viewset for ValidatedSoftwareLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_bulk_update + description: REST API viewset for ValidatedSoftwareLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_bulk_partial_update + description: REST API viewset for ValidatedSoftwareLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableValidatedSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableValidatedSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableValidatedSoftwareLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_bulk_destroy + description: REST API viewset for ValidatedSoftwareLCM records. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/validated-software/{id}/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_retrieve + description: REST API viewset for ValidatedSoftwareLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Validated Software. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_update + description: REST API viewset for ValidatedSoftwareLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Validated Software. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_partial_update + description: REST API viewset for ValidatedSoftwareLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Validated Software. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableValidatedSoftwareLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableValidatedSoftwareLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableValidatedSoftwareLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_destroy + description: REST API viewset for ValidatedSoftwareLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Validated Software. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/vulnerability/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_list + description: REST API viewset for VulnerabilityLCM records. + parameters: + - in: query + name: cve + schema: + type: string + format: uuid + - in: query + name: cve__published_date__gte + schema: + type: string + format: date + - in: query + name: cve__published_date__lte + schema: + type: string + format: date + - in: query + name: cve__published_date_after + schema: + type: string + format: date-time + - in: query + name: cve__published_date_before + schema: + type: string + format: date-time + - in: query + name: device + schema: + type: string + format: uuid + - in: query + name: exclude_status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: inventory_item + schema: + type: string + format: uuid + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: software + schema: + type: string + format: uuid + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVulnerabilityLCMList' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_bulk_update + description: REST API viewset for VulnerabilityLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_bulk_partial_update + description: REST API viewset for VulnerabilityLCM records. + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedVulnerabilityLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedVulnerabilityLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedVulnerabilityLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_bulk_destroy + description: REST API viewset for VulnerabilityLCM records. + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /plugins/nautobot-device-lifecycle-mgmt/vulnerability/{id}/: + get: + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_retrieve + description: REST API viewset for VulnerabilityLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Vulnerability. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + description: '' + put: + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_update + description: REST API viewset for VulnerabilityLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Vulnerability. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + description: '' + patch: + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_partial_update + description: REST API viewset for VulnerabilityLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Vulnerability. + required: true + tags: + - plugins + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedVulnerabilityLCM' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedVulnerabilityLCM' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedVulnerabilityLCM' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + description: '' + delete: + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_destroy + description: REST API viewset for VulnerabilityLCM records. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this Vulnerability. + required: true + tags: + - plugins + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /status/: + get: + operationId: status_retrieve + description: A lightweight read-only endpoint for conveying the current operational + status. + tags: + - status + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + type: object + properties: + django-version: + type: string + installed-apps: + type: object + nautobot-version: + type: string + plugins: + type: object + python-version: + type: string + rq-workers-running: + type: integer + celery-workers-running: + type: integer + description: '' + /swagger/: + get: + operationId: swagger_retrieve + description: |- + OpenApi3 schema for this API. Format can be selected via content negotiation. + + - YAML: application/vnd.oai.openapi + - JSON: application/vnd.oai.openapi+json + parameters: + - in: query + name: format + schema: + type: string + enum: + - json + - yaml + - in: query + name: lang + schema: + type: string + 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 + tags: + - swagger + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + responses: + '200': + content: + application/vnd.oai.openapi; version=1.3: + schema: + type: object + additionalProperties: {} + application/yaml; version=1.3: + schema: + type: object + additionalProperties: {} + application/vnd.oai.openapi+json; version=1.3: + schema: + type: object + additionalProperties: {} + application/json; version=1.3: + schema: + type: object + additionalProperties: {} + description: '' + /swagger.json: + get: + operationId: swagger.json_retrieve + description: |- + OpenApi3 schema for this API. Format can be selected via content negotiation. + + - YAML: application/vnd.oai.openapi + - JSON: application/vnd.oai.openapi+json + parameters: + - in: query + name: lang + schema: + type: string + 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 + tags: + - swagger.json + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + responses: + '200': + content: + application/vnd.oai.openapi+json; version=1.3: + schema: + type: object + additionalProperties: {} + application/json; version=1.3: + schema: + type: object + additionalProperties: {} + description: '' + /swagger.yaml: + get: + operationId: swagger.yaml_retrieve + description: |- + OpenApi3 schema for this API. Format can be selected via content negotiation. + + - YAML: application/vnd.oai.openapi + - JSON: application/vnd.oai.openapi+json + parameters: + - in: query + name: lang + schema: + type: string + 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 + tags: + - swagger.yaml + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + responses: + '200': + content: + application/vnd.oai.openapi; version=1.3: + schema: + type: object + additionalProperties: {} + application/yaml; version=1.3: + schema: + type: object + additionalProperties: {} + description: '' + /tenancy/tenant-groups/: + get: + operationId: tenancy_tenant_groups_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: parent + schema: + type: array + items: + type: string + description: Tenant group group (slug) + explode: true + style: form + - in: query + name: parent__n + schema: + type: array + items: + type: string + description: Tenant group group (slug) + explode: true + style: form + - in: query + name: parent_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant group (ID) + explode: true + style: form + - in: query + name: parent_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant group (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - tenancy + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedTenantGroupList' + description: '' + post: + operationId: tenancy_tenant_groups_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenantGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableTenantGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTenantGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + put: + operationId: tenancy_tenant_groups_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenantGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableTenantGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTenantGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + patch: + operationId: tenancy_tenant_groups_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableTenantGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableTenantGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableTenantGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + delete: + operationId: tenancy_tenant_groups_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - tenancy + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /tenancy/tenant-groups/{id}/: + get: + operationId: tenancy_tenant_groups_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tenant group. + required: true + tags: + - tenancy + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + put: + operationId: tenancy_tenant_groups_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tenant group. + required: true + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenantGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableTenantGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTenantGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + patch: + operationId: tenancy_tenant_groups_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tenant group. + required: true + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableTenantGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableTenantGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableTenantGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + delete: + operationId: tenancy_tenant_groups_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tenant group. + required: true + tags: + - tenancy + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /tenancy/tenants/: + get: + operationId: tenancy_tenants_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: group + schema: + type: array + items: + type: string + format: uuid + description: Tenant group (slug) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant group (slug) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant group (ID) + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant group (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - tenancy + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedTenantList' + description: '' + post: + operationId: tenancy_tenants_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableTenant' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTenant' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + put: + operationId: tenancy_tenants_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableTenant' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTenant' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + patch: + operationId: tenancy_tenants_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableTenant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableTenant' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableTenant' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + delete: + operationId: tenancy_tenants_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - tenancy + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /tenancy/tenants/{id}/: + get: + operationId: tenancy_tenants_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tenant. + required: true + tags: + - tenancy + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + put: + operationId: tenancy_tenants_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tenant. + required: true + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableTenant' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTenant' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + patch: + operationId: tenancy_tenants_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tenant. + required: true + tags: + - tenancy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableTenant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableTenant' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableTenant' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + delete: + operationId: tenancy_tenants_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this tenant. + required: true + tags: + - tenancy + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /users/config/: + get: + operationId: users_config_retrieve + description: Return the config_data for the currently authenticated User. + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + type: object + additionalProperties: {} + description: '' + /users/groups/: + get: + operationId: users_groups_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: id + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: id__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGroupList' + description: '' + post: + operationId: users_groups_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Group' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Group' + multipart/form-data: + schema: + $ref: '#/components/schemas/Group' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + put: + operationId: users_groups_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Group' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Group' + multipart/form-data: + schema: + $ref: '#/components/schemas/Group' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + patch: + operationId: users_groups_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + delete: + operationId: users_groups_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /users/groups/{id}/: + get: + operationId: users_groups_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this group. + required: true + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + put: + operationId: users_groups_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this group. + required: true + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Group' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Group' + multipart/form-data: + schema: + $ref: '#/components/schemas/Group' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + patch: + operationId: users_groups_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this group. + required: true + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + delete: + operationId: users_groups_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this group. + required: true + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /users/permissions/: + get: + operationId: users_permissions_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: enabled + schema: + type: boolean + - in: query + name: group + schema: + type: array + items: + type: string + description: Group (name) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + description: Group (name) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: integer + description: Group + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: integer + description: Group + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_types + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: object_types__n + schema: + type: array + items: + type: integer + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: user + schema: + type: array + items: + type: string + description: User (name) + explode: true + style: form + - in: query + name: user__n + schema: + type: array + items: + type: string + description: User (name) + explode: true + style: form + - in: query + name: user_id + schema: + type: array + items: + type: string + format: uuid + description: User + explode: true + style: form + - in: query + name: user_id__n + schema: + type: array + items: + type: string + format: uuid + description: User + explode: true + style: form + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedObjectPermissionList' + description: '' + post: + operationId: users_permissions_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableObjectPermission' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableObjectPermission' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableObjectPermission' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + put: + operationId: users_permissions_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableObjectPermission' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableObjectPermission' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableObjectPermission' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + patch: + operationId: users_permissions_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableObjectPermission' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableObjectPermission' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableObjectPermission' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + delete: + operationId: users_permissions_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /users/permissions/{id}/: + get: + operationId: users_permissions_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this permission. + required: true + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + put: + operationId: users_permissions_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this permission. + required: true + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableObjectPermission' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableObjectPermission' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableObjectPermission' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + patch: + operationId: users_permissions_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this permission. + required: true + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableObjectPermission' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableObjectPermission' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableObjectPermission' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + delete: + operationId: users_permissions_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this permission. + required: true + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /users/tokens/: + get: + operationId: users_tokens_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__gt + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__gte + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__lt + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__lte + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__n + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: expires + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: expires__gt + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: expires__gte + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: expires__lt + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: expires__lte + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: expires__n + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: key + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: key__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: write_enabled + schema: + type: boolean + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedTokenList' + description: '' + post: + operationId: users_tokens_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Token' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Token' + multipart/form-data: + schema: + $ref: '#/components/schemas/Token' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + put: + operationId: users_tokens_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Token' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Token' + multipart/form-data: + schema: + $ref: '#/components/schemas/Token' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + patch: + operationId: users_tokens_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedToken' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedToken' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedToken' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + delete: + operationId: users_tokens_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + responses: + '204': + description: No response body + /users/tokens/{id}/: + get: + operationId: users_tokens_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this token. + required: true + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + put: + operationId: users_tokens_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this token. + required: true + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Token' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Token' + multipart/form-data: + schema: + $ref: '#/components/schemas/Token' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + patch: + operationId: users_tokens_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this token. + required: true + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedToken' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedToken' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedToken' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + delete: + operationId: users_tokens_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this token. + required: true + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + responses: + '204': + description: No response body + /users/users/: + get: + operationId: users_users_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: email + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: first_name__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group + schema: + type: array + items: + type: string + description: Group (name) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + description: Group (name) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: integer + description: Group + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: integer + description: Group + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: is_active + schema: + type: boolean + - in: query + name: is_staff + schema: + type: boolean + - in: query + name: last_name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: last_name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: username + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: username__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedUserList' + description: '' + post: + operationId: users_users_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableUser' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableUser' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableUser' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + put: + operationId: users_users_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableUser' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableUser' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableUser' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + patch: + operationId: users_users_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableUser' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableUser' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableUser' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + delete: + operationId: users_users_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /users/users/{id}/: + get: + operationId: users_users_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this user. + required: true + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + put: + operationId: users_users_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this user. + required: true + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableUser' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableUser' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableUser' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + patch: + operationId: users_users_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this user. + required: true + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableUser' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableUser' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableUser' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + delete: + operationId: users_users_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this user. + required: true + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/cluster-groups/: + get: + operationId: virtualization_cluster_groups_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedClusterGroupList' + description: '' + post: + operationId: virtualization_cluster_groups_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + put: + operationId: virtualization_cluster_groups_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + patch: + operationId: virtualization_cluster_groups_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedClusterGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedClusterGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedClusterGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + delete: + operationId: virtualization_cluster_groups_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/cluster-groups/{id}/: + get: + operationId: virtualization_cluster_groups_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster group. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + put: + operationId: virtualization_cluster_groups_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster group. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterGroup' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + patch: + operationId: virtualization_cluster_groups_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster group. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedClusterGroup' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedClusterGroup' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedClusterGroup' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + delete: + operationId: virtualization_cluster_groups_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster group. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/cluster-types/: + get: + operationId: virtualization_cluster_types_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__re + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__re + schema: + type: array + items: + type: string + explode: true + style: form + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedClusterTypeList' + description: '' + post: + operationId: virtualization_cluster_types_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterType' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterType' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + put: + operationId: virtualization_cluster_types_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterType' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterType' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + patch: + operationId: virtualization_cluster_types_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedClusterType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedClusterType' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedClusterType' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + delete: + operationId: virtualization_cluster_types_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/cluster-types/{id}/: + get: + operationId: virtualization_cluster_types_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster type. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + put: + operationId: virtualization_cluster_types_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster type. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterType' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterType' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + patch: + operationId: virtualization_cluster_types_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster type. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedClusterType' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedClusterType' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedClusterType' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + delete: + operationId: virtualization_cluster_types_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster type. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/clusters/: + get: + operationId: virtualization_clusters_list + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: group + schema: + type: array + items: + type: string + description: Parent group (slug) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + description: Parent group (slug) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Parent group (ID) + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Parent group (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: type_id + schema: + type: array + items: + type: string + format: uuid + description: Cluster type (ID) + explode: true + style: form + - in: query + name: type_id__n + schema: + type: array + items: + type: string + format: uuid + description: Cluster type (ID) + explode: true + style: form + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedClusterList' + description: '' + post: + operationId: virtualization_clusters_create + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCluster' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCluster' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCluster' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + put: + operationId: virtualization_clusters_bulk_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCluster' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCluster' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCluster' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + patch: + operationId: virtualization_clusters_bulk_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCluster' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCluster' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCluster' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + delete: + operationId: virtualization_clusters_bulk_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/clusters/{id}/: + get: + operationId: virtualization_clusters_retrieve + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + put: + operationId: virtualization_clusters_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCluster' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableCluster' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableCluster' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + patch: + operationId: virtualization_clusters_partial_update + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCluster' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableCluster' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableCluster' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + delete: + operationId: virtualization_clusters_destroy + description: Include the applicable set of CustomFields in the ModelViewSet + context. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/interfaces/: + get: + operationId: virtualization_interfaces_list + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: query + name: cluster + schema: + type: array + items: + type: string + description: Cluster + explode: true + style: form + - in: query + name: cluster__n + schema: + type: array + items: + type: string + description: Cluster + explode: true + style: form + - in: query + name: cluster_id + schema: + type: array + items: + type: string + format: uuid + description: Cluster (ID) + explode: true + style: form + - in: query + name: cluster_id__n + schema: + type: array + items: + type: string + format: uuid + description: Cluster (ID) + explode: true + style: form + - in: query + name: enabled + schema: + type: boolean + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: mac_address + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__ic + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__ie + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__iew + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__ire + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__isw + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__n + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nic + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nie + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__niew + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nire + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nisw + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nre + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__re + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mtu + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: mtu__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: virtual_machine + schema: + type: array + items: + type: string + description: Virtual machine + explode: true + style: form + - in: query + name: virtual_machine__n + schema: + type: array + items: + type: string + description: Virtual machine + explode: true + style: form + - in: query + name: virtual_machine_id + schema: + type: array + items: + type: string + format: uuid + description: Virtual machine (ID) + explode: true + style: form + - in: query + name: virtual_machine_id__n + schema: + type: array + items: + type: string + format: uuid + description: Virtual machine (ID) + explode: true + style: form + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVMInterfaceList' + description: '' + post: + operationId: virtualization_interfaces_create + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVMInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVMInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVMInterface' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterface' + description: '' + put: + operationId: virtualization_interfaces_bulk_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVMInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVMInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVMInterface' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterface' + description: '' + patch: + operationId: virtualization_interfaces_bulk_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVMInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVMInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVMInterface' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterface' + description: '' + delete: + operationId: virtualization_interfaces_bulk_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/interfaces/{id}/: + get: + operationId: virtualization_interfaces_retrieve + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VM interface. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterface' + description: '' + put: + operationId: virtualization_interfaces_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VM interface. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVMInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVMInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVMInterface' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterface' + description: '' + patch: + operationId: virtualization_interfaces_partial_update + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VM interface. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVMInterface' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVMInterface' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVMInterface' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterface' + description: '' + delete: + operationId: virtualization_interfaces_destroy + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this VM interface. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/virtual-machines/: + get: + operationId: virtualization_virtual_machines_list + 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. + parameters: + - in: query + name: cluster + schema: + type: string + format: uuid + - in: query + name: cluster__n + schema: + type: string + format: uuid + - in: query + name: cluster_group + schema: + type: array + items: + type: string + description: Cluster group (slug) + explode: true + style: form + - in: query + name: cluster_group__n + schema: + type: array + items: + type: string + description: Cluster group (slug) + explode: true + style: form + - in: query + name: cluster_group_id + schema: + type: array + items: + type: string + format: uuid + description: Cluster group (ID) + explode: true + style: form + - in: query + name: cluster_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Cluster group (ID) + explode: true + style: form + - in: query + name: cluster_id + schema: + type: array + items: + type: string + format: uuid + description: Cluster (ID) + explode: true + style: form + - in: query + name: cluster_id__n + schema: + type: array + items: + type: string + format: uuid + description: Cluster (ID) + explode: true + style: form + - in: query + name: cluster_type + schema: + type: array + items: + type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: cluster_type__n + schema: + type: array + items: + type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: cluster_type_id + schema: + type: array + items: + type: string + format: uuid + description: Cluster type (ID) + explode: true + style: form + - in: query + name: cluster_type_id__n + schema: + type: array + items: + type: string + format: uuid + description: Cluster type (ID) + explode: true + style: form + - in: query + name: created + schema: + type: string + format: date + - in: query + name: created__gte + schema: + type: string + format: date + - in: query + name: created__lte + schema: + type: string + format: date + - in: query + name: disk + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: disk__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: disk__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: disk__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: disk__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: disk__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: has_primary_ip + schema: + type: boolean + description: Has a primary IP + - in: query + name: id + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__iew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__ire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__isw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nic + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nie + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__niew + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nire + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nisw + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__nre + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: id__re + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: last_updated + schema: + type: string + format: date-time + - in: query + name: last_updated__gte + schema: + type: string + format: date-time + - in: query + name: last_updated__lte + schema: + type: string + format: date-time + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: local_context_data + schema: + type: boolean + description: Has local config context data + - in: query + name: local_context_schema + schema: + type: array + items: + type: string + description: Schema (slug) + explode: true + style: form + - in: query + name: local_context_schema__n + schema: + type: array + items: + type: string + description: Schema (slug) + explode: true + style: form + - in: query + name: local_context_schema_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Schema (ID) + explode: true + style: form + - in: query + name: local_context_schema_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Schema (ID) + explode: true + style: form + - in: query + name: mac_address + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__ic + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__ie + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__iew + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__ire + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__isw + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__n + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nic + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nie + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__niew + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nire + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nisw + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__nre + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: mac_address__re + schema: + type: array + items: + type: string + nullable: true + description: MAC address + explode: true + style: form + - in: query + name: memory + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: memory__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: memory__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: memory__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: memory__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: memory__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__ire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nire + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__nre + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__re + schema: + type: array + items: + type: string + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform__n + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Platform (ID) + explode: true + style: form + - in: query + name: platform_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Platform (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + format: uuid + description: Region (slug) + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + format: uuid + description: Region (ID) + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: string + format: uuid + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + format: uuid + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + format: uuid + description: Tenant Group (ID) + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: string + format: uuid + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: vcpus + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vcpus__gt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vcpus__gte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vcpus__lt + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vcpus__lte + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: vcpus__n + schema: + type: array + items: + type: integer + explode: true + style: form + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVirtualMachineWithConfigContextList' + description: '' + post: + operationId: virtualization_virtual_machines_create + 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. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContext' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + put: + operationId: virtualization_virtual_machines_bulk_update + 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. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContext' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + patch: + operationId: virtualization_virtual_machines_bulk_partial_update + 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. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContext' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + delete: + operationId: virtualization_virtual_machines_bulk_destroy + 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. + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /virtualization/virtual-machines/{id}/: + get: + operationId: virtualization_virtual_machines_retrieve + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this virtual machine. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + put: + operationId: virtualization_virtual_machines_update + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this virtual machine. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContext' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + patch: + operationId: virtualization_virtual_machines_partial_update + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this virtual machine. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContext' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContext' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContext' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + delete: + operationId: virtualization_virtual_machines_destroy + 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. + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this virtual machine. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body +components: + schemas: + AccessGrant: + type: object + description: API serializer for interacting with AccessGrant objects. + properties: + id: + type: string + format: uuid + readOnly: true + command: + type: string + description: Enter * to grant access to all commands + maxLength: 64 + subcommand: + type: string + description: Enter * to grant access to all subcommands of the + given command + maxLength: 64 + grant_type: + $ref: '#/components/schemas/GrantTypeEnum' + name: + type: string + description: Organization name, channel name, or user name + maxLength: 255 + value: + type: string + description: Corresponding ID value to grant access to.
Enter * + to grant access to all organizations, channels, or users + maxLength: 255 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - command + - display + - grant_type + - id + - name + - subcommand + - value + AccessTypeEnum: + enum: + - Generic + - Console + - gNMI + - HTTP(S) + - NETCONF + - REST + - RESTCONF + - SNMP + - SSH + type: string + Aggregate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + type: object + properties: + value: + type: integer + enum: + - 4 + - 6 + label: + type: string + enum: + - IPv4 + - IPv6 + readOnly: true + prefix: + type: string + rir: + $ref: '#/components/schemas/NestedRIR' + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + date_added: + type: string + format: date + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - family + - id + - last_updated + - prefix + - rir + - url + AvailableIP: + type: object + description: Representation of an IP address which does not exist in the database. + properties: + family: + type: integer + readOnly: true + address: + type: string + readOnly: true + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRF' + readOnly: true + required: + - address + - family + - vrf + AvailablePrefix: + type: object + description: Representation of a prefix which does not exist in the database. + properties: + family: + type: integer + readOnly: true + prefix: + type: string + readOnly: true + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRF' + readOnly: true + required: + - family + - prefix + - vrf + BlankEnum: + enum: + - '' + ButtonClassEnum: + enum: + - default + - primary + - success + - info + - warning + - danger + - link + type: string + CVELCM: + type: object + description: REST API serializer for CVELCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 16 + published_date: + type: string + format: date + link: + type: string + format: uri + maxLength: 200 + status: + type: object + properties: + value: + type: string + enum: [] + label: + type: string + enum: [] + description: + type: string + nullable: true + maxLength: 255 + severity: + type: string + maxLength: 50 + cvss: + type: number + format: double + nullable: true + title: CVSS Base Score + cvss_v2: + type: number + format: double + nullable: true + title: CVSSv2 Score + cvss_v3: + type: number + format: double + nullable: true + title: CVSSv3 Score + fix: + type: string + nullable: true + maxLength: 255 + comments: + type: string + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - link + - name + - published_date + - url + Cable: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + termination_a_type: + type: string + termination_a_id: + type: string + format: uuid + termination_a: + type: object + additionalProperties: {} + nullable: true + readOnly: true + termination_b_type: + type: string + termination_b_id: + type: string + format: uuid + termination_b: + type: object + additionalProperties: {} + nullable: true + readOnly: true + type: + oneOf: + - $ref: '#/components/schemas/CableTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + status: + type: object + properties: + value: + type: string + enum: + - connected + - decommissioning + - planned + label: + type: string + enum: + - Connected + - Decommissioning + - Planned + label: + type: string + maxLength: 100 + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + length: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + length_unit: + type: object + properties: + value: + type: string + enum: + - m + - cm + - ft + - in + label: + type: string + enum: + - Meters + - Centimeters + - Feet + - Inches + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - status + - termination_a + - termination_a_id + - termination_a_type + - termination_b + - termination_b_id + - termination_b_type + - url + 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 + Circuit: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + cid: + type: string + title: Circuit ID + maxLength: 100 + provider: + $ref: '#/components/schemas/NestedProvider' + type: + $ref: '#/components/schemas/NestedCircuitType' + status: + type: object + properties: + value: + type: string + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + label: + type: string + enum: + - Active + - Decommissioned + - Deprovisioning + - Offline + - Planned + - Provisioning + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + install_date: + type: string + format: date + nullable: true + title: Date installed + commit_rate: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + description: + type: string + maxLength: 200 + termination_a: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + termination_z: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cid + - created + - display + - id + - last_updated + - provider + - status + - termination_a + - termination_z + - type + - url + CircuitCircuitTermination: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + site: + $ref: '#/components/schemas/NestedSite' + provider_network: + $ref: '#/components/schemas/NestedProviderNetwork' + connected_endpoint: + $ref: '#/components/schemas/NestedInterface' + port_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + upstream_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + description: Upstream speed, if different from port speed + xconnect_id: + type: string + title: Cross-connect ID + maxLength: 50 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - connected_endpoint + - display + - id + - provider_network + - site + - url + CircuitMaintenance: + type: object + description: Serializer for API. + properties: + id: + type: string + format: uuid + readOnly: true + name: + type: string + maxLength: 100 + start_time: + type: string + format: date-time + end_time: + type: string + format: date-time + description: + type: string + nullable: true + status: + nullable: true + oneOf: + - $ref: '#/components/schemas/CircuitMaintenanceStatusEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + ack: + type: boolean + nullable: true + required: + - end_time + - id + - start_time + CircuitMaintenanceCircuitImpact: + type: object + description: Serializer for API. + properties: + id: + type: string + format: uuid + readOnly: true + maintenance: + type: string + format: uuid + circuit: + type: string + format: uuid + impact: + nullable: true + oneOf: + - $ref: '#/components/schemas/ImpactEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + required: + - circuit + - id + - maintenance + CircuitMaintenanceStatusEnum: + enum: + - TENTATIVE + - CONFIRMED + - CANCELLED + - IN-PROCESS + - COMPLETED + - RE-SCHEDULED + - UNKNOWN + type: string + CircuitTermination: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + circuit: + $ref: '#/components/schemas/NestedCircuit' + term_side: + allOf: + - $ref: '#/components/schemas/TermSideEnum' + title: Termination + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + provider_network: + allOf: + - $ref: '#/components/schemas/NestedProviderNetwork' + nullable: true + port_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + upstream_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + description: Upstream speed, if different from port speed + xconnect_id: + type: string + title: Cross-connect ID + maxLength: 50 + pp_info: + type: string + title: Patch panel/port(s) + maxLength: 100 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - circuit + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - display + - id + - term_side + - url + CircuitType: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + circuit_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - circuit_count + - created + - display + - id + - last_updated + - name + - url + Cluster: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + type: + $ref: '#/components/schemas/NestedClusterType' + group: + allOf: + - $ref: '#/components/schemas/NestedClusterGroup' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - device_count + - display + - id + - last_updated + - name + - type + - url + - virtualmachine_count + ClusterGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + cluster_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cluster_count + - created + - display + - id + - last_updated + - name + - url + ClusterType: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + cluster_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cluster_count + - created + - display + - id + - last_updated + - name + - url + CommandToken: + type: object + description: API serializer for interacting with CommandToken objects. + properties: + id: + type: string + format: uuid + readOnly: true + comment: + type: string + description: 'Optional: Enter description of token' + maxLength: 255 + platform: + $ref: '#/components/schemas/PlatformEnum' + token: + type: string + description: Token given by chat platform for signing or command validation + maxLength: 255 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - platform + - token + ComplianceFeature: + type: object + description: Serializer for ComplianceFeature object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - slug + - url + ComplianceRule: + type: object + description: Serializer for ComplianceRule object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + description: + type: string + maxLength: 200 + config_ordered: + type: boolean + title: Configured Ordered + description: Whether or not the configuration order matters, such as in + ACLs. + match_config: + type: string + nullable: true + title: Config to Match + description: The config to match that is matched based on the parent most + configuration. e.g. `router bgp` or `ntp`. + config_type: + allOf: + - $ref: '#/components/schemas/ConfigTypeEnum' + description: Whether the config is in cli or json/structured format. + feature: + type: string + format: uuid + platform: + type: string + format: uuid + required: + - computed_fields + - config_ordered + - created + - display + - feature + - id + - last_updated + - platform + - url + ComputedField: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + slug: + type: string + description: Internal field name + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + label: + type: string + description: Name of the field as displayed to users + maxLength: 100 + description: + type: string + maxLength: 200 + content_type: + type: string + template: + type: string + description: Jinja2 template code for field value + maxLength: 500 + fallback_value: + type: string + description: Fallback value (if any) to be output for the field in the case + of a template rendering error. + maxLength: 500 + weight: + type: integer + maximum: 32767 + minimum: 0 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_type + - display + - id + - label + - template + - url + ConfigCompliance: + type: object + description: Serializer for ConfigCompliance object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + compliance: + type: boolean + nullable: true + actual: + type: object + additionalProperties: {} + description: Actual Configuration for feature + intended: + type: object + additionalProperties: {} + description: Intended Configuration for feature + missing: + type: object + additionalProperties: {} + description: Configuration that should be on the device. + extra: + type: object + additionalProperties: {} + description: Configuration that should not be on the device. + ordered: + type: boolean + compliance_int: + type: integer + maximum: 2147483647 + minimum: -2147483648 + nullable: true + device: + type: string + format: uuid + description: The device + rule: + type: string + format: uuid + required: + - computed_fields + - created + - device + - display + - id + - last_updated + - rule + ConfigContext: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + owner_content_type: + type: string + nullable: true + owner_object_id: + type: string + format: uuid + nullable: true + owner: + type: object + additionalProperties: {} + nullable: true + readOnly: true + weight: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchema' + nullable: true + is_active: + type: boolean + regions: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + site_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - display + - id + - name + - site_count + - url + sites: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + roles: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_count + - display + - id + - name + - url + - virtualmachine_count + device_types: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturer' + readOnly: true + model: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + device_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_count + - display + - id + - manufacturer + - model + - slug + - url + platforms: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_count + - display + - id + - name + - url + - virtualmachine_count + cluster_groups: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + cluster_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cluster_count + - display + - id + - name + - url + clusters: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + virtualmachine_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + - virtualmachine_count + tenant_groups: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + tenant_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - display + - id + - name + - tenant_count + - url + tenants: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + tags: + type: array + items: + type: string + data: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - data + - display + - id + - last_updated + - name + - owner + - url + ConfigContextSchema: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 200 + slug: + type: string + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + owner_content_type: + type: string + nullable: true + owner_object_id: + type: string + format: uuid + nullable: true + owner: + type: object + additionalProperties: {} + nullable: true + readOnly: true + description: + type: string + maxLength: 200 + data_schema: + type: object + additionalProperties: {} + description: A JSON Schema document which is used to validate a config context + object. + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - data_schema + - display + - id + - last_updated + - name + - owner + - url + ConfigRemove: + type: object + description: Serializer for ConfigRemove object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + name: + type: string + maxLength: 255 + description: + type: string + maxLength: 200 + regex: + type: string + title: Regex Pattern + description: Regex pattern used to remove a line from the backup configuration. + maxLength: 200 + platform: + type: string + format: uuid + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - platform + - regex + - url + ConfigReplace: + type: object + description: Serializer for ConfigReplace object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + name: + type: string + maxLength: 255 + description: + type: string + maxLength: 200 + regex: + type: string + title: Regex Pattern to Substitute + description: Regex pattern that will be found and replaced with 'replaced + text'. + maxLength: 200 + replace: + type: string + title: Replaced Text + description: Text that will be inserted in place of Regex pattern match. + maxLength: 200 + platform: + type: string + format: uuid + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - platform + - regex + - replace + - url + ConfigTypeEnum: + enum: + - cli + - json + - custom + type: string + ConsolePort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + $ref: '#/components/schemas/NestedDevice' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - device + - display + - id + - name + - url + ConsolePortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + $ref: '#/components/schemas/NestedDeviceType' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - url + 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: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + $ref: '#/components/schemas/NestedDevice' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - device + - display + - id + - name + - url + ConsoleServerPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + $ref: '#/components/schemas/NestedDeviceType' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - url + ContactLCM: + type: object + description: API serializer. + properties: + name: + type: string + nullable: true + maxLength: 80 + address: + type: string + maxLength: 200 + phone: + type: string + maxLength: 20 + email: + type: string + format: email + title: Contact E-mail + maxLength: 254 + comments: + type: string + priority: + type: integer + maximum: 2147483647 + minimum: 0 + contract: + allOf: + - $ref: '#/components/schemas/NestedContractLCM' + description: Associated Contract + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - contract + - display + - name + ContentType: + type: object + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + app_label: + type: string + maxLength: 100 + model: + type: string + title: Python model class name + maxLength: 100 + display: + type: string + readOnly: true + required: + - app_label + - display + - id + - model + - url + ContractLCM: + type: object + description: API serializer. + properties: + id: + type: string + format: uuid + readOnly: true + provider: + allOf: + - $ref: '#/components/schemas/NestedProviderLCM' + description: Vendor + name: + type: string + maxLength: 100 + start: + type: string + format: date + nullable: true + title: Contract Start Date + end: + type: string + format: date + nullable: true + title: Contract End Date + cost: + type: string + format: decimal + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + nullable: true + title: Contract Cost + support_level: + type: string + nullable: true + maxLength: 64 + contract_type: + type: string + nullable: true + maxLength: 32 + expired: + type: string + readOnly: true + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - expired + - id + - name + - provider + CustomField: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_types: + type: array + items: + type: string + type: + type: object + properties: + value: + type: string + enum: + - text + - integer + - boolean + - date + - url + - select + - multi-select + - json + label: + type: string + enum: + - Text + - Integer + - Boolean (true/false) + - Date + - URL + - Selection + - Multiple selection + - JSON + name: + type: string + title: Slug + description: URL-friendly unique shorthand. + maxLength: 50 + label: + type: string + description: Name of the field as displayed to users (if not provided, the + field's slug will be used.) + maxLength: 50 + description: + type: string + description: A helpful description for this field. + maxLength: 200 + required: + type: boolean + description: If true, this field is required when creating new objects or + editing an existing object. + filter_logic: + type: object + properties: + value: + type: string + enum: + - disabled + - loose + - exact + label: + type: string + enum: + - Disabled + - Loose + - Exact + default: + type: object + additionalProperties: {} + nullable: true + description: Default value for the field (must be a JSON value). Encapsulate + strings with double quotes (e.g. "Foo"). + weight: + type: integer + maximum: 32767 + minimum: 0 + description: Fields with higher weights appear lower in a form. + validation_minimum: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + title: Minimum value + description: Minimum allowed value (for numeric fields). + validation_maximum: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + title: Maximum value + description: Maximum allowed value (for numeric fields). + validation_regex: + type: string + 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 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_types + - display + - id + - name + - type + - url + CustomFieldChoice: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + field: + $ref: '#/components/schemas/NestedCustomField' + value: + type: string + maxLength: 100 + weight: + type: integer + maximum: 32767 + minimum: 0 + description: Higher weights appear later in the list + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - field + - id + - url + - value + CustomFieldTypeChoices: + enum: + - text + - integer + - boolean + - date + - url + - select + - multi-select + - json + type: string + CustomLink: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + target_url: + type: string + title: URL + description: Jinja2 template code for link URL. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. + maxLength: 500 + name: + type: string + maxLength: 100 + content_type: + type: string + text: + type: string + 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 + weight: + type: integer + maximum: 32767 + minimum: 0 + group_name: + type: string + description: Links with the same group will appear as a dropdown menu + maxLength: 50 + button_class: + allOf: + - $ref: '#/components/schemas/ButtonClassEnum' + description: The class of the first link in a group will be used for the + dropdown button + new_window: + type: boolean + description: Force link to open in a new window + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_type + - display + - id + - name + - new_window + - target_url + - text + - url + Device: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + nullable: true + maxLength: 64 + device_type: + $ref: '#/components/schemas/NestedDeviceType' + device_role: + $ref: '#/components/schemas/NestedDeviceRole' + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatform' + nullable: true + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this device + maxLength: 50 + site: + $ref: '#/components/schemas/NestedSite' + rack: + allOf: + - $ref: '#/components/schemas/NestedRack' + nullable: true + position: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + description: The lowest-numbered unit occupied by the device + face: + type: object + properties: + value: + type: string + enum: + - front + - rear + label: + type: string + enum: + - Front + - Rear + parent_device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + status: + type: object + properties: + value: + type: string + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + label: + type: string + enum: + - Active + - Decommissioning + - Failed + - Inventory + - Offline + - Planned + - Staged + 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 + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroup' + nullable: true + cluster: + allOf: + - $ref: '#/components/schemas/NestedCluster' + nullable: true + virtual_chassis: + allOf: + - $ref: '#/components/schemas/NestedVirtualChassis' + nullable: true + vc_position: + type: integer + maximum: 255 + minimum: 0 + nullable: true + vc_priority: + type: integer + maximum: 255 + minimum: 0 + nullable: true + comments: + type: string + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchema' + nullable: true + local_context_data: + type: object + additionalProperties: {} + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - device_role + - device_type + - display + - id + - last_updated + - parent_device + - primary_ip + - site + - status + - url + DeviceBay: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + $ref: '#/components/schemas/NestedDevice' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + description: + type: string + maxLength: 200 + installed_device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device + - display + - id + - name + - url + DeviceBayTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + $ref: '#/components/schemas/NestedDeviceType' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - url + DeviceNAPALM: + type: object + properties: + method: + type: object + additionalProperties: {} + required: + - method + DeviceRole: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + vm_role: + type: boolean + description: Virtual machines may be assigned to this role + description: + type: string + maxLength: 200 + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - device_count + - display + - id + - last_updated + - name + - url + - virtualmachine_count + DeviceType: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + manufacturer: + $ref: '#/components/schemas/NestedManufacturer' + model: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + part_number: + type: string + description: Discrete part number (optional) + maxLength: 50 + u_height: + type: integer + maximum: 32767 + minimum: 0 + title: Height (U) + is_full_depth: + type: boolean + description: Device consumes both front and rear rack faces + subdevice_role: + type: object + properties: + value: + type: string + enum: + - parent + - child + label: + type: string + enum: + - Parent + - Child + front_image: + type: string + format: uri + rear_image: + type: string + format: uri + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + device_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - device_count + - display + - id + - last_updated + - manufacturer + - model + - url + DeviceWithConfigContext: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + nullable: true + maxLength: 64 + device_type: + $ref: '#/components/schemas/NestedDeviceType' + device_role: + $ref: '#/components/schemas/NestedDeviceRole' + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatform' + nullable: true + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this device + maxLength: 50 + site: + $ref: '#/components/schemas/NestedSite' + rack: + allOf: + - $ref: '#/components/schemas/NestedRack' + nullable: true + position: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + description: The lowest-numbered unit occupied by the device + face: + type: object + properties: + value: + type: string + enum: + - front + - rear + label: + type: string + enum: + - Front + - Rear + parent_device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + status: + type: object + properties: + value: + type: string + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + label: + type: string + enum: + - Active + - Decommissioning + - Failed + - Inventory + - Offline + - Planned + - Staged + 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 + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroup' + nullable: true + cluster: + allOf: + - $ref: '#/components/schemas/NestedCluster' + nullable: true + virtual_chassis: + allOf: + - $ref: '#/components/schemas/NestedVirtualChassis' + nullable: true + vc_position: + type: integer + maximum: 255 + minimum: 0 + nullable: true + vc_priority: + type: integer + maximum: 255 + minimum: 0 + nullable: true + comments: + type: string + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchema' + nullable: true + local_context_data: + type: object + additionalProperties: {} + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + config_context: + type: object + additionalProperties: {} + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - config_context + - created + - device_role + - device_type + - display + - id + - last_updated + - parent_device + - primary_ip + - site + - status + - url + DynamicGroup: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Dynamic Group name + maxLength: 100 + slug: + type: string + description: Unique slug + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + content_type: + type: string + filter: + type: object + additionalProperties: {} + description: A JSON-encoded dictionary of filter parameters for group membership + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_type + - display + - filter + - id + - name + - url + ExportTemplate: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_type: + type: string + owner_content_type: + type: string + nullable: true + owner_object_id: + type: string + format: uuid + nullable: true + owner: + type: object + additionalProperties: {} + nullable: true + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + template_code: + type: string + description: The list of objects being exported is passed as a context variable + named queryset. + mime_type: + type: string + description: Defaults to text/plain + maxLength: 50 + file_extension: + type: string + description: Extension to append to the rendered filename + maxLength: 15 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_type + - display + - id + - name + - owner + - template_code + - url + FaceEnum: + enum: + - front + - rear + type: string + FamilyEnum: + type: integer + enum: + - 4 + - 6 + FeedLegEnum: + enum: + - A + - B + - C + type: string + FilterLogicEnum: + enum: + - disabled + - loose + - exact + type: string + FrontPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + $ref: '#/components/schemas/NestedDevice' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + rear_port: + $ref: '#/components/schemas/FrontPortRearPort' + rear_port_position: + type: integer + maximum: 1024 + minimum: 1 + default: 1 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - device + - display + - id + - name + - rear_port + - type + - url + FrontPortRearPort: + type: object + description: NestedRearPortSerializer but with parent device omitted (since + front and rear ports must belong to same device) + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + FrontPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + $ref: '#/components/schemas/NestedDeviceType' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + rear_port: + $ref: '#/components/schemas/NestedRearPortTemplate' + rear_port_position: + type: integer + maximum: 1024 + minimum: 1 + default: 1 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - rear_port + - type + - url + GitRepository: + type: object + description: Git repositories defined as a data source. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + remote_url: + type: string + format: uri + description: Only HTTP and HTTPS URLs are presently supported + maxLength: 255 + branch: + type: string + maxLength: 64 + token: + type: string + writeOnly: true + username: + type: string + maxLength: 64 + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroup' + nullable: true + current_head: + type: string + description: Commit hash of the most recent fetch from the selected branch. + Used for syncing between workers. + maxLength: 48 + provided_contents: + type: array + items: + oneOf: + - $ref: '#/components/schemas/ProvidedContentsEnum' + - $ref: '#/components/schemas/BlankEnum' + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - remote_url + - url + GoldenConfig: + type: object + description: Serializer for GoldenConfig object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + backup_config: + type: string + description: Full backup config for device. + backup_last_attempt_date: + type: string + format: date-time + nullable: true + backup_last_success_date: + type: string + format: date-time + nullable: true + intended_config: + type: string + description: Intended config for the device. + intended_last_attempt_date: + type: string + format: date-time + nullable: true + intended_last_success_date: + type: string + format: date-time + nullable: true + compliance_config: + type: string + description: Full config diff for device. + compliance_last_attempt_date: + type: string + format: date-time + nullable: true + compliance_last_success_date: + type: string + format: date-time + nullable: true + device: + type: string + format: uuid + description: device + required: + - computed_fields + - created + - device + - display + - id + - last_updated + - url + GoldenConfigSetting: + type: object + description: Serializer for GoldenConfigSetting object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + weight: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + backup_path_template: + type: string + title: Backup Path in Jinja Template Form + 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 + intended_path_template: + type: string + title: Intended Path in Jinja Template Form + description: The Jinja path representation of where the generated file will + be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + jinja_path_template: + type: string + title: Template Path in Jinja Template Form + description: The Jinja path representation of where the Jinja template can + be found. e.g. `{{obj.platform.slug}}.j2` + maxLength: 255 + backup_test_connectivity: + type: boolean + title: Backup Test + description: Whether or not to pretest the connectivity of the device by + verifying there is a resolvable IP that can connect to port 22. + scope: + type: object + additionalProperties: {} + nullable: true + description: API filter in JSON format matching the list of devices for + the scope of devices to be considered. + backup_repository: + type: string + format: uuid + nullable: true + intended_repository: + type: string + format: uuid + nullable: true + jinja_repository: + type: string + format: uuid + nullable: true + sot_agg_query: + type: string + format: uuid + nullable: true + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - slug + - url + GrantTypeEnum: + enum: + - organization + - channel + - user + type: string + GraphQLAPI: + type: object + properties: + query: + type: string + description: GraphQL query + variables: + type: object + additionalProperties: {} + description: Variables in JSON Format + required: + - query + GraphQLQuery: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + query: + type: string + variables: + type: object + additionalProperties: {} + nullable: true + default: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - query + - url + GraphQLQueryInput: + type: object + properties: + variables: + type: object + additionalProperties: {} + nullable: true + default: {} + GraphQLQueryOutput: + type: object + properties: + data: + type: object + additionalProperties: {} + default: {} + Group: + type: object + 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 + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 150 + user_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + - user_count + HardwareLCM: + type: object + description: API serializer. + properties: + id: + type: string + format: uuid + readOnly: true + expired: + type: string + readOnly: true + devices: + type: array + items: + $ref: '#/components/schemas/NestedDevice' + readOnly: true + description: Devices tied to Device Type + device_type: + allOf: + - $ref: '#/components/schemas/NestedDeviceType' + description: Device Type to attach the Hardware LCM to + inventory_item: + type: string + nullable: true + title: Inventory Item Part + maxLength: 255 + release_date: + type: string + format: date + nullable: true + end_of_sale: + type: string + format: date + nullable: true + end_of_support: + type: string + format: date + nullable: true + end_of_sw_releases: + type: string + format: date + nullable: true + title: End of Software Releases + end_of_security_patches: + type: string + format: date + nullable: true + documentation_url: + type: string + format: uri + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - devices + - display + - expired + - id + HttpMethodEnum: + enum: + - GET + - POST + - PUT + - PATCH + - DELETE + type: string + IPAddress: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + type: object + properties: + value: + type: integer + enum: + - 4 + - 6 + label: + type: string + enum: + - IPv4 + - IPv6 + readOnly: true + address: + type: string + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRF' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + status: + type: object + properties: + value: + type: string + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + label: + type: string + enum: + - Active + - Deprecated + - DHCP + - Reserved + - SLAAC + role: + type: object + properties: + value: + type: string + enum: + - loopback + - secondary + - anycast + - vip + - vrrp + - hsrp + - glbp + - carp + label: + type: string + enum: + - Loopback + - Secondary + - Anycast + - VIP + - VRRP + - HSRP + - GLBP + - CARP + assigned_object_type: + type: string + nullable: true + assigned_object_id: + type: string + format: uuid + nullable: true + assigned_object: + type: object + additionalProperties: {} + nullable: true + readOnly: true + nat_inside: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + nat_outside: + type: array + items: + $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + dns_name: + type: string + description: Hostname or FQDN (not case-sensitive) + pattern: ^[0-9A-Za-z._-]+$ + maxLength: 255 + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - address + - assigned_object + - created + - display + - family + - id + - last_updated + - nat_outside + - status + - url + ImageAttachment: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_type: + type: string + object_id: + type: string + format: uuid + parent: + type: object + additionalProperties: {} + readOnly: true + name: + type: string + maxLength: 50 + image: + type: string + format: uri + image_height: + type: integer + maximum: 32767 + minimum: 0 + image_width: + type: integer + maximum: 32767 + minimum: 0 + created: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_type + - created + - display + - id + - image + - image_height + - image_width + - object_id + - parent + - url + ImpactEnum: + enum: + - NO-IMPACT + - REDUCED-REDUNDANCY + - DEGRADED + - OUTAGE + type: string + Interface: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + $ref: '#/components/schemas/NestedDevice' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + enum: + - virtual + - 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 + label: + type: string + enum: + - Virtual + - 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 + enabled: + type: boolean + lag: + allOf: + - $ref: '#/components/schemas/NestedInterface' + nullable: true + mtu: + type: integer + maximum: 65536 + minimum: 1 + nullable: true + mac_address: + type: string + nullable: true + maxLength: 18 + mgmt_only: + type: boolean + title: Management only + description: This interface is used only for out-of-band management + description: + type: string + maxLength: 200 + mode: + type: object + properties: + value: + type: string + enum: + - access + - tagged + - tagged-all + label: + type: string + enum: + - Access + - Tagged + - Tagged (All) + untagged_vlan: + allOf: + - $ref: '#/components/schemas/NestedVLAN' + nullable: true + tagged_vlans: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + vid: + type: integer + maximum: 4094 + minimum: 1 + title: ID + name: + type: string + maxLength: 64 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + - vid + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + count_ipaddresses: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - count_ipaddresses + - device + - display + - id + - name + - type + - url + InterfaceConnection: + type: object + 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: + interface_a: + allOf: + - $ref: '#/components/schemas/NestedInterface' + readOnly: true + interface_b: + $ref: '#/components/schemas/NestedInterface' + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - connected_endpoint_reachable + - display + - interface_a + - interface_b + InterfaceTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + $ref: '#/components/schemas/NestedDeviceType' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + enum: + - virtual + - 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 + label: + type: string + enum: + - Virtual + - 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 + mgmt_only: + type: boolean + title: Management only + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - type + - url + InterfaceTypeChoices: + enum: + - virtual + - 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 + IntervalEnum: + enum: + - immediately + - future + - hourly + - daily + - weekly + type: string + InventoryItem: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + $ref: '#/components/schemas/NestedDevice' + parent: + type: string + format: uuid + nullable: true + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturer' + nullable: true + part_id: + type: string + description: Manufacturer-assigned part identifier + maxLength: 50 + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this item + maxLength: 50 + discovered: + type: boolean + description: This item was automatically discovered + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - device + - display + - id + - name + - url + Job: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + source: + type: string + readOnly: true + description: Source of the Python code for this job - local, Git repository, + or plugins + module_name: + type: string + readOnly: true + description: Dotted name of the Python module providing this job + job_class_name: + type: string + readOnly: true + description: Name of the Python class providing this job + grouping: + type: string + description: Human-readable grouping that this job belongs to + maxLength: 255 + grouping_override: + type: boolean + description: If set, the configured grouping will remain even if the underlying + Job source code changes + name: + type: string + description: Human-readable name of this job + maxLength: 100 + name_override: + type: boolean + description: If set, the configured name will remain even if the underlying + Job source code changes + slug: + type: string + maxLength: 320 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + description: Markdown formatting is supported + description_override: + type: boolean + description: If set, the configured description will remain even if the + underlying Job source code changes + installed: + type: boolean + readOnly: true + description: Whether the Python module and class providing this job are + presently installed and loadable + enabled: + type: boolean + description: Whether this job can be executed by users + approval_required: + type: boolean + description: Whether the job requires approval from another user before + running + approval_required_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + commit_default: + type: boolean + description: Whether the job defaults to committing changes when run, or + defaults to a dry-run + commit_default_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + hidden: + type: boolean + description: Whether the job defaults to not being shown in the UI + hidden_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + read_only: + type: boolean + description: Whether the job is prevented from making lasting changes to + the database + read_only_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + soft_time_limit: + type: number + format: double + minimum: 0 + description: Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded + exception.
Set to 0 to use Nautobot system default + soft_time_limit_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + time_limit: + type: number + format: double + minimum: 0 + description: Maximum runtime in seconds before the job will be forcibly + terminated.
Set to 0 to use Nautobot system default + time_limit_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - grouping + - id + - installed + - job_class_name + - last_updated + - module_name + - name + - source + - url + JobClassDetail: + type: object + properties: + url: + type: string + format: uri + readOnly: true + id: + type: string + readOnly: true + pk: + type: string + format: uuid + nullable: true + readOnly: true + name: + type: string + readOnly: true + maxLength: 255 + description: + type: string + readOnly: true + maxLength: 255 + test_methods: + type: array + items: + type: string + maxLength: 255 + vars: + type: object + additionalProperties: {} + readOnly: true + result: + $ref: '#/components/schemas/JobResult' + required: + - description + - id + - name + - pk + - test_methods + - url + - vars + JobInput: + type: object + properties: + data: + type: object + additionalProperties: {} + default: '' + commit: + type: boolean + schedule: + $ref: '#/components/schemas/NestedScheduledJob' + JobLogEntry: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + absolute_url: + type: string + nullable: true + maxLength: 255 + created: + type: string + format: date-time + grouping: + type: string + maxLength: 100 + job_result: + type: string + format: uuid + log_level: + $ref: '#/components/schemas/LogLevelEnum' + log_object: + type: string + nullable: true + maxLength: 200 + message: + type: string + required: + - id + - job_result + - url + JobResult: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date-time + readOnly: true + completed: + type: string + format: date-time + nullable: true + name: + type: string + maxLength: 255 + job_model: + allOf: + - $ref: '#/components/schemas/NestedJob' + readOnly: true + obj_type: + type: string + readOnly: true + status: + type: object + properties: + value: + type: string + enum: + - pending + - running + - completed + - errored + - failed + label: + type: string + enum: + - Pending + - Running + - Completed + - Errored + - Failed + readOnly: true + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + data: + type: object + additionalProperties: {} + nullable: true + job_id: + type: string + format: uuid + schedule: + allOf: + - $ref: '#/components/schemas/NestedScheduledJob' + readOnly: true + required: + - created + - id + - job_id + - job_model + - name + - obj_type + - schedule + - status + - url + - user + JobResultStatusEnum: + type: string + enum: + - pending + - running + - completed + - errored + - failed + JobRunResponse: + type: object + description: Serializer representing responses from the JobModelViewSet.run() + POST endpoint. + properties: + schedule: + allOf: + - $ref: '#/components/schemas/NestedScheduledJob' + readOnly: true + job_result: + allOf: + - $ref: '#/components/schemas/NestedJobResult' + readOnly: true + required: + - job_result + - schedule + JobVariable: + type: object + description: Serializer used for responses from the JobModelViewSet.variables() + detail endpoint. + properties: + name: + type: string + readOnly: true + type: + type: string + readOnly: true + label: + type: string + readOnly: true + help_text: + type: string + readOnly: true + default: + type: object + additionalProperties: {} + readOnly: true + required: + type: boolean + readOnly: true + min_length: + type: integer + readOnly: true + max_length: + type: integer + readOnly: true + min_value: + type: integer + readOnly: true + max_value: + type: integer + readOnly: true + choices: + type: object + additionalProperties: {} + readOnly: true + model: + type: string + readOnly: true + required: + - choices + - default + - help_text + - label + - max_length + - max_value + - min_length + - min_value + - model + - name + - required + - type + LengthUnitEnum: + enum: + - m + - cm + - ft + - in + type: string + LogLevelEnum: + enum: + - default + - success + - info + - warning + - failure + type: string + Manufacturer: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + devicetype_count: + type: integer + readOnly: true + inventoryitem_count: + type: integer + readOnly: true + platform_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - devicetype_count + - display + - id + - inventoryitem_count + - last_updated + - name + - platform_count + - url + MinMaxValidationRule: + type: object + description: Serializer for `MinMaxValidationRule` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + content_type: + type: string + field: + type: string + maxLength: 50 + min: + type: number + format: double + nullable: true + description: When set, apply a minimum value contraint to the value of the + model field. + max: + type: number + format: double + nullable: true + description: When set, apply a maximum value contraint to the value of the + model field. + enabled: + type: boolean + error_message: + type: string + nullable: true + description: Optional error message to display when validation fails. + maxLength: 255 + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_type + - created + - display + - field + - id + - last_updated + - name + - slug + - url + ModeEnum: + enum: + - access + - tagged + - tagged-all + type: string + NestedCVELCM: + type: object + description: Nested serializer for the CVE class. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + name: + type: string + maxLength: 16 + published_date: + type: string + format: date + link: + type: string + format: uri + maxLength: 200 + status: + type: string + format: uuid + nullable: true + description: + type: string + nullable: true + maxLength: 255 + severity: + type: string + maxLength: 50 + cvss: + type: number + format: double + nullable: true + title: CVSS Base Score + cvss_v2: + type: number + format: double + nullable: true + title: CVSSv2 Score + cvss_v3: + type: number + format: double + nullable: true + title: CVSSv3 Score + fix: + type: string + nullable: true + maxLength: 255 + comments: + type: string + required: + - display + - id + - link + - name + - published_date + - url + NestedCable: + type: object + 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. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + label: + type: string + maxLength: 100 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - url + NestedCircuit: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + cid: + type: string + title: Circuit ID + maxLength: 100 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cid + - display + - id + - url + NestedCircuitType: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + circuit_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - circuit_count + - display + - id + - name + - url + NestedCluster: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + virtualmachine_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + - virtualmachine_count + NestedClusterGroup: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + cluster_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cluster_count + - display + - id + - name + - url + NestedClusterType: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + cluster_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cluster_count + - display + - id + - name + - url + NestedConfigContextSchema: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 200 + slug: + type: string + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedContractLCM: + type: object + description: API serializer. + properties: + id: + type: string + format: uuid + readOnly: true + provider: + allOf: + - $ref: '#/components/schemas/NestedProviderLCM' + description: Contract Provider + name: + type: string + maxLength: 100 + start: + type: string + format: date + nullable: true + title: Contract Start Date + end: + type: string + format: date + nullable: true + title: Contract End Date + cost: + type: string + format: decimal + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + nullable: true + title: Contract Cost + support_level: + type: string + nullable: true + maxLength: 64 + contract_type: + type: string + nullable: true + maxLength: 32 + expired: + type: string + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - expired + - id + - name + - provider + NestedCustomField: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + title: Slug + description: URL-friendly unique shorthand. + maxLength: 50 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedDevice: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + nullable: true + maxLength: 64 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - url + NestedDeviceRole: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_count + - display + - id + - name + - url + - virtualmachine_count + NestedDeviceType: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturer' + readOnly: true + model: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + device_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_count + - display + - id + - manufacturer + - model + - slug + - url + NestedIPAddress: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + type: integer + readOnly: true + address: + type: string + display: + type: string + readOnly: true + description: Human friendly display value + required: + - address + - display + - family + - id + - url + NestedInterface: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + name: + type: string + maxLength: 64 + cable: + type: string + format: uuid + nullable: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device + - display + - id + - name + - url + NestedInventoryItem: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + name: + type: string + maxLength: 64 + _depth: + type: integer + readOnly: true + title: ' depth' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - device + - display + - id + - name + - url + NestedJob: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + source: + type: string + readOnly: true + description: Source of the Python code for this job - local, Git repository, + or plugins + module_name: + type: string + readOnly: true + description: Dotted name of the Python module providing this job + job_class_name: + type: string + readOnly: true + description: Name of the Python class providing this job + grouping: + type: string + description: Human-readable grouping that this job belongs to + maxLength: 255 + name: + type: string + description: Human-readable name of this job + maxLength: 100 + slug: + type: string + maxLength: 320 + pattern: ^[-a-zA-Z0-9_]+$ + required: + - grouping + - id + - job_class_name + - module_name + - name + - source + - url + NestedJobResult: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 255 + created: + type: string + format: date-time + readOnly: true + completed: + type: string + format: date-time + nullable: true + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + status: + type: object + properties: + value: + type: string + enum: + - pending + - running + - completed + - errored + - failed + label: + type: string + enum: + - Pending + - Running + - Completed + - Errored + - Failed + required: + - created + - id + - name + - status + - url + - user + NestedManufacturer: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + devicetype_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - devicetype_count + - display + - id + - name + - url + NestedPlatform: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_count + - display + - id + - name + - url + - virtualmachine_count + NestedPowerPanel: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + powerfeed_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - powerfeed_count + - url + NestedPowerPort: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + name: + type: string + maxLength: 64 + cable: + type: string + format: uuid + nullable: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device + - display + - id + - name + - url + NestedPowerPortTemplate: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedProvider: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + circuit_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - circuit_count + - display + - id + - name + - url + NestedProviderLCM: + type: object + description: Nested serializer for the provider class. + properties: + id: + type: string + format: uuid + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + physical_address: + type: string + maxLength: 200 + phone: + type: string + maxLength: 20 + email: + type: string + format: email + title: E-mail + maxLength: 254 + comments: + type: string + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + NestedProviderNetwork: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedRIR: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + aggregate_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - aggregate_count + - display + - id + - name + - url + NestedRack: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + device_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_count + - display + - id + - name + - url + NestedRackGroup: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + rack_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - display + - id + - name + - rack_count + - url + NestedRackRole: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + rack_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - rack_count + - url + NestedRearPortTemplate: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedRegion: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + site_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - display + - id + - name + - site_count + - url + NestedRelationship: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Internal relationship name + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedRole: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + prefix_count: + type: integer + readOnly: true + vlan_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - prefix_count + - url + - vlan_count + NestedScheduledJob: + type: object + properties: + name: + type: string + maxLength: 255 + start_time: + type: string + format: date-time + interval: + $ref: '#/components/schemas/IntervalEnum' + required: + - interval + NestedSecret: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedSecretsGroup: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedSecretsGroupAssociation: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + secret: + $ref: '#/components/schemas/NestedSecret' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - access_type + - display + - id + - secret + - secret_type + - url + NestedSite: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedSoftwareLCM: + type: object + description: Nested/brief serializer for SoftwareLCM. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_platform: + type: string + format: uuid + readOnly: true + version: + type: string + maxLength: 50 + end_of_support: + type: string + format: date + nullable: true + title: End of Software Support + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_platform + - display + - id + - url + - version + NestedTenant: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + NestedTenantGroup: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + tenant_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - display + - id + - name + - tenant_count + - url + NestedUser: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + username: + type: string + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + pattern: ^[\w.@+-]+$ + maxLength: 150 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - url + - username + NestedVLAN: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + vid: + type: integer + maximum: 4094 + minimum: 1 + title: ID + name: + type: string + maxLength: 64 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + - vid + NestedVLANGroup: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + vlan_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + - vlan_count + NestedVRF: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + rd: + type: string + nullable: true + title: Route distinguisher + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + display: + type: string + readOnly: true + description: Human friendly display value + prefix_count: + type: integer + readOnly: true + required: + - display + - id + - name + - prefix_count + - url + NestedVirtualChassis: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + name: + type: string + maxLength: 64 + url: + type: string + format: uri + readOnly: true + master: + $ref: '#/components/schemas/NestedDevice' + member_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - master + - member_count + - name + - url + NestedVirtualMachine: + type: object + 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: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + Note: + type: object + description: Serializer for API. + properties: + id: + type: string + format: uuid + readOnly: true + maintenance: + type: string + format: uuid + title: + type: string + maxLength: 200 + comment: + type: string + required: + - comment + - id + - title + NotificationSource: + type: object + description: Serializer for NotificationSource records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Notification Source Name as defined in configuration file. + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + providers: + type: array + items: + $ref: '#/components/schemas/NestedProvider' + attach_all_providers: + type: boolean + description: Attach all the Providers to this Notification Source + required: + - id + - name + - providers + - slug + - url + NullEnum: + enum: + - null + ObjectChange: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + time: + type: string + format: date-time + readOnly: true + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + user_name: + type: string + readOnly: true + request_id: + type: string + format: uuid + readOnly: true + action: + type: object + properties: + value: + type: string + enum: + - create + - update + - delete + label: + type: string + enum: + - Created + - Updated + - Deleted + readOnly: true + changed_object_type: + type: string + readOnly: true + changed_object_id: + type: string + format: uuid + changed_object: + type: object + additionalProperties: {} + nullable: true + readOnly: true + object_data: + type: object + additionalProperties: {} + readOnly: true + required: + - action + - changed_object + - changed_object_id + - changed_object_type + - id + - object_data + - request_id + - time + - url + - user + - user_name + ObjectPermission: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + enabled: + type: boolean + object_types: + type: array + items: + type: string + groups: + type: array + items: + type: object + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 150 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + users: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + username: + type: string + description: Required. 150 characters or fewer. Letters, digits and + @/./+/-/_ only. + pattern: ^[\w.@+-]+$ + maxLength: 150 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - url + - username + actions: + type: object + additionalProperties: {} + description: The list of actions granted by this permission + constraints: + type: object + additionalProperties: {} + nullable: true + description: Queryset filter matching the applicable objects of the selected + type(s) + display: + type: string + readOnly: true + description: Human friendly display value + required: + - actions + - display + - id + - name + - object_types + - url + OnboardingTask: + type: object + description: Serializer for the OnboardingTask model. + properties: + id: + type: string + format: uuid + readOnly: true + site: + type: string + description: Nautobot site 'slug' value + ip_address: + type: string + description: IP Address to reach device + username: + type: string + writeOnly: true + description: Device username + password: + type: string + writeOnly: true + description: Device password + secret: + type: string + writeOnly: true + description: Device secret password + port: + type: integer + description: Device PORT to check for online + timeout: + type: integer + description: Timeout (sec) for device connect + role: + type: string + description: Nautobot device role 'slug' value + device_type: + type: string + description: Nautobot device type 'slug' value + platform: + type: string + description: Nautobot Platform 'slug' value + created_device: + type: string + readOnly: true + description: Created device name + status: + type: string + readOnly: true + description: Onboarding Status + failed_reason: + type: string + readOnly: true + description: Failure reason + message: + type: string + readOnly: true + description: Status message + required: + - created_device + - failed_reason + - id + - ip_address + - message + - site + - status + OuterUnitEnum: + enum: + - mm + - in + type: string + PaginatedAccessGrantList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/AccessGrant' + PaginatedAggregateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Aggregate' + PaginatedAvailableIPList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/AvailableIP' + PaginatedAvailablePrefixList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/AvailablePrefix' + PaginatedCVELCMList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/CVELCM' + PaginatedCableList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Cable' + PaginatedCircuitList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Circuit' + PaginatedCircuitMaintenanceCircuitImpactList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + PaginatedCircuitMaintenanceList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/CircuitMaintenance' + PaginatedCircuitTerminationList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/CircuitTermination' + PaginatedCircuitTypeList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/CircuitType' + PaginatedClusterGroupList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ClusterGroup' + PaginatedClusterList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Cluster' + PaginatedClusterTypeList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ClusterType' + PaginatedCommandTokenList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/CommandToken' + PaginatedComplianceFeatureList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ComplianceFeature' + PaginatedComplianceRuleList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ComplianceRule' + PaginatedComputedFieldList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ComputedField' + PaginatedConfigComplianceList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ConfigCompliance' + PaginatedConfigContextList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ConfigContext' + PaginatedConfigContextSchemaList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ConfigContextSchema' + PaginatedConfigRemoveList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ConfigRemove' + PaginatedConfigReplaceList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ConfigReplace' + PaginatedConsolePortList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ConsolePort' + PaginatedConsolePortTemplateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ConsolePortTemplate' + PaginatedConsoleServerPortList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ConsoleServerPort' + PaginatedConsoleServerPortTemplateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + PaginatedContactLCMList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ContactLCM' + PaginatedContentTypeList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ContentType' + PaginatedContractLCMList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ContractLCM' + PaginatedCustomFieldChoiceList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/CustomFieldChoice' + PaginatedCustomFieldList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/CustomField' + PaginatedCustomLinkList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/CustomLink' + PaginatedDeviceBayList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/DeviceBay' + PaginatedDeviceBayTemplateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/DeviceBayTemplate' + PaginatedDeviceRoleList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/DeviceRole' + PaginatedDeviceTypeList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/DeviceType' + PaginatedDeviceWithConfigContextList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/DeviceWithConfigContext' + PaginatedDynamicGroupList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/DynamicGroup' + PaginatedExportTemplateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ExportTemplate' + PaginatedFrontPortList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/FrontPort' + PaginatedFrontPortTemplateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/FrontPortTemplate' + PaginatedGitRepositoryList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/GitRepository' + PaginatedGoldenConfigList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/GoldenConfig' + PaginatedGoldenConfigSettingList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/GoldenConfigSetting' + PaginatedGraphQLQueryList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/GraphQLQuery' + PaginatedGroupList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Group' + PaginatedHardwareLCMList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/HardwareLCM' + PaginatedIPAddressList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/IPAddress' + PaginatedImageAttachmentList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ImageAttachment' + PaginatedInterfaceConnectionList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/InterfaceConnection' + PaginatedInterfaceList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Interface' + PaginatedInterfaceTemplateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/InterfaceTemplate' + PaginatedInventoryItemList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/InventoryItem' + PaginatedJobList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Job' + PaginatedJobLogEntryList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/JobLogEntry' + PaginatedJobResultList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/JobResult' + PaginatedJobVariableList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/JobVariable' + PaginatedManufacturerList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Manufacturer' + PaginatedMinMaxValidationRuleList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/MinMaxValidationRule' + PaginatedNoteList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Note' + PaginatedNotificationSourceList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/NotificationSource' + PaginatedObjectChangeList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ObjectChange' + PaginatedObjectPermissionList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ObjectPermission' + PaginatedOnboardingTaskList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/OnboardingTask' + PaginatedPlatformList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Platform' + PaginatedPowerFeedList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/PowerFeed' + PaginatedPowerOutletList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/PowerOutlet' + PaginatedPowerOutletTemplateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/PowerOutletTemplate' + PaginatedPowerPanelList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/PowerPanel' + PaginatedPowerPortList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/PowerPort' + PaginatedPowerPortTemplateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/PowerPortTemplate' + PaginatedPrefixList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Prefix' + PaginatedProviderLCMList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ProviderLCM' + PaginatedProviderList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Provider' + PaginatedProviderNetworkList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ProviderNetwork' + PaginatedRIRList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RIR' + PaginatedRackGroupList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RackGroup' + PaginatedRackList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Rack' + PaginatedRackReservationList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RackReservation' + PaginatedRackRoleList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RackRole' + PaginatedRackUnitList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RackUnit' + PaginatedRearPortList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RearPort' + PaginatedRearPortTemplateList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RearPortTemplate' + PaginatedRegionList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Region' + PaginatedRegularExpressionValidationRuleList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RegularExpressionValidationRule' + PaginatedRelationshipAssociationList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RelationshipAssociation' + PaginatedRelationshipList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Relationship' + PaginatedRoleList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Role' + PaginatedRouteTargetList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/RouteTarget' + PaginatedScheduledJobList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ScheduledJob' + PaginatedSecretList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Secret' + PaginatedSecretsGroupAssociationList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/SecretsGroupAssociation' + PaginatedSecretsGroupList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/SecretsGroup' + PaginatedServiceList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Service' + PaginatedSiteList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Site' + PaginatedSoftwareImageLCMList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/SoftwareImageLCM' + PaginatedSoftwareLCMList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/SoftwareLCM' + PaginatedStatusList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Status' + PaginatedTagSerializerVersion13List: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/TagSerializerVersion13' + PaginatedTenantGroupList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/TenantGroup' + PaginatedTenantList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Tenant' + PaginatedTokenList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Token' + PaginatedUserList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/User' + PaginatedVLANGroupList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/VLANGroup' + PaginatedVLANList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/VLAN' + PaginatedVMInterfaceList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/VMInterface' + PaginatedVRFList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/VRF' + PaginatedValidatedSoftwareLCMList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + PaginatedVirtualChassisList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/VirtualChassis' + PaginatedVirtualMachineWithConfigContextList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + PaginatedVulnerabilityLCMList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/VulnerabilityLCM' + PaginatedWebhookList: + type: object + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=400&limit=100 + previous: + type: string + nullable: true + format: uri + example: http://api.example.org/accounts/?offset=200&limit=100 + results: + type: array + items: + $ref: '#/components/schemas/Webhook' + PatchedAccessGrant: + type: object + description: API serializer for interacting with AccessGrant objects. + properties: + id: + type: string + format: uuid + readOnly: true + command: + type: string + description: Enter * to grant access to all commands + maxLength: 64 + subcommand: + type: string + description: Enter * to grant access to all subcommands of the + given command + maxLength: 64 + grant_type: + $ref: '#/components/schemas/GrantTypeEnum' + name: + type: string + description: Organization name, channel name, or user name + maxLength: 255 + value: + type: string + description: Corresponding ID value to grant access to.
Enter * + to grant access to all organizations, channels, or users + maxLength: 255 + display: + type: string + readOnly: true + description: Human friendly display value + PatchedCVELCM: + type: object + description: REST API serializer for CVELCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 16 + published_date: + type: string + format: date + link: + type: string + format: uri + maxLength: 200 + status: + $ref: '#/components/schemas/Status4f5Enum' + description: + type: string + nullable: true + maxLength: 255 + severity: + type: string + maxLength: 50 + cvss: + type: number + format: double + nullable: true + title: CVSS Base Score + cvss_v2: + type: number + format: double + nullable: true + title: CVSSv2 Score + cvss_v3: + type: number + format: double + nullable: true + title: CVSSv3 Score + fix: + type: string + nullable: true + maxLength: 255 + comments: + type: string + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + PatchedCircuitMaintenance: + type: object + description: Serializer for API. + properties: + id: + type: string + format: uuid + readOnly: true + name: + type: string + maxLength: 100 + start_time: + type: string + format: date-time + end_time: + type: string + format: date-time + description: + type: string + nullable: true + status: + nullable: true + oneOf: + - $ref: '#/components/schemas/CircuitMaintenanceStatusEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + ack: + type: boolean + nullable: true + PatchedCircuitMaintenanceCircuitImpact: + type: object + description: Serializer for API. + properties: + id: + type: string + format: uuid + readOnly: true + maintenance: + type: string + format: uuid + circuit: + type: string + format: uuid + impact: + nullable: true + oneOf: + - $ref: '#/components/schemas/ImpactEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + PatchedCircuitType: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + circuit_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedClusterGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + cluster_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedClusterType: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + cluster_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedCommandToken: + type: object + description: API serializer for interacting with CommandToken objects. + properties: + id: + type: string + format: uuid + readOnly: true + comment: + type: string + description: 'Optional: Enter description of token' + maxLength: 255 + platform: + $ref: '#/components/schemas/PlatformEnum' + token: + type: string + description: Token given by chat platform for signing or command validation + maxLength: 255 + display: + type: string + readOnly: true + description: Human friendly display value + PatchedComplianceFeature: + type: object + description: Serializer for ComplianceFeature object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + PatchedComplianceRule: + type: object + description: Serializer for ComplianceRule object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + description: + type: string + maxLength: 200 + config_ordered: + type: boolean + title: Configured Ordered + description: Whether or not the configuration order matters, such as in + ACLs. + match_config: + type: string + nullable: true + title: Config to Match + description: The config to match that is matched based on the parent most + configuration. e.g. `router bgp` or `ntp`. + config_type: + allOf: + - $ref: '#/components/schemas/ConfigTypeEnum' + description: Whether the config is in cli or json/structured format. + feature: + type: string + format: uuid + platform: + type: string + format: uuid + PatchedComputedField: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + slug: + type: string + description: Internal field name + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + label: + type: string + description: Name of the field as displayed to users + maxLength: 100 + description: + type: string + maxLength: 200 + content_type: + type: string + template: + type: string + description: Jinja2 template code for field value + maxLength: 500 + fallback_value: + type: string + description: Fallback value (if any) to be output for the field in the case + of a template rendering error. + maxLength: 500 + weight: + type: integer + maximum: 32767 + minimum: 0 + display: + type: string + readOnly: true + description: Human friendly display value + PatchedConfigCompliance: + type: object + description: Serializer for ConfigCompliance object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + compliance: + type: boolean + nullable: true + actual: + type: object + additionalProperties: {} + description: Actual Configuration for feature + intended: + type: object + additionalProperties: {} + description: Intended Configuration for feature + missing: + type: object + additionalProperties: {} + description: Configuration that should be on the device. + extra: + type: object + additionalProperties: {} + description: Configuration that should not be on the device. + ordered: + type: boolean + compliance_int: + type: integer + maximum: 2147483647 + minimum: -2147483648 + nullable: true + device: + type: string + format: uuid + description: The device + rule: + type: string + format: uuid + PatchedConfigContextSchema: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 200 + slug: + type: string + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + owner_content_type: + type: string + nullable: true + owner_object_id: + type: string + format: uuid + nullable: true + owner: + type: object + additionalProperties: {} + nullable: true + readOnly: true + description: + type: string + maxLength: 200 + data_schema: + type: object + additionalProperties: {} + description: A JSON Schema document which is used to validate a config context + object. + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedConfigRemove: + type: object + description: Serializer for ConfigRemove object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + name: + type: string + maxLength: 255 + description: + type: string + maxLength: 200 + regex: + type: string + title: Regex Pattern + description: Regex pattern used to remove a line from the backup configuration. + maxLength: 200 + platform: + type: string + format: uuid + PatchedConfigReplace: + type: object + description: Serializer for ConfigReplace object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + name: + type: string + maxLength: 255 + description: + type: string + maxLength: 200 + regex: + type: string + title: Regex Pattern to Substitute + description: Regex pattern that will be found and replaced with 'replaced + text'. + maxLength: 200 + replace: + type: string + title: Replaced Text + description: Text that will be inserted in place of Regex pattern match. + maxLength: 200 + platform: + type: string + format: uuid + PatchedCustomLink: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + target_url: + type: string + title: URL + description: Jinja2 template code for link URL. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. + maxLength: 500 + name: + type: string + maxLength: 100 + content_type: + type: string + text: + type: string + 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 + weight: + type: integer + maximum: 32767 + minimum: 0 + group_name: + type: string + description: Links with the same group will appear as a dropdown menu + maxLength: 50 + button_class: + allOf: + - $ref: '#/components/schemas/ButtonClassEnum' + description: The class of the first link in a group will be used for the + dropdown button + new_window: + type: boolean + description: Force link to open in a new window + display: + type: string + readOnly: true + description: Human friendly display value + PatchedDeviceRole: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + vm_role: + type: boolean + description: Virtual machines may be assigned to this role + description: + type: string + maxLength: 200 + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedDynamicGroup: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Dynamic Group name + maxLength: 100 + slug: + type: string + description: Unique slug + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + content_type: + type: string + filter: + type: object + additionalProperties: {} + description: A JSON-encoded dictionary of filter parameters for group membership + display: + type: string + readOnly: true + description: Human friendly display value + PatchedExportTemplate: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_type: + type: string + owner_content_type: + type: string + nullable: true + owner_object_id: + type: string + format: uuid + nullable: true + owner: + type: object + additionalProperties: {} + nullable: true + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + template_code: + type: string + description: The list of objects being exported is passed as a context variable + named queryset. + mime_type: + type: string + description: Defaults to text/plain + maxLength: 50 + file_extension: + type: string + description: Extension to append to the rendered filename + maxLength: 15 + display: + type: string + readOnly: true + description: Human friendly display value + PatchedGoldenConfig: + type: object + description: Serializer for GoldenConfig object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + backup_config: + type: string + description: Full backup config for device. + backup_last_attempt_date: + type: string + format: date-time + nullable: true + backup_last_success_date: + type: string + format: date-time + nullable: true + intended_config: + type: string + description: Intended config for the device. + intended_last_attempt_date: + type: string + format: date-time + nullable: true + intended_last_success_date: + type: string + format: date-time + nullable: true + compliance_config: + type: string + description: Full config diff for device. + compliance_last_attempt_date: + type: string + format: date-time + nullable: true + compliance_last_success_date: + type: string + format: date-time + nullable: true + device: + type: string + format: uuid + description: device + PatchedGoldenConfigSetting: + type: object + description: Serializer for GoldenConfigSetting object. + properties: + id: + type: string + format: uuid + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + _custom_field_data: + type: object + additionalProperties: {} + title: ' custom field data' + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + weight: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + backup_path_template: + type: string + title: Backup Path in Jinja Template Form + 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 + intended_path_template: + type: string + title: Intended Path in Jinja Template Form + description: The Jinja path representation of where the generated file will + be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + jinja_path_template: + type: string + title: Template Path in Jinja Template Form + description: The Jinja path representation of where the Jinja template can + be found. e.g. `{{obj.platform.slug}}.j2` + maxLength: 255 + backup_test_connectivity: + type: boolean + title: Backup Test + description: Whether or not to pretest the connectivity of the device by + verifying there is a resolvable IP that can connect to port 22. + scope: + type: object + additionalProperties: {} + nullable: true + description: API filter in JSON format matching the list of devices for + the scope of devices to be considered. + backup_repository: + type: string + format: uuid + nullable: true + intended_repository: + type: string + format: uuid + nullable: true + jinja_repository: + type: string + format: uuid + nullable: true + sot_agg_query: + type: string + format: uuid + nullable: true + PatchedGraphQLQuery: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + query: + type: string + variables: + type: object + additionalProperties: {} + nullable: true + default: {} + display: + type: string + readOnly: true + description: Human friendly display value + PatchedGroup: + type: object + 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 + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 150 + user_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedImageAttachment: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_type: + type: string + object_id: + type: string + format: uuid + parent: + type: object + additionalProperties: {} + readOnly: true + name: + type: string + maxLength: 50 + image: + type: string + format: uri + image_height: + type: integer + maximum: 32767 + minimum: 0 + image_width: + type: integer + maximum: 32767 + minimum: 0 + created: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedJob: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + source: + type: string + readOnly: true + description: Source of the Python code for this job - local, Git repository, + or plugins + module_name: + type: string + readOnly: true + description: Dotted name of the Python module providing this job + job_class_name: + type: string + readOnly: true + description: Name of the Python class providing this job + grouping: + type: string + description: Human-readable grouping that this job belongs to + maxLength: 255 + grouping_override: + type: boolean + description: If set, the configured grouping will remain even if the underlying + Job source code changes + name: + type: string + description: Human-readable name of this job + maxLength: 100 + name_override: + type: boolean + description: If set, the configured name will remain even if the underlying + Job source code changes + slug: + type: string + maxLength: 320 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + description: Markdown formatting is supported + description_override: + type: boolean + description: If set, the configured description will remain even if the + underlying Job source code changes + installed: + type: boolean + readOnly: true + description: Whether the Python module and class providing this job are + presently installed and loadable + enabled: + type: boolean + description: Whether this job can be executed by users + approval_required: + type: boolean + description: Whether the job requires approval from another user before + running + approval_required_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + commit_default: + type: boolean + description: Whether the job defaults to committing changes when run, or + defaults to a dry-run + commit_default_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + hidden: + type: boolean + description: Whether the job defaults to not being shown in the UI + hidden_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + read_only: + type: boolean + description: Whether the job is prevented from making lasting changes to + the database + read_only_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + soft_time_limit: + type: number + format: double + minimum: 0 + description: Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded + exception.
Set to 0 to use Nautobot system default + soft_time_limit_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + time_limit: + type: number + format: double + minimum: 0 + description: Maximum runtime in seconds before the job will be forcibly + terminated.
Set to 0 to use Nautobot system default + time_limit_override: + type: boolean + description: If set, the configured value will remain even if the underlying + Job source code changes + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedJobResult: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + created: + type: string + format: date-time + readOnly: true + completed: + type: string + format: date-time + nullable: true + name: + type: string + maxLength: 255 + job_model: + allOf: + - $ref: '#/components/schemas/NestedJob' + readOnly: true + obj_type: + type: string + readOnly: true + status: + allOf: + - $ref: '#/components/schemas/JobResultStatusEnum' + readOnly: true + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + data: + type: object + additionalProperties: {} + nullable: true + job_id: + type: string + format: uuid + schedule: + allOf: + - $ref: '#/components/schemas/NestedScheduledJob' + readOnly: true + PatchedManufacturer: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + devicetype_count: + type: integer + readOnly: true + inventoryitem_count: + type: integer + readOnly: true + platform_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedMinMaxValidationRule: + type: object + description: Serializer for `MinMaxValidationRule` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + content_type: + type: string + field: + type: string + maxLength: 50 + min: + type: number + format: double + nullable: true + description: When set, apply a minimum value contraint to the value of the + model field. + max: + type: number + format: double + nullable: true + description: When set, apply a maximum value contraint to the value of the + model field. + enabled: + type: boolean + error_message: + type: string + nullable: true + description: Optional error message to display when validation fails. + maxLength: 255 + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedNote: + type: object + description: Serializer for API. + properties: + id: + type: string + format: uuid + readOnly: true + maintenance: + type: string + format: uuid + title: + type: string + maxLength: 200 + comment: + type: string + PatchedProvider: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + asn: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + nullable: true + description: 32-bit autonomous system number + account: + type: string + title: Account number + maxLength: 100 + portal_url: + type: string + format: uri + maxLength: 200 + noc_contact: + type: string + admin_contact: + type: string + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + circuit_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedProviderLCM: + type: object + description: API serializer. + properties: + id: + type: string + format: uuid + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + physical_address: + type: string + maxLength: 200 + phone: + type: string + maxLength: 20 + email: + type: string + format: email + title: E-mail + maxLength: 254 + comments: + type: string + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + PatchedRIR: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + is_private: + type: boolean + title: Private + description: IP space managed by this RIR is considered private + description: + type: string + maxLength: 200 + aggregate_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedRackRole: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + description: + type: string + maxLength: 200 + rack_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedRegularExpressionValidationRule: + type: object + description: Serializer for `RegularExpressionValidationRule` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + content_type: + type: string + field: + type: string + maxLength: 50 + regular_expression: + type: string + enabled: + type: boolean + error_message: + type: string + nullable: true + description: Optional error message to display when validation fails. + maxLength: 255 + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedRelationship: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Internal relationship name + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + type: + allOf: + - $ref: '#/components/schemas/RelationshipTypeChoices' + description: Cardinality of this relationship + source_type: + type: string + source_label: + type: string + description: Label for related destination objects, as displayed on the + source object. + maxLength: 50 + source_hidden: + type: boolean + title: Hide for source object + description: Hide this relationship on the source object. + source_filter: + type: object + additionalProperties: {} + nullable: true + description: Queryset filter matching the applicable source objects of the + selected type + destination_type: + type: string + destination_label: + type: string + description: Label for related source objects, as displayed on the destination + object. + maxLength: 50 + destination_hidden: + type: boolean + title: Hide for destination object + description: Hide this relationship on the destination object. + destination_filter: + type: object + additionalProperties: {} + nullable: true + description: Queryset filter matching the applicable destination objects + of the selected type + PatchedRole: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + weight: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + prefix_count: + type: integer + readOnly: true + vlan_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedSecret: + type: object + description: Serializer for `Secret` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + provider: + type: string + maxLength: 100 + parameters: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedSecretsGroup: + type: object + description: Serializer for `SecretsGroup` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + secrets: + type: array + items: + $ref: '#/components/schemas/NestedSecretsGroupAssociation' + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedStatus: + type: object + description: Serializer for `Status` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_types: + type: array + items: + type: string + name: + type: string + maxLength: 50 + slug: + type: string + maxLength: 50 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedTagSerializerVersion13: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + description: + type: string + maxLength: 200 + tagged_items: + type: integer + readOnly: true + content_types: + type: array + items: + type: string + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedToken: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + created: + type: string + format: date-time + readOnly: true + expires: + type: string + format: date-time + nullable: true + key: + type: string + maxLength: 40 + minLength: 40 + write_enabled: + type: boolean + description: Permit create/update/delete operations using this key + description: + type: string + maxLength: 200 + PatchedVulnerabilityLCM: + type: object + description: REST API serializer for VulnerabilityLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + url: + type: string + format: uri + readOnly: true + cve: + allOf: + - $ref: '#/components/schemas/NestedCVELCM' + readOnly: true + software: + allOf: + - $ref: '#/components/schemas/NestedSoftwareLCM' + readOnly: true + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + inventory_item: + allOf: + - $ref: '#/components/schemas/NestedInventoryItem' + readOnly: true + status: + $ref: '#/components/schemas/Status4f5Enum' + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + PatchedWebhook: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_types: + type: array + items: + type: string + name: + type: string + maxLength: 150 + type_create: + type: boolean + description: Call this webhook when a matching object is created. + type_update: + type: boolean + description: Call this webhook when a matching object is updated. + type_delete: + type: boolean + description: Call this webhook when a matching object is deleted. + payload_url: + type: string + title: URL + description: A POST will be sent to this URL when the webhook is called. + maxLength: 500 + http_method: + $ref: '#/components/schemas/HttpMethodEnum' + http_content_type: + type: string + description: The complete list of official content types is available here. + maxLength: 100 + additional_headers: + type: string + 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).' + body_template: + type: string + 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.' + secret: + type: string + 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 + ssl_verification: + type: boolean + description: Enable SSL certificate verification. Disable with caution! + ca_file_path: + type: string + nullable: true + description: The specific CA certificate file to use for SSL verification. + Leave blank to use the system defaults. + maxLength: 4096 + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableAggregate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + allOf: + - $ref: '#/components/schemas/FamilyEnum' + readOnly: true + prefix: + type: string + rir: + type: string + format: uuid + tenant: + type: string + format: uuid + nullable: true + date_added: + type: string + format: date + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableCable: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + termination_a_type: + type: string + termination_a_id: + type: string + format: uuid + termination_a: + type: object + additionalProperties: {} + nullable: true + readOnly: true + termination_b_type: + type: string + termination_b_id: + type: string + format: uuid + termination_b: + type: object + additionalProperties: {} + nullable: true + readOnly: true + type: + oneOf: + - $ref: '#/components/schemas/CableTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + status: + $ref: '#/components/schemas/WritableCableStatusEnum' + label: + type: string + maxLength: 100 + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + length: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + length_unit: + oneOf: + - $ref: '#/components/schemas/LengthUnitEnum' + - $ref: '#/components/schemas/BlankEnum' + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableCircuit: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + cid: + type: string + title: Circuit ID + maxLength: 100 + provider: + type: string + format: uuid + type: + type: string + format: uuid + status: + $ref: '#/components/schemas/WritableCircuitStatusEnum' + tenant: + type: string + format: uuid + nullable: true + install_date: + type: string + format: date + nullable: true + title: Date installed + commit_rate: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + description: + type: string + maxLength: 200 + termination_a: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + termination_z: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableCircuitTermination: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + circuit: + type: string + format: uuid + term_side: + allOf: + - $ref: '#/components/schemas/TermSideEnum' + title: Termination + site: + type: string + format: uuid + nullable: true + provider_network: + type: string + format: uuid + nullable: true + port_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + upstream_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + description: Upstream speed, if different from port speed + xconnect_id: + type: string + title: Cross-connect ID + maxLength: 50 + pp_info: + type: string + title: Patch panel/port(s) + maxLength: 100 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableCluster: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + type: + type: string + format: uuid + group: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + site: + type: string + format: uuid + nullable: true + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableConfigContext: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + owner_content_type: + type: string + nullable: true + owner_object_id: + type: string + format: uuid + nullable: true + owner: + type: object + additionalProperties: {} + nullable: true + readOnly: true + weight: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + schema: + type: string + format: uuid + nullable: true + description: Optional schema to validate the structure of the data + is_active: + type: boolean + regions: + type: array + items: + type: string + format: uuid + sites: + type: array + items: + type: string + format: uuid + roles: + type: array + items: + type: string + format: uuid + device_types: + type: array + items: + type: string + format: uuid + platforms: + type: array + items: + type: string + format: uuid + cluster_groups: + type: array + items: + type: string + format: uuid + clusters: + type: array + items: + type: string + format: uuid + tenant_groups: + type: array + items: + type: string + format: uuid + tenants: + type: array + items: + type: string + format: uuid + tags: + type: array + items: + type: string + data: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableConsolePort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableConsolePortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableConsoleServerPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableConsoleServerPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableContactLCM: + type: object + description: API serializer. + properties: + name: + type: string + nullable: true + maxLength: 80 + address: + type: string + maxLength: 200 + phone: + type: string + maxLength: 20 + email: + type: string + format: email + title: Contact E-mail + maxLength: 254 + comments: + type: string + priority: + type: integer + maximum: 2147483647 + minimum: 0 + contract: + type: string + format: uuid + nullable: true + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableContractLCM: + type: object + description: API serializer. + properties: + id: + type: string + format: uuid + readOnly: true + provider: + type: string + format: uuid + nullable: true + title: Vendor + name: + type: string + maxLength: 100 + start: + type: string + format: date + nullable: true + title: Contract Start Date + end: + type: string + format: date + nullable: true + title: Contract End Date + cost: + type: string + format: decimal + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + nullable: true + title: Contract Cost + support_level: + type: string + nullable: true + maxLength: 64 + contract_type: + type: string + nullable: true + maxLength: 32 + expired: + type: string + readOnly: true + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableCustomField: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_types: + type: array + items: + type: string + type: + allOf: + - $ref: '#/components/schemas/CustomFieldTypeChoices' + description: The type of value(s) allowed for this field. + name: + type: string + title: Slug + description: URL-friendly unique shorthand. + maxLength: 50 + label: + type: string + description: Name of the field as displayed to users (if not provided, the + field's slug will be used.) + maxLength: 50 + description: + type: string + description: A helpful description for this field. + maxLength: 200 + required: + type: boolean + description: If true, this field is required when creating new objects or + editing an existing object. + filter_logic: + allOf: + - $ref: '#/components/schemas/FilterLogicEnum' + description: Loose matches any instance of a given string; Exact matches + the entire field. + default: + type: object + additionalProperties: {} + nullable: true + description: Default value for the field (must be a JSON value). Encapsulate + strings with double quotes (e.g. "Foo"). + weight: + type: integer + maximum: 32767 + minimum: 0 + description: Fields with higher weights appear lower in a form. + validation_minimum: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + title: Minimum value + description: Minimum allowed value (for numeric fields). + validation_maximum: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + title: Maximum value + description: Maximum allowed value (for numeric fields). + validation_regex: + type: string + 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 + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableCustomFieldChoice: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + field: + type: string + format: uuid + value: + type: string + maxLength: 100 + weight: + type: integer + maximum: 32767 + minimum: 0 + description: Higher weights appear later in the list + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableDeviceBay: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + description: + type: string + maxLength: 200 + installed_device: + type: string + format: uuid + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableDeviceBayTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableDeviceType: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + manufacturer: + type: string + format: uuid + model: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + part_number: + type: string + description: Discrete part number (optional) + maxLength: 50 + u_height: + type: integer + maximum: 32767 + minimum: 0 + title: Height (U) + is_full_depth: + type: boolean + description: Device consumes both front and rear rack faces + subdevice_role: + title: Parent/child status + 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' + front_image: + type: string + format: uri + rear_image: + type: string + format: uri + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + device_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableDeviceWithConfigContext: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + nullable: true + maxLength: 64 + device_type: + type: string + format: uuid + device_role: + type: string + format: uuid + tenant: + type: string + format: uuid + nullable: true + platform: + type: string + format: uuid + nullable: true + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this device + maxLength: 50 + site: + type: string + format: uuid + rack: + type: string + format: uuid + nullable: true + position: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + description: The lowest-numbered unit occupied by the device + face: + title: Rack face + oneOf: + - $ref: '#/components/schemas/FaceEnum' + - $ref: '#/components/schemas/BlankEnum' + parent_device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + status: + $ref: '#/components/schemas/WritableDeviceWithConfigContextStatusEnum' + primary_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + primary_ip4: + type: string + format: uuid + nullable: true + title: Primary IPv4 + primary_ip6: + type: string + format: uuid + nullable: true + title: Primary IPv6 + secrets_group: + type: string + format: uuid + nullable: true + cluster: + type: string + format: uuid + nullable: true + virtual_chassis: + type: string + format: uuid + nullable: true + vc_position: + type: integer + maximum: 255 + minimum: 0 + nullable: true + vc_priority: + type: integer + maximum: 255 + minimum: 0 + nullable: true + comments: + type: string + local_context_schema: + type: string + format: uuid + nullable: true + description: Optional schema to validate the structure of the data + local_context_data: + type: object + additionalProperties: {} + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + config_context: + type: object + additionalProperties: {} + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableFrontPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/PortTypeChoices' + rear_port: + type: string + format: uuid + rear_port_position: + type: integer + maximum: 1024 + minimum: 1 + default: 1 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableFrontPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/PortTypeChoices' + rear_port: + type: string + format: uuid + rear_port_position: + type: integer + maximum: 1024 + minimum: 1 + default: 1 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableGitRepository: + type: object + description: Git repositories defined as a data source. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + remote_url: + type: string + format: uri + description: Only HTTP and HTTPS URLs are presently supported + maxLength: 255 + branch: + type: string + maxLength: 64 + token: + type: string + writeOnly: true + username: + type: string + maxLength: 64 + secrets_group: + type: string + format: uuid + nullable: true + current_head: + type: string + description: Commit hash of the most recent fetch from the selected branch. + Used for syncing between workers. + maxLength: 48 + provided_contents: + type: array + items: + oneOf: + - $ref: '#/components/schemas/ProvidedContentsEnum' + - $ref: '#/components/schemas/BlankEnum' + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableHardwareLCM: + type: object + description: API serializer. + properties: + id: + type: string + format: uuid + readOnly: true + expired: + type: string + readOnly: true + devices: + type: array + items: + $ref: '#/components/schemas/NestedDevice' + readOnly: true + description: Devices tied to Device Type + device_type: + type: string + format: uuid + nullable: true + inventory_item: + type: string + nullable: true + title: Inventory Item Part + maxLength: 255 + release_date: + type: string + format: date + nullable: true + end_of_sale: + type: string + format: date + nullable: true + end_of_support: + type: string + format: date + nullable: true + end_of_sw_releases: + type: string + format: date + nullable: true + title: End of Software Releases + end_of_security_patches: + type: string + format: date + nullable: true + documentation_url: + type: string + format: uri + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableIPAddress: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + allOf: + - $ref: '#/components/schemas/FamilyEnum' + readOnly: true + address: + type: string + vrf: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + status: + $ref: '#/components/schemas/WritableIPAddressStatusEnum' + role: + description: The functional role of this IP + oneOf: + - $ref: '#/components/schemas/RoleEnum' + - $ref: '#/components/schemas/BlankEnum' + assigned_object_type: + type: string + nullable: true + assigned_object_id: + type: string + format: uuid + nullable: true + assigned_object: + type: object + additionalProperties: {} + nullable: true + readOnly: true + nat_inside: + type: string + format: uuid + nullable: true + title: NAT (Inside) + description: The IP Addresses for which this address is the "outside" IP + nat_outside: + type: array + items: + $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + dns_name: + type: string + description: Hostname or FQDN (not case-sensitive) + pattern: ^[0-9A-Za-z._-]+$ + maxLength: 255 + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableInterface: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + enabled: + type: boolean + lag: + type: string + format: uuid + nullable: true + title: Parent LAG + mtu: + type: integer + maximum: 65536 + minimum: 1 + nullable: true + mac_address: + type: string + nullable: true + maxLength: 18 + mgmt_only: + type: boolean + title: Management only + description: This interface is used only for out-of-band management + description: + type: string + maxLength: 200 + mode: + oneOf: + - $ref: '#/components/schemas/ModeEnum' + - $ref: '#/components/schemas/BlankEnum' + untagged_vlan: + type: string + format: uuid + nullable: true + tagged_vlans: + type: array + items: + type: string + format: uuid + title: Tagged VLANs + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + count_ipaddresses: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableInterfaceTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + mgmt_only: + type: boolean + title: Management only + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableInventoryItem: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + parent: + type: string + format: uuid + nullable: true + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + manufacturer: + type: string + format: uuid + nullable: true + part_id: + type: string + description: Manufacturer-assigned part identifier + maxLength: 50 + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this item + maxLength: 50 + discovered: + type: boolean + description: This item was automatically discovered + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableObjectPermission: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + enabled: + type: boolean + object_types: + type: array + items: + type: string + groups: + type: array + items: + type: integer + users: + type: array + items: + type: string + format: uuid + actions: + type: object + additionalProperties: {} + description: The list of actions granted by this permission + constraints: + type: object + additionalProperties: {} + nullable: true + description: Queryset filter matching the applicable objects of the selected + type(s) + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritablePlatform: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + manufacturer: + type: string + format: uuid + nullable: true + description: Optionally limit this platform to devices of a certain manufacturer + napalm_driver: + type: string + description: The name of the NAPALM driver to use when interacting with + devices + maxLength: 50 + napalm_args: + type: object + additionalProperties: {} + nullable: true + title: NAPALM arguments + description: Additional arguments to pass when initiating the NAPALM driver + (JSON format) + description: + type: string + maxLength: 200 + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritablePowerFeed: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + power_panel: + type: string + format: uuid + rack: + type: string + format: uuid + nullable: true + name: + type: string + maxLength: 100 + status: + $ref: '#/components/schemas/WritablePowerFeedStatusEnum' + type: + $ref: '#/components/schemas/PowerFeedTypeChoices' + supply: + $ref: '#/components/schemas/SupplyEnum' + phase: + $ref: '#/components/schemas/PhaseEnum' + voltage: + type: integer + maximum: 32767 + minimum: -32768 + amperage: + type: integer + maximum: 32767 + minimum: 1 + max_utilization: + type: integer + maximum: 100 + minimum: 1 + description: Maximum permissible draw (percentage) + comments: + type: string + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritablePowerOutlet: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/PowerOutletTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + power_port: + type: string + format: uuid + nullable: true + feed_leg: + description: Phase (for three-phase feeds) + oneOf: + - $ref: '#/components/schemas/FeedLegEnum' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritablePowerOutletTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + oneOf: + - $ref: '#/components/schemas/PowerOutletTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + power_port: + type: string + format: uuid + nullable: true + feed_leg: + description: Phase (for three-phase feeds) + oneOf: + - $ref: '#/components/schemas/FeedLegEnum' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritablePowerPanel: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + site: + type: string + format: uuid + rack_group: + type: string + format: uuid + nullable: true + name: + type: string + maxLength: 100 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + powerfeed_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritablePowerPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/PowerPortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + maximum_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Allocated power draw (watts) + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritablePowerPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + oneOf: + - $ref: '#/components/schemas/PowerPortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + maximum_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Allocated power draw (watts) + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritablePrefix: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + allOf: + - $ref: '#/components/schemas/FamilyEnum' + readOnly: true + prefix: + type: string + site: + type: string + format: uuid + nullable: true + vrf: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + vlan: + type: string + format: uuid + nullable: true + status: + $ref: '#/components/schemas/WritablePrefixStatusEnum' + role: + type: string + format: uuid + nullable: true + description: The primary function of this prefix + is_pool: + type: boolean + title: Is a pool + description: All IP addresses within this prefix are considered usable + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableProviderNetwork: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + provider: + type: string + format: uuid + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableRack: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + facility_id: + type: string + nullable: true + description: Locally-assigned identifier + maxLength: 50 + site: + type: string + format: uuid + group: + type: string + format: uuid + nullable: true + description: Assigned group + tenant: + type: string + format: uuid + nullable: true + status: + $ref: '#/components/schemas/WritableRackStatusEnum' + role: + type: string + format: uuid + nullable: true + description: Functional role + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this rack + maxLength: 50 + type: + oneOf: + - $ref: '#/components/schemas/RackTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + width: + allOf: + - $ref: '#/components/schemas/WidthEnum' + description: Rail-to-rail width + minimum: 0 + maximum: 32767 + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (depth) + outer_unit: + oneOf: + - $ref: '#/components/schemas/OuterUnitEnum' + - $ref: '#/components/schemas/BlankEnum' + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + device_count: + type: integer + readOnly: true + powerfeed_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableRackGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + site: + type: string + format: uuid + parent: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + rack_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableRackReservation: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + rack: + type: string + format: uuid + units: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + user: + type: string + format: uuid + tenant: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableRearPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/PortTypeChoices' + positions: + type: integer + maximum: 1024 + minimum: 1 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableRearPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/PortTypeChoices' + positions: + type: integer + maximum: 1024 + minimum: 1 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableRegion: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + site_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableRelationshipAssociation: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + relationship: + type: string + format: uuid + source_type: + type: string + source_id: + type: string + format: uuid + destination_type: + type: string + destination_id: + type: string + format: uuid + PatchedWritableRouteTarget: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Route target value (formatted in accordance with RFC 4360) + maxLength: 21 + tenant: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableSecretsGroupAssociation: + type: object + description: Serializer for `SecretsGroupAssociation` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + group: + type: string + format: uuid + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + secret: + type: string + format: uuid + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableService: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + nullable: true + virtual_machine: + type: string + format: uuid + nullable: true + name: + type: string + maxLength: 100 + ports: + type: array + items: + type: integer + maximum: 65535 + minimum: 1 + protocol: + $ref: '#/components/schemas/ProtocolEnum' + ipaddresses: + type: array + items: + type: string + format: uuid + title: IP addresses + title: IP addresses + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableSite: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + status: + $ref: '#/components/schemas/WritableSiteStatusEnum' + region: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + facility: + type: string + description: Local facility ID or description + maxLength: 50 + asn: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + nullable: true + description: 32-bit autonomous system number + time_zone: + type: string + nullable: true + description: + type: string + maxLength: 200 + physical_address: + type: string + maxLength: 200 + shipping_address: + type: string + maxLength: 200 + latitude: + type: string + format: decimal + pattern: ^-?\d{0,2}(?:\.\d{0,6})?$ + nullable: true + description: GPS coordinate (latitude) + longitude: + type: string + format: decimal + pattern: ^-?\d{0,3}(?:\.\d{0,6})?$ + nullable: true + description: GPS coordinate (longitude) + contact_name: + type: string + maxLength: 50 + contact_phone: + type: string + maxLength: 20 + contact_email: + type: string + format: email + title: Contact E-mail + maxLength: 254 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + circuit_count: + type: integer + readOnly: true + device_count: + type: integer + readOnly: true + prefix_count: + type: integer + readOnly: true + rack_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + vlan_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableSoftwareImageLCM: + type: object + description: REST API serializer for SoftwareImageLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + image_file_name: + type: string + maxLength: 100 + software: + type: string + format: uuid + title: Software Version + device_types: + type: array + items: + type: string + format: uuid + inventory_items: + type: array + items: + type: string + format: uuid + object_tags: + type: array + items: + type: string + format: uuid + download_url: + type: string + format: uri + maxLength: 200 + image_file_checksum: + type: string + maxLength: 256 + default_image: + type: boolean + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableSoftwareLCM: + type: object + description: REST API serializer for SoftwareLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_platform: + type: string + format: uuid + version: + type: string + maxLength: 50 + alias: + type: string + nullable: true + maxLength: 50 + release_date: + type: string + format: date + nullable: true + end_of_support: + type: string + format: date + nullable: true + title: End of Software Support + documentation_url: + type: string + format: uri + maxLength: 200 + software_images: + type: array + items: + type: string + format: uuid + long_term_support: + type: boolean + pre_release: + type: boolean + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableTenant: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + group: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + circuit_count: + type: integer + readOnly: true + device_count: + type: integer + readOnly: true + ipaddress_count: + type: integer + readOnly: true + prefix_count: + type: integer + readOnly: true + rack_count: + type: integer + readOnly: true + site_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + vlan_count: + type: integer + readOnly: true + vrf_count: + type: integer + readOnly: true + cluster_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableTenantGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + tenant_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableUser: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + username: + type: string + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + pattern: ^[\w.@+-]+$ + maxLength: 150 + password: + type: string + writeOnly: true + maxLength: 128 + first_name: + type: string + maxLength: 150 + last_name: + type: string + maxLength: 150 + email: + type: string + format: email + title: Email address + maxLength: 254 + is_staff: + type: boolean + title: Staff status + description: Designates whether the user can log into this admin site. + is_active: + type: boolean + title: Active + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + date_joined: + type: string + format: date-time + groups: + type: array + items: + type: integer + description: The groups this user belongs to. A user will get all permissions + granted to each of their groups. + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableVLAN: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + site: + type: string + format: uuid + nullable: true + group: + type: string + format: uuid + nullable: true + vid: + type: integer + maximum: 4094 + minimum: 1 + title: ID + name: + type: string + maxLength: 64 + tenant: + type: string + format: uuid + nullable: true + status: + $ref: '#/components/schemas/WritableVLANStatusEnum' + role: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + prefix_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableVLANGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + site: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + vlan_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableVMInterface: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + virtual_machine: + type: string + format: uuid + name: + type: string + maxLength: 64 + enabled: + type: boolean + mtu: + type: integer + maximum: 65536 + minimum: 1 + nullable: true + mac_address: + type: string + nullable: true + maxLength: 18 + description: + type: string + maxLength: 200 + mode: + oneOf: + - $ref: '#/components/schemas/ModeEnum' + - $ref: '#/components/schemas/BlankEnum' + untagged_vlan: + type: string + format: uuid + nullable: true + tagged_vlans: + type: array + items: + type: string + format: uuid + title: Tagged VLANs + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableVRF: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + rd: + type: string + nullable: true + title: Route distinguisher + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + tenant: + type: string + format: uuid + nullable: true + enforce_unique: + type: boolean + title: Enforce unique space + description: Prevent duplicate prefixes/IP addresses within this VRF + description: + type: string + maxLength: 200 + import_targets: + type: array + items: + type: string + format: uuid + export_targets: + type: array + items: + type: string + format: uuid + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + ipaddress_count: + type: integer + readOnly: true + prefix_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableValidatedSoftwareLCM: + type: object + description: REST API serializer for ValidatedSoftwareLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + software: + type: string + format: uuid + title: Software Version + devices: + type: array + items: + type: string + format: uuid + device_types: + type: array + items: + type: string + format: uuid + device_roles: + type: array + items: + type: string + format: uuid + inventory_items: + type: array + items: + type: string + format: uuid + object_tags: + type: array + items: + type: string + format: uuid + start: + type: string + format: date + title: Valid Since + end: + type: string + format: date + nullable: true + title: Valid Until + preferred: + type: boolean + title: Preferred Version + valid: + type: string + readOnly: true + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableVirtualChassis: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + domain: + type: string + maxLength: 30 + master: + type: string + format: uuid + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + member_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PatchedWritableVirtualMachineWithConfigContext: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + status: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextStatusEnum' + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + readOnly: true + cluster: + type: string + format: uuid + role: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + platform: + type: string + format: uuid + nullable: true + primary_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + primary_ip4: + type: string + format: uuid + nullable: true + title: Primary IPv4 + primary_ip6: + type: string + format: uuid + nullable: true + title: Primary IPv6 + vcpus: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + memory: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Memory (MB) + disk: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Disk (GB) + comments: + type: string + local_context_data: + type: object + additionalProperties: {} + nullable: true + local_context_schema: + type: string + format: uuid + nullable: true + description: Optional schema to validate the structure of the data + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + config_context: + type: object + additionalProperties: {} + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + PhaseEnum: + enum: + - single-phase + - three-phase + type: string + Platform: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturer' + nullable: true + napalm_driver: + type: string + description: The name of the NAPALM driver to use when interacting with + devices + maxLength: 50 + napalm_args: + type: object + additionalProperties: {} + nullable: true + title: NAPALM arguments + description: Additional arguments to pass when initiating the NAPALM driver + (JSON format) + description: + type: string + maxLength: 200 + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - device_count + - display + - id + - last_updated + - name + - url + - virtualmachine_count + PlatformEnum: + enum: + - mattermost + type: string + 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: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + power_panel: + $ref: '#/components/schemas/NestedPowerPanel' + rack: + allOf: + - $ref: '#/components/schemas/NestedRack' + nullable: true + name: + type: string + maxLength: 100 + status: + type: object + properties: + value: + type: string + enum: + - active + - failed + - offline + - planned + label: + type: string + enum: + - Active + - Failed + - Offline + - Planned + type: + type: object + properties: + value: + type: string + enum: + - primary + - redundant + label: + type: string + enum: + - Primary + - Redundant + default: + value: primary + label: Primary + supply: + type: object + properties: + value: + type: string + enum: + - ac + - dc + label: + type: string + enum: + - AC + - DC + default: + value: ac + label: AC + phase: + type: object + properties: + value: + type: string + enum: + - single-phase + - three-phase + label: + type: string + enum: + - Single phase + - Three-phase + default: + value: single-phase + label: Single phase + voltage: + type: integer + maximum: 32767 + minimum: -32768 + amperage: + type: integer + maximum: 32767 + minimum: 1 + max_utilization: + type: integer + maximum: 100 + minimum: 1 + description: Maximum permissible draw (percentage) + comments: + type: string + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - created + - display + - id + - last_updated + - name + - power_panel + - status + - url + PowerFeedTypeChoices: + enum: + - primary + - redundant + type: string + PowerOutlet: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + $ref: '#/components/schemas/NestedDevice' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + power_port: + $ref: '#/components/schemas/NestedPowerPort' + feed_leg: + type: object + properties: + value: + type: string + enum: + - A + - B + - C + label: + type: string + enum: + - A + - B + - C + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - device + - display + - id + - name + - url + PowerOutletTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + $ref: '#/components/schemas/NestedDeviceType' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + power_port: + $ref: '#/components/schemas/NestedPowerPortTemplate' + feed_leg: + type: object + properties: + value: + type: string + enum: + - A + - B + - C + label: + type: string + enum: + - A + - B + - C + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - url + 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: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + site: + $ref: '#/components/schemas/NestedSite' + rack_group: + allOf: + - $ref: '#/components/schemas/NestedRackGroup' + nullable: true + name: + type: string + maxLength: 100 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + powerfeed_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - powerfeed_count + - site + - url + PowerPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + $ref: '#/components/schemas/NestedDevice' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + maximum_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Allocated power draw (watts) + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - device + - display + - id + - name + - url + PowerPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + $ref: '#/components/schemas/NestedDeviceType' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + maximum_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Allocated power draw (watts) + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - url + 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: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + type: object + properties: + value: + type: integer + enum: + - 4 + - 6 + label: + type: string + enum: + - IPv4 + - IPv6 + readOnly: true + prefix: + type: string + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRF' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + vlan: + allOf: + - $ref: '#/components/schemas/NestedVLAN' + nullable: true + status: + type: object + properties: + value: + type: string + enum: + - active + - container + - deprecated + - p2p + - reserved + label: + type: string + enum: + - Active + - Container + - Deprecated + - Peer-to-Peer + - Reserved + role: + allOf: + - $ref: '#/components/schemas/NestedRole' + nullable: true + is_pool: + type: boolean + title: Is a pool + description: All IP addresses within this prefix are considered usable + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - family + - id + - last_updated + - prefix + - status + - url + PrefixLength: + type: object + properties: + prefix_length: + type: integer + required: + - prefix_length + 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: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + asn: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + nullable: true + description: 32-bit autonomous system number + account: + type: string + title: Account number + maxLength: 100 + portal_url: + type: string + format: uri + maxLength: 200 + noc_contact: + type: string + admin_contact: + type: string + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + circuit_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - circuit_count + - created + - display + - id + - last_updated + - name + - url + ProviderLCM: + type: object + description: API serializer. + properties: + id: + type: string + format: uuid + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + physical_address: + type: string + maxLength: 200 + phone: + type: string + maxLength: 20 + email: + type: string + format: email + title: E-mail + maxLength: 254 + comments: + type: string + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + ProviderNetwork: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + provider: + $ref: '#/components/schemas/NestedProvider' + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - provider + - url + RIR: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + is_private: + type: boolean + title: Private + description: IP space managed by this RIR is considered private + description: + type: string + maxLength: 200 + aggregate_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - aggregate_count + - created + - display + - id + - last_updated + - name + - url + Rack: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + facility_id: + type: string + nullable: true + description: Locally-assigned identifier + maxLength: 50 + site: + $ref: '#/components/schemas/NestedSite' + group: + allOf: + - $ref: '#/components/schemas/NestedRackGroup' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + status: + type: object + properties: + value: + type: string + enum: + - active + - available + - deprecated + - planned + - reserved + label: + type: string + enum: + - Active + - Available + - Deprecated + - Planned + - Reserved + role: + allOf: + - $ref: '#/components/schemas/NestedRackRole' + nullable: true + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this rack + maxLength: 50 + type: + type: object + properties: + value: + type: string + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-cabinet + label: + type: string + enum: + - 2-post frame + - 4-post frame + - 4-post cabinet + - Wall-mounted frame + - Wall-mounted cabinet + width: + type: object + properties: + value: + type: integer + enum: + - 10 + - 19 + - 21 + - 23 + label: + type: string + enum: + - 10 inches + - 19 inches + - 21 inches + - 23 inches + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (depth) + outer_unit: + type: object + properties: + value: + type: string + enum: + - mm + - in + label: + type: string + enum: + - Millimeters + - Inches + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + device_count: + type: integer + readOnly: true + powerfeed_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - device_count + - display + - id + - last_updated + - name + - powerfeed_count + - site + - status + - url + RackGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + site: + $ref: '#/components/schemas/NestedSite' + parent: + allOf: + - $ref: '#/components/schemas/NestedRackGroup' + nullable: true + description: + type: string + maxLength: 200 + rack_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - created + - display + - id + - last_updated + - name + - rack_count + - site + - url + RackReservation: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + rack: + $ref: '#/components/schemas/NestedRack' + units: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + user: + $ref: '#/components/schemas/NestedUser' + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - description + - display + - id + - rack + - units + - url + - user + RackRole: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + description: + type: string + maxLength: 200 + rack_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - rack_count + - url + RackTypeChoices: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-cabinet + type: string + RackUnit: + type: object + 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: + id: + type: integer + readOnly: true + name: + type: string + readOnly: true + face: + type: object + properties: + value: + type: string + enum: + - front + - rear + label: + type: string + enum: + - Front + - Rear + readOnly: true + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + occupied: + type: boolean + readOnly: true + required: + - device + - face + - id + - name + - occupied + RearPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + $ref: '#/components/schemas/NestedDevice' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + positions: + type: integer + maximum: 1024 + minimum: 1 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - device + - display + - id + - name + - type + - url + RearPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + $ref: '#/components/schemas/NestedDeviceType' + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + type: string + 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 + label: + type: string + 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 + positions: + type: integer + maximum: 1024 + minimum: 1 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - type + - url + Region: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + allOf: + - $ref: '#/components/schemas/NestedRegion' + nullable: true + description: + type: string + maxLength: 200 + site_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - created + - display + - id + - last_updated + - name + - site_count + - url + RegularExpressionValidationRule: + type: object + description: Serializer for `RegularExpressionValidationRule` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + content_type: + type: string + field: + type: string + maxLength: 50 + regular_expression: + type: string + enabled: + type: boolean + error_message: + type: string + nullable: true + description: Optional error message to display when validation fails. + maxLength: 255 + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_type + - created + - display + - field + - id + - last_updated + - name + - regular_expression + - slug + - url + Relationship: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Internal relationship name + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + type: + allOf: + - $ref: '#/components/schemas/RelationshipTypeChoices' + description: Cardinality of this relationship + source_type: + type: string + source_label: + type: string + description: Label for related destination objects, as displayed on the + source object. + maxLength: 50 + source_hidden: + type: boolean + title: Hide for source object + description: Hide this relationship on the source object. + source_filter: + type: object + additionalProperties: {} + nullable: true + description: Queryset filter matching the applicable source objects of the + selected type + destination_type: + type: string + destination_label: + type: string + description: Label for related source objects, as displayed on the destination + object. + maxLength: 50 + destination_hidden: + type: boolean + title: Hide for destination object + description: Hide this relationship on the destination object. + destination_filter: + type: object + additionalProperties: {} + nullable: true + description: Queryset filter matching the applicable destination objects + of the selected type + required: + - destination_type + - id + - name + - source_type + - url + RelationshipAssociation: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + relationship: + $ref: '#/components/schemas/NestedRelationship' + source_type: + type: string + source_id: + type: string + format: uuid + destination_type: + type: string + destination_id: + type: string + format: uuid + required: + - destination_id + - destination_type + - id + - relationship + - source_id + - source_type + RelationshipTypeChoices: + enum: + - one-to-one + - symmetric-one-to-one + - one-to-many + - many-to-many + - symmetric-many-to-many + type: string + Role: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + weight: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + prefix_count: + type: integer + readOnly: true + vlan_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - prefix_count + - url + - vlan_count + RoleEnum: + enum: + - loopback + - secondary + - anycast + - vip + - vrrp + - hsrp + - glbp + - carp + type: string + RouteTarget: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Route target value (formatted in accordance with RFC 4360) + maxLength: 21 + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - url + ScheduledJob: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Short Description For This Task + maxLength: 200 + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + job_model: + allOf: + - $ref: '#/components/schemas/NestedJob' + readOnly: true + task: + type: string + title: Task Name + description: 'The name of the Celery task that should be run. (Example: + "proj.tasks.import_contacts")' + maxLength: 200 + interval: + $ref: '#/components/schemas/IntervalEnum' + queue: + type: string + nullable: true + title: Queue Override + description: Queue defined in CELERY_TASK_QUEUES. Leave None for default + queuing. + maxLength: 200 + job_class: + type: string + description: Name of the fully qualified Nautobot Job class path + maxLength: 255 + last_run_at: + type: string + format: date-time + readOnly: true + title: Most Recent Run + description: Datetime that the schedule last triggered the task to run. + Reset to None if enabled is set to False. + total_run_count: + type: integer + readOnly: true + description: Running count of how many times the schedule has triggered + the task + date_changed: + type: string + format: date-time + readOnly: true + title: Last Modified + description: Datetime that this scheduled job was last modified + description: + type: string + description: Detailed description about the details of this scheduled job + approved_by_user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + approval_required: + type: boolean + approved_at: + type: string + format: date-time + readOnly: true + title: Approval date/time + description: Datetime that the schedule was approved + required: + - approved_at + - approved_by_user + - date_changed + - id + - interval + - job_class + - job_model + - last_run_at + - name + - task + - total_run_count + - url + - user + Secret: + type: object + description: Serializer for `Secret` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + provider: + type: string + maxLength: 100 + parameters: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - provider + - url + SecretTypeEnum: + enum: + - key + - password + - secret + - token + - username + type: string + SecretsGroup: + type: object + description: Serializer for `SecretsGroup` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + secrets: + type: array + items: + $ref: '#/components/schemas/NestedSecretsGroupAssociation' + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - secrets + - url + SecretsGroupAssociation: + type: object + description: Serializer for `SecretsGroupAssociation` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + group: + $ref: '#/components/schemas/NestedSecretsGroup' + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + secret: + $ref: '#/components/schemas/NestedSecret' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - access_type + - display + - group + - id + - secret + - secret_type + - url + Service: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + nullable: true + virtual_machine: + allOf: + - $ref: '#/components/schemas/NestedVirtualMachine' + nullable: true + name: + type: string + maxLength: 100 + ports: + type: array + items: + type: integer + maximum: 65535 + minimum: 1 + protocol: + type: object + properties: + value: + type: string + enum: + - tcp + - udp + label: + type: string + enum: + - TCP + - UDP + ipaddresses: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + type: integer + readOnly: true + address: + type: string + display: + type: string + readOnly: true + description: Human friendly display value + required: + - address + - display + - family + - id + - url + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - ports + - url + Site: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + status: + type: object + properties: + value: + type: string + enum: + - active + - decommissioning + - planned + - retired + - staging + label: + type: string + enum: + - Active + - Decommissioning + - Planned + - Retired + - Staging + region: + allOf: + - $ref: '#/components/schemas/NestedRegion' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + facility: + type: string + description: Local facility ID or description + maxLength: 50 + asn: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + nullable: true + description: 32-bit autonomous system number + time_zone: + type: string + nullable: true + description: + type: string + maxLength: 200 + physical_address: + type: string + maxLength: 200 + shipping_address: + type: string + maxLength: 200 + latitude: + type: string + format: decimal + pattern: ^-?\d{0,2}(?:\.\d{0,6})?$ + nullable: true + description: GPS coordinate (latitude) + longitude: + type: string + format: decimal + pattern: ^-?\d{0,3}(?:\.\d{0,6})?$ + nullable: true + description: GPS coordinate (longitude) + contact_name: + type: string + maxLength: 50 + contact_phone: + type: string + maxLength: 20 + contact_email: + type: string + format: email + title: Contact E-mail + maxLength: 254 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + circuit_count: + type: integer + readOnly: true + device_count: + type: integer + readOnly: true + prefix_count: + type: integer + readOnly: true + rack_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + vlan_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - circuit_count + - created + - device_count + - display + - id + - last_updated + - name + - prefix_count + - rack_count + - status + - url + - virtualmachine_count + - vlan_count + SoftwareImageLCM: + type: object + description: REST API serializer for SoftwareImageLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + image_file_name: + type: string + maxLength: 100 + software: + $ref: '#/components/schemas/NestedSoftwareLCM' + device_types: + type: array + items: + type: string + format: uuid + inventory_items: + type: array + items: + type: string + format: uuid + object_tags: + type: array + items: + type: string + format: uuid + download_url: + type: string + format: uri + maxLength: 200 + image_file_checksum: + type: string + maxLength: 256 + default_image: + type: boolean + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - image_file_name + - software + - url + SoftwareLCM: + type: object + description: REST API serializer for SoftwareLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_platform: + $ref: '#/components/schemas/NestedPlatform' + version: + type: string + maxLength: 50 + alias: + type: string + nullable: true + maxLength: 50 + release_date: + type: string + format: date + nullable: true + end_of_support: + type: string + format: date + nullable: true + title: End of Software Support + documentation_url: + type: string + format: uri + maxLength: 200 + software_images: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + image_file_name: + type: string + maxLength: 100 + device_types: + type: array + items: + type: string + format: uuid + inventory_items: + type: array + items: + type: string + format: uuid + object_tags: + type: array + items: + type: string + format: uuid + download_url: + type: string + format: uri + maxLength: 200 + image_file_checksum: + type: string + maxLength: 256 + default_image: + type: boolean + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - image_file_name + - url + long_term_support: + type: boolean + pre_release: + type: boolean + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_platform + - display + - id + - url + - version + Status: + type: object + description: Serializer for `Status` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_types: + type: array + items: + type: string + name: + type: string + maxLength: 50 + slug: + type: string + maxLength: 50 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_types + - created + - display + - id + - last_updated + - name + - url + Status4f5Enum: + type: string + enum: [] + SubdeviceRoleEnum: + enum: + - parent + - child + type: string + SupplyEnum: + enum: + - ac + - dc + type: string + TagSerializerField: + type: object + description: NestedSerializer field for `Tag` object fields. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - slug + - url + TagSerializerVersion13: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + description: + type: string + maxLength: 200 + tagged_items: + type: integer + readOnly: true + content_types: + type: array + items: + type: string + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_types + - created + - display + - id + - last_updated + - name + - slug + - tagged_items + - url + Tenant: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + group: + $ref: '#/components/schemas/NestedTenantGroup' + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + circuit_count: + type: integer + readOnly: true + device_count: + type: integer + readOnly: true + ipaddress_count: + type: integer + readOnly: true + prefix_count: + type: integer + readOnly: true + rack_count: + type: integer + readOnly: true + site_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + vlan_count: + type: integer + readOnly: true + vrf_count: + type: integer + readOnly: true + cluster_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - circuit_count + - cluster_count + - created + - device_count + - display + - id + - ipaddress_count + - last_updated + - name + - prefix_count + - rack_count + - site_count + - url + - virtualmachine_count + - vlan_count + - vrf_count + TenantGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + allOf: + - $ref: '#/components/schemas/NestedTenantGroup' + nullable: true + description: + type: string + maxLength: 200 + tenant_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - created + - display + - id + - last_updated + - name + - tenant_count + - url + TermSideEnum: + enum: + - A + - Z + type: string + Token: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + created: + type: string + format: date-time + readOnly: true + expires: + type: string + format: date-time + nullable: true + key: + type: string + maxLength: 40 + minLength: 40 + write_enabled: + type: boolean + description: Permit create/update/delete operations using this key + description: + type: string + maxLength: 200 + required: + - created + - display + - id + - url + User: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + username: + type: string + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + pattern: ^[\w.@+-]+$ + maxLength: 150 + password: + type: string + writeOnly: true + maxLength: 128 + first_name: + type: string + maxLength: 150 + last_name: + type: string + maxLength: 150 + email: + type: string + format: email + title: Email address + maxLength: 254 + is_staff: + type: boolean + title: Staff status + description: Designates whether the user can log into this admin site. + is_active: + type: boolean + title: Active + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + date_joined: + type: string + format: date-time + groups: + type: array + items: + type: object + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 150 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - password + - url + - username + VLAN: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + group: + allOf: + - $ref: '#/components/schemas/NestedVLANGroup' + nullable: true + vid: + type: integer + maximum: 4094 + minimum: 1 + title: ID + name: + type: string + maxLength: 64 + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + status: + type: object + properties: + value: + type: string + enum: + - active + - deprecated + - reserved + label: + type: string + enum: + - Active + - Deprecated + - Reserved + role: + allOf: + - $ref: '#/components/schemas/NestedRole' + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + prefix_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - prefix_count + - status + - url + - vid + VLANGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + description: + type: string + maxLength: 200 + vlan_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - last_updated + - name + - url + - vlan_count + VMInterface: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + virtual_machine: + $ref: '#/components/schemas/NestedVirtualMachine' + name: + type: string + maxLength: 64 + enabled: + type: boolean + mtu: + type: integer + maximum: 65536 + minimum: 1 + nullable: true + mac_address: + type: string + nullable: true + maxLength: 18 + description: + type: string + maxLength: 200 + mode: + type: object + properties: + value: + type: string + enum: + - access + - tagged + - tagged-all + label: + type: string + enum: + - Access + - Tagged + - Tagged (All) + untagged_vlan: + allOf: + - $ref: '#/components/schemas/NestedVLAN' + nullable: true + tagged_vlans: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + vid: + type: integer + maximum: 4094 + minimum: 1 + title: ID + name: + type: string + maxLength: 64 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + - vid + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + - virtual_machine + VRF: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + rd: + type: string + nullable: true + title: Route distinguisher + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + enforce_unique: + type: boolean + title: Enforce unique space + description: Prevent duplicate prefixes/IP addresses within this VRF + description: + type: string + maxLength: 200 + import_targets: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Route target value (formatted in accordance with RFC + 4360) + maxLength: 21 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + export_targets: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Route target value (formatted in accordance with RFC + 4360) + maxLength: 21 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + ipaddress_count: + type: integer + readOnly: true + prefix_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - display + - id + - ipaddress_count + - last_updated + - name + - prefix_count + - url + ValidatedSoftwareLCM: + type: object + description: REST API serializer for ValidatedSoftwareLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + software: + $ref: '#/components/schemas/NestedSoftwareLCM' + devices: + type: array + items: + type: string + format: uuid + device_types: + type: array + items: + type: string + format: uuid + device_roles: + type: array + items: + type: string + format: uuid + inventory_items: + type: array + items: + type: string + format: uuid + object_tags: + type: array + items: + type: string + format: uuid + start: + type: string + format: date + title: Valid Since + end: + type: string + format: date + nullable: true + title: Valid Until + preferred: + type: boolean + title: Preferred Version + valid: + type: string + readOnly: true + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - software + - start + - url + - valid + VirtualChassis: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + domain: + type: string + maxLength: 30 + master: + allOf: + - $ref: '#/components/schemas/NestedDevice' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + member_count: + type: integer + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - member_count + - name + - url + VirtualMachineWithConfigContext: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + status: + type: object + properties: + value: + type: string + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + label: + type: string + enum: + - Active + - Decommissioning + - Failed + - Offline + - Planned + - Staged + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + readOnly: true + cluster: + $ref: '#/components/schemas/NestedCluster' + role: + allOf: + - $ref: '#/components/schemas/NestedDeviceRole' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + 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 + vcpus: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + memory: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Memory (MB) + disk: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Disk (GB) + comments: + type: string + local_context_data: + type: object + additionalProperties: {} + nullable: true + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchema' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + config_context: + type: object + additionalProperties: {} + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cluster + - config_context + - created + - display + - id + - last_updated + - name + - primary_ip + - site + - status + - url + VulnerabilityLCM: + type: object + description: REST API serializer for VulnerabilityLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + url: + type: string + format: uri + readOnly: true + cve: + allOf: + - $ref: '#/components/schemas/NestedCVELCM' + readOnly: true + software: + allOf: + - $ref: '#/components/schemas/NestedSoftwareLCM' + readOnly: true + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + inventory_item: + allOf: + - $ref: '#/components/schemas/NestedInventoryItem' + readOnly: true + status: + type: object + properties: + value: + type: string + enum: [] + label: + type: string + enum: [] + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + required: + - cve + - device + - display + - id + - inventory_item + - software + - status + - url + Webhook: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_types: + type: array + items: + type: string + name: + type: string + maxLength: 150 + type_create: + type: boolean + description: Call this webhook when a matching object is created. + type_update: + type: boolean + description: Call this webhook when a matching object is updated. + type_delete: + type: boolean + description: Call this webhook when a matching object is deleted. + payload_url: + type: string + title: URL + description: A POST will be sent to this URL when the webhook is called. + maxLength: 500 + http_method: + $ref: '#/components/schemas/HttpMethodEnum' + http_content_type: + type: string + description: The complete list of official content types is available here. + maxLength: 100 + additional_headers: + type: string + 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).' + body_template: + type: string + 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.' + secret: + type: string + 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 + ssl_verification: + type: boolean + description: Enable SSL certificate verification. Disable with caution! + ca_file_path: + type: string + nullable: true + description: The specific CA certificate file to use for SSL verification. + Leave blank to use the system defaults. + maxLength: 4096 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_types + - display + - id + - name + - payload_url + - url + WidthEnum: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + WritableAggregate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + allOf: + - $ref: '#/components/schemas/FamilyEnum' + readOnly: true + prefix: + type: string + rir: + type: string + format: uuid + tenant: + type: string + format: uuid + nullable: true + date_added: + type: string + format: date + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - display + - family + - id + - last_updated + - prefix + - rir + - url + WritableCable: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + termination_a_type: + type: string + termination_a_id: + type: string + format: uuid + termination_a: + type: object + additionalProperties: {} + nullable: true + readOnly: true + termination_b_type: + type: string + termination_b_id: + type: string + format: uuid + termination_b: + type: object + additionalProperties: {} + nullable: true + readOnly: true + type: + oneOf: + - $ref: '#/components/schemas/CableTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + status: + $ref: '#/components/schemas/WritableCableStatusEnum' + label: + type: string + maxLength: 100 + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + length: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + length_unit: + oneOf: + - $ref: '#/components/schemas/LengthUnitEnum' + - $ref: '#/components/schemas/BlankEnum' + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - display + - id + - status + - termination_a + - termination_a_id + - termination_a_type + - termination_b + - termination_b_id + - termination_b_type + - url + WritableCableStatusEnum: + type: string + enum: + - connected + - decommissioning + - planned + WritableCircuit: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + cid: + type: string + title: Circuit ID + maxLength: 100 + provider: + type: string + format: uuid + type: + type: string + format: uuid + status: + $ref: '#/components/schemas/WritableCircuitStatusEnum' + tenant: + type: string + format: uuid + nullable: true + install_date: + type: string + format: date + nullable: true + title: Date installed + commit_rate: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + description: + type: string + maxLength: 200 + termination_a: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + termination_z: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cid + - computed_fields + - created + - display + - id + - last_updated + - provider + - status + - termination_a + - termination_z + - type + - url + WritableCircuitStatusEnum: + type: string + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + WritableCircuitTermination: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + circuit: + type: string + format: uuid + term_side: + allOf: + - $ref: '#/components/schemas/TermSideEnum' + title: Termination + site: + type: string + format: uuid + nullable: true + provider_network: + type: string + format: uuid + nullable: true + port_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + upstream_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + description: Upstream speed, if different from port speed + xconnect_id: + type: string + title: Cross-connect ID + maxLength: 50 + pp_info: + type: string + title: Patch panel/port(s) + maxLength: 100 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - circuit + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - display + - id + - term_side + - url + WritableCluster: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + type: + type: string + format: uuid + group: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + site: + type: string + format: uuid + nullable: true + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - device_count + - display + - id + - last_updated + - name + - type + - url + - virtualmachine_count + WritableConfigContext: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + owner_content_type: + type: string + nullable: true + owner_object_id: + type: string + format: uuid + nullable: true + owner: + type: object + additionalProperties: {} + nullable: true + readOnly: true + weight: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + schema: + type: string + format: uuid + nullable: true + description: Optional schema to validate the structure of the data + is_active: + type: boolean + regions: + type: array + items: + type: string + format: uuid + sites: + type: array + items: + type: string + format: uuid + roles: + type: array + items: + type: string + format: uuid + device_types: + type: array + items: + type: string + format: uuid + platforms: + type: array + items: + type: string + format: uuid + cluster_groups: + type: array + items: + type: string + format: uuid + clusters: + type: array + items: + type: string + format: uuid + tenant_groups: + type: array + items: + type: string + format: uuid + tenants: + type: array + items: + type: string + format: uuid + tags: + type: array + items: + type: string + data: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - created + - data + - display + - id + - last_updated + - name + - owner + - url + WritableConsolePort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - device + - display + - id + - name + - url + WritableConsolePortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - device_type + - display + - id + - name + - url + WritableConsoleServerPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - device + - display + - id + - name + - url + WritableConsoleServerPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - url + WritableContactLCM: + type: object + description: API serializer. + properties: + name: + type: string + nullable: true + maxLength: 80 + address: + type: string + maxLength: 200 + phone: + type: string + maxLength: 20 + email: + type: string + format: email + title: Contact E-mail + maxLength: 254 + comments: + type: string + priority: + type: integer + maximum: 2147483647 + minimum: 0 + contract: + type: string + format: uuid + nullable: true + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - contract + - display + - name + WritableContractLCM: + type: object + description: API serializer. + properties: + id: + type: string + format: uuid + readOnly: true + provider: + type: string + format: uuid + nullable: true + title: Vendor + name: + type: string + maxLength: 100 + start: + type: string + format: date + nullable: true + title: Contract Start Date + end: + type: string + format: date + nullable: true + title: Contract End Date + cost: + type: string + format: decimal + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + nullable: true + title: Contract Cost + support_level: + type: string + nullable: true + maxLength: 64 + contract_type: + type: string + nullable: true + maxLength: 32 + expired: + type: string + readOnly: true + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - expired + - id + - name + WritableCustomField: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + content_types: + type: array + items: + type: string + type: + allOf: + - $ref: '#/components/schemas/CustomFieldTypeChoices' + description: The type of value(s) allowed for this field. + name: + type: string + title: Slug + description: URL-friendly unique shorthand. + maxLength: 50 + label: + type: string + description: Name of the field as displayed to users (if not provided, the + field's slug will be used.) + maxLength: 50 + description: + type: string + description: A helpful description for this field. + maxLength: 200 + required: + type: boolean + description: If true, this field is required when creating new objects or + editing an existing object. + filter_logic: + allOf: + - $ref: '#/components/schemas/FilterLogicEnum' + description: Loose matches any instance of a given string; Exact matches + the entire field. + default: + type: object + additionalProperties: {} + nullable: true + description: Default value for the field (must be a JSON value). Encapsulate + strings with double quotes (e.g. "Foo"). + weight: + type: integer + maximum: 32767 + minimum: 0 + description: Fields with higher weights appear lower in a form. + validation_minimum: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + title: Minimum value + description: Minimum allowed value (for numeric fields). + validation_maximum: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + title: Maximum value + description: Maximum allowed value (for numeric fields). + validation_regex: + type: string + 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 + display: + type: string + readOnly: true + description: Human friendly display value + required: + - content_types + - display + - id + - name + - url + WritableCustomFieldChoice: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + field: + type: string + format: uuid + value: + type: string + maxLength: 100 + weight: + type: integer + maximum: 32767 + minimum: 0 + description: Higher weights appear later in the list + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - field + - id + - url + - value + WritableDeviceBay: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + description: + type: string + maxLength: 200 + installed_device: + type: string + format: uuid + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - device + - display + - id + - name + - url + WritableDeviceBayTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - device_type + - display + - id + - name + - url + WritableDeviceType: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + manufacturer: + type: string + format: uuid + model: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + part_number: + type: string + description: Discrete part number (optional) + maxLength: 50 + u_height: + type: integer + maximum: 32767 + minimum: 0 + title: Height (U) + is_full_depth: + type: boolean + description: Device consumes both front and rear rack faces + subdevice_role: + title: Parent/child status + 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' + front_image: + type: string + format: uri + rear_image: + type: string + format: uri + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + device_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - device_count + - display + - id + - last_updated + - manufacturer + - model + - url + WritableDeviceWithConfigContext: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + nullable: true + maxLength: 64 + device_type: + type: string + format: uuid + device_role: + type: string + format: uuid + tenant: + type: string + format: uuid + nullable: true + platform: + type: string + format: uuid + nullable: true + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this device + maxLength: 50 + site: + type: string + format: uuid + rack: + type: string + format: uuid + nullable: true + position: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + description: The lowest-numbered unit occupied by the device + face: + title: Rack face + oneOf: + - $ref: '#/components/schemas/FaceEnum' + - $ref: '#/components/schemas/BlankEnum' + parent_device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + status: + $ref: '#/components/schemas/WritableDeviceWithConfigContextStatusEnum' + primary_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + primary_ip4: + type: string + format: uuid + nullable: true + title: Primary IPv4 + primary_ip6: + type: string + format: uuid + nullable: true + title: Primary IPv6 + secrets_group: + type: string + format: uuid + nullable: true + cluster: + type: string + format: uuid + nullable: true + virtual_chassis: + type: string + format: uuid + nullable: true + vc_position: + type: integer + maximum: 255 + minimum: 0 + nullable: true + vc_priority: + type: integer + maximum: 255 + minimum: 0 + nullable: true + comments: + type: string + local_context_schema: + type: string + format: uuid + nullable: true + description: Optional schema to validate the structure of the data + local_context_data: + type: object + additionalProperties: {} + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + computed_fields: + type: object + additionalProperties: {} + readOnly: true + custom_fields: + type: object + additionalProperties: {} + config_context: + type: object + additionalProperties: {} + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - config_context + - created + - device_role + - device_type + - display + - id + - last_updated + - parent_device + - primary_ip + - site + - status + - url + WritableDeviceWithConfigContextStatusEnum: + type: string + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + WritableFrontPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/PortTypeChoices' + rear_port: + type: string + format: uuid + rear_port_position: + type: integer + maximum: 1024 + minimum: 1 + default: 1 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - device + - display + - id + - name + - rear_port + - type + - url + WritableFrontPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/PortTypeChoices' + rear_port: + type: string + format: uuid + rear_port_position: + type: integer + maximum: 1024 + minimum: 1 + default: 1 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - device_type + - display + - id + - name + - rear_port + - type + - url + WritableGitRepository: + type: object + description: Git repositories defined as a data source. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + remote_url: + type: string + format: uri + description: Only HTTP and HTTPS URLs are presently supported + maxLength: 255 + branch: + type: string + maxLength: 64 + token: + type: string + writeOnly: true + username: + type: string + maxLength: 64 + secrets_group: + type: string + format: uuid + nullable: true + current_head: + type: string + description: Commit hash of the most recent fetch from the selected branch. + Used for syncing between workers. + maxLength: 48 + provided_contents: + type: array + items: + oneOf: + - $ref: '#/components/schemas/ProvidedContentsEnum' + - $ref: '#/components/schemas/BlankEnum' + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - remote_url + - url + WritableHardwareLCM: + type: object + description: API serializer. + properties: + id: + type: string + format: uuid + readOnly: true + expired: + type: string + readOnly: true + devices: + type: array + items: + $ref: '#/components/schemas/NestedDevice' + readOnly: true + description: Devices tied to Device Type + device_type: + type: string + format: uuid + nullable: true + inventory_item: + type: string + nullable: true + title: Inventory Item Part + maxLength: 255 + release_date: + type: string + format: date + nullable: true + end_of_sale: + type: string + format: date + nullable: true + end_of_support: + type: string + format: date + nullable: true + end_of_sw_releases: + type: string + format: date + nullable: true + title: End of Software Releases + end_of_security_patches: + type: string + format: date + nullable: true + documentation_url: + type: string + format: uri + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - devices + - display + - expired + - id + WritableIPAddress: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + allOf: + - $ref: '#/components/schemas/FamilyEnum' + readOnly: true + address: + type: string + vrf: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + status: + $ref: '#/components/schemas/WritableIPAddressStatusEnum' + role: + description: The functional role of this IP + oneOf: + - $ref: '#/components/schemas/RoleEnum' + - $ref: '#/components/schemas/BlankEnum' + assigned_object_type: + type: string + nullable: true + assigned_object_id: + type: string + format: uuid + nullable: true + assigned_object: + type: object + additionalProperties: {} + nullable: true + readOnly: true + nat_inside: + type: string + format: uuid + nullable: true + title: NAT (Inside) + description: The IP Addresses for which this address is the "outside" IP + nat_outside: + type: array + items: + $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + dns_name: + type: string + description: Hostname or FQDN (not case-sensitive) + pattern: ^[0-9A-Za-z._-]+$ + maxLength: 255 + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - address + - assigned_object + - computed_fields + - created + - display + - family + - id + - last_updated + - nat_outside + - status + - url + WritableIPAddressStatusEnum: + type: string + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + WritableInterface: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + enabled: + type: boolean + lag: + type: string + format: uuid + nullable: true + title: Parent LAG + mtu: + type: integer + maximum: 65536 + minimum: 1 + nullable: true + mac_address: + type: string + nullable: true + maxLength: 18 + mgmt_only: + type: boolean + title: Management only + description: This interface is used only for out-of-band management + description: + type: string + maxLength: 200 + mode: + oneOf: + - $ref: '#/components/schemas/ModeEnum' + - $ref: '#/components/schemas/BlankEnum' + untagged_vlan: + type: string + format: uuid + nullable: true + tagged_vlans: + type: array + items: + type: string + format: uuid + title: Tagged VLANs + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + count_ipaddresses: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - count_ipaddresses + - device + - display + - id + - name + - type + - url + WritableInterfaceTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + mgmt_only: + type: boolean + title: Management only + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - device_type + - display + - id + - name + - type + - url + WritableInventoryItem: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + parent: + type: string + format: uuid + nullable: true + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + manufacturer: + type: string + format: uuid + nullable: true + part_id: + type: string + description: Manufacturer-assigned part identifier + maxLength: 50 + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this item + maxLength: 50 + discovered: + type: boolean + description: This item was automatically discovered + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - computed_fields + - device + - display + - id + - name + - url + WritableObjectPermission: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + enabled: + type: boolean + object_types: + type: array + items: + type: string + groups: + type: array + items: + type: integer + users: + type: array + items: + type: string + format: uuid + actions: + type: object + additionalProperties: {} + description: The list of actions granted by this permission + constraints: + type: object + additionalProperties: {} + nullable: true + description: Queryset filter matching the applicable objects of the selected + type(s) + display: + type: string + readOnly: true + description: Human friendly display value + required: + - actions + - display + - id + - name + - object_types + - url + WritablePlatform: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + manufacturer: + type: string + format: uuid + nullable: true + description: Optionally limit this platform to devices of a certain manufacturer + napalm_driver: + type: string + description: The name of the NAPALM driver to use when interacting with + devices + maxLength: 50 + napalm_args: + type: object + additionalProperties: {} + nullable: true + title: NAPALM arguments + description: Additional arguments to pass when initiating the NAPALM driver + (JSON format) + description: + type: string + maxLength: 200 + device_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - device_count + - display + - id + - last_updated + - name + - url + - virtualmachine_count + WritablePowerFeed: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + power_panel: + type: string + format: uuid + rack: + type: string + format: uuid + nullable: true + name: + type: string + maxLength: 100 + status: + $ref: '#/components/schemas/WritablePowerFeedStatusEnum' + type: + $ref: '#/components/schemas/PowerFeedTypeChoices' + supply: + $ref: '#/components/schemas/SupplyEnum' + phase: + $ref: '#/components/schemas/PhaseEnum' + voltage: + type: integer + maximum: 32767 + minimum: -32768 + amperage: + type: integer + maximum: 32767 + minimum: 1 + max_utilization: + type: integer + maximum: 100 + minimum: 1 + description: Maximum permissible draw (percentage) + comments: + type: string + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - created + - display + - id + - last_updated + - name + - power_panel + - status + - url + WritablePowerFeedStatusEnum: + type: string + enum: + - active + - failed + - offline + - planned + WritablePowerOutlet: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/PowerOutletTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + power_port: + type: string + format: uuid + nullable: true + feed_leg: + description: Phase (for three-phase feeds) + oneOf: + - $ref: '#/components/schemas/FeedLegEnum' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - device + - display + - id + - name + - url + WritablePowerOutletTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + oneOf: + - $ref: '#/components/schemas/PowerOutletTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + power_port: + type: string + format: uuid + nullable: true + feed_leg: + description: Phase (for three-phase feeds) + oneOf: + - $ref: '#/components/schemas/FeedLegEnum' + - $ref: '#/components/schemas/BlankEnum' + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - device_type + - display + - id + - name + - url + WritablePowerPanel: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + site: + type: string + format: uuid + rack_group: + type: string + format: uuid + nullable: true + name: + type: string + maxLength: 100 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + powerfeed_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - display + - id + - name + - powerfeed_count + - site + - url + WritablePowerPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/PowerPortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + maximum_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Allocated power draw (watts) + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + connected_endpoint: + type: object + additionalProperties: {} + nullable: true + readOnly: true + connected_endpoint_type: + type: string + nullable: true + readOnly: true + connected_endpoint_reachable: + type: boolean + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - device + - display + - id + - name + - url + WritablePowerPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + oneOf: + - $ref: '#/components/schemas/PowerPortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + maximum_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 32767 + minimum: 1 + nullable: true + description: Allocated power draw (watts) + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - device_type + - display + - id + - name + - url + WritablePrefix: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + family: + allOf: + - $ref: '#/components/schemas/FamilyEnum' + readOnly: true + prefix: + type: string + site: + type: string + format: uuid + nullable: true + vrf: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + vlan: + type: string + format: uuid + nullable: true + status: + $ref: '#/components/schemas/WritablePrefixStatusEnum' + role: + type: string + format: uuid + nullable: true + description: The primary function of this prefix + is_pool: + type: boolean + title: Is a pool + description: All IP addresses within this prefix are considered usable + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - display + - family + - id + - last_updated + - prefix + - status + - url + WritablePrefixStatusEnum: + type: string + enum: + - active + - container + - deprecated + - p2p + - reserved + WritableProviderNetwork: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + provider: + type: string + format: uuid + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - provider + - url + WritableRack: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + facility_id: + type: string + nullable: true + description: Locally-assigned identifier + maxLength: 50 + site: + type: string + format: uuid + group: + type: string + format: uuid + nullable: true + description: Assigned group + tenant: + type: string + format: uuid + nullable: true + status: + $ref: '#/components/schemas/WritableRackStatusEnum' + role: + type: string + format: uuid + nullable: true + description: Functional role + serial: + type: string + title: Serial number + maxLength: 255 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this rack + maxLength: 50 + type: + oneOf: + - $ref: '#/components/schemas/RackTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + width: + allOf: + - $ref: '#/components/schemas/WidthEnum' + description: Rail-to-rail width + minimum: 0 + maximum: 32767 + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (depth) + outer_unit: + oneOf: + - $ref: '#/components/schemas/OuterUnitEnum' + - $ref: '#/components/schemas/BlankEnum' + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + device_count: + type: integer + readOnly: true + powerfeed_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - device_count + - display + - id + - last_updated + - name + - powerfeed_count + - site + - status + - url + WritableRackGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + site: + type: string + format: uuid + parent: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + rack_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - computed_fields + - created + - display + - id + - last_updated + - name + - rack_count + - site + - url + WritableRackReservation: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + rack: + type: string + format: uuid + units: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + user: + type: string + format: uuid + tenant: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - description + - display + - id + - rack + - units + - url + - user + WritableRackStatusEnum: + type: string + enum: + - active + - available + - deprecated + - planned + - reserved + WritableRearPort: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/PortTypeChoices' + positions: + type: integer + maximum: 1024 + minimum: 1 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + type: object + additionalProperties: {} + nullable: true + readOnly: true + cable_peer_type: + type: string + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cable + - cable_peer + - cable_peer_type + - computed_fields + - device + - display + - id + - name + - type + - url + WritableRearPortTemplate: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_type: + type: string + format: uuid + name: + type: string + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + $ref: '#/components/schemas/PortTypeChoices' + positions: + type: integer + maximum: 1024 + minimum: 1 + description: + type: string + maxLength: 200 + custom_fields: + type: object + additionalProperties: {} + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_type + - display + - id + - name + - type + - url + WritableRegion: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + site_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - computed_fields + - created + - display + - id + - last_updated + - name + - site_count + - url + WritableRelationshipAssociation: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + relationship: + type: string + format: uuid + source_type: + type: string + source_id: + type: string + format: uuid + destination_type: + type: string + destination_id: + type: string + format: uuid + required: + - destination_id + - destination_type + - id + - relationship + - source_id + - source_type + WritableRouteTarget: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + description: Route target value (formatted in accordance with RFC 4360) + maxLength: 21 + tenant: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - url + WritableSecretsGroupAssociation: + type: object + description: Serializer for `SecretsGroupAssociation` objects. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + group: + type: string + format: uuid + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + secret: + type: string + format: uuid + display: + type: string + readOnly: true + description: Human friendly display value + required: + - access_type + - display + - group + - id + - secret + - secret_type + - url + WritableService: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device: + type: string + format: uuid + nullable: true + virtual_machine: + type: string + format: uuid + nullable: true + name: + type: string + maxLength: 100 + ports: + type: array + items: + type: integer + maximum: 65535 + minimum: 1 + protocol: + $ref: '#/components/schemas/ProtocolEnum' + ipaddresses: + type: array + items: + type: string + format: uuid + title: IP addresses + title: IP addresses + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - ports + - protocol + - url + WritableSite: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + status: + $ref: '#/components/schemas/WritableSiteStatusEnum' + region: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + facility: + type: string + description: Local facility ID or description + maxLength: 50 + asn: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + nullable: true + description: 32-bit autonomous system number + time_zone: + type: string + nullable: true + description: + type: string + maxLength: 200 + physical_address: + type: string + maxLength: 200 + shipping_address: + type: string + maxLength: 200 + latitude: + type: string + format: decimal + pattern: ^-?\d{0,2}(?:\.\d{0,6})?$ + nullable: true + description: GPS coordinate (latitude) + longitude: + type: string + format: decimal + pattern: ^-?\d{0,3}(?:\.\d{0,6})?$ + nullable: true + description: GPS coordinate (longitude) + contact_name: + type: string + maxLength: 50 + contact_phone: + type: string + maxLength: 20 + contact_email: + type: string + format: email + title: Contact E-mail + maxLength: 254 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + circuit_count: + type: integer + readOnly: true + device_count: + type: integer + readOnly: true + prefix_count: + type: integer + readOnly: true + rack_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + vlan_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - circuit_count + - computed_fields + - created + - device_count + - display + - id + - last_updated + - name + - prefix_count + - rack_count + - status + - url + - virtualmachine_count + - vlan_count + WritableSiteStatusEnum: + type: string + enum: + - active + - decommissioning + - planned + - retired + - staging + WritableSoftwareImageLCM: + type: object + description: REST API serializer for SoftwareImageLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + image_file_name: + type: string + maxLength: 100 + software: + type: string + format: uuid + title: Software Version + device_types: + type: array + items: + type: string + format: uuid + inventory_items: + type: array + items: + type: string + format: uuid + object_tags: + type: array + items: + type: string + format: uuid + download_url: + type: string + format: uri + maxLength: 200 + image_file_checksum: + type: string + maxLength: 256 + default_image: + type: boolean + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - image_file_name + - software + - url + WritableSoftwareLCM: + type: object + description: REST API serializer for SoftwareLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + device_platform: + type: string + format: uuid + version: + type: string + maxLength: 50 + alias: + type: string + nullable: true + maxLength: 50 + release_date: + type: string + format: date + nullable: true + end_of_support: + type: string + format: date + nullable: true + title: End of Software Support + documentation_url: + type: string + format: uri + maxLength: 200 + software_images: + type: array + items: + type: string + format: uuid + long_term_support: + type: boolean + pre_release: + type: boolean + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - device_platform + - display + - id + - software_images + - url + - version + WritableTenant: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + group: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + circuit_count: + type: integer + readOnly: true + device_count: + type: integer + readOnly: true + ipaddress_count: + type: integer + readOnly: true + prefix_count: + type: integer + readOnly: true + rack_count: + type: integer + readOnly: true + site_count: + type: integer + readOnly: true + virtualmachine_count: + type: integer + readOnly: true + vlan_count: + type: integer + readOnly: true + vrf_count: + type: integer + readOnly: true + cluster_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - circuit_count + - cluster_count + - computed_fields + - created + - device_count + - display + - id + - ipaddress_count + - last_updated + - name + - prefix_count + - rack_count + - site_count + - url + - virtualmachine_count + - vlan_count + - vrf_count + WritableTenantGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + tenant_count: + type: integer + readOnly: true + _depth: + type: integer + readOnly: true + title: ' depth' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - _depth + - computed_fields + - created + - display + - id + - last_updated + - name + - tenant_count + - url + WritableUser: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + username: + type: string + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + pattern: ^[\w.@+-]+$ + maxLength: 150 + password: + type: string + writeOnly: true + maxLength: 128 + first_name: + type: string + maxLength: 150 + last_name: + type: string + maxLength: 150 + email: + type: string + format: email + title: Email address + maxLength: 254 + is_staff: + type: boolean + title: Staff status + description: Designates whether the user can log into this admin site. + is_active: + type: boolean + title: Active + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + date_joined: + type: string + format: date-time + groups: + type: array + items: + type: integer + description: The groups this user belongs to. A user will get all permissions + granted to each of their groups. + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - password + - url + - username + WritableVLAN: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + site: + type: string + format: uuid + nullable: true + group: + type: string + format: uuid + nullable: true + vid: + type: integer + maximum: 4094 + minimum: 1 + title: ID + name: + type: string + maxLength: 64 + tenant: + type: string + format: uuid + nullable: true + status: + $ref: '#/components/schemas/WritableVLANStatusEnum' + role: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + prefix_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - prefix_count + - status + - url + - vid + WritableVLANGroup: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + site: + type: string + format: uuid + nullable: true + description: + type: string + maxLength: 200 + vlan_count: + type: integer + readOnly: true + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - display + - id + - last_updated + - name + - url + - vlan_count + WritableVLANStatusEnum: + type: string + enum: + - active + - deprecated + - reserved + WritableVMInterface: + type: object + 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: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + virtual_machine: + type: string + format: uuid + name: + type: string + maxLength: 64 + enabled: + type: boolean + mtu: + type: integer + maximum: 65536 + minimum: 1 + nullable: true + mac_address: + type: string + nullable: true + maxLength: 18 + description: + type: string + maxLength: 200 + mode: + oneOf: + - $ref: '#/components/schemas/ModeEnum' + - $ref: '#/components/schemas/BlankEnum' + untagged_vlan: + type: string + format: uuid + nullable: true + tagged_vlans: + type: array + items: + type: string + format: uuid + title: Tagged VLANs + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - name + - url + - virtual_machine + WritableVRF: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + rd: + type: string + nullable: true + title: Route distinguisher + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + tenant: + type: string + format: uuid + nullable: true + enforce_unique: + type: boolean + title: Enforce unique space + description: Prevent duplicate prefixes/IP addresses within this VRF + description: + type: string + maxLength: 200 + import_targets: + type: array + items: + type: string + format: uuid + export_targets: + type: array + items: + type: string + format: uuid + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + ipaddress_count: + type: integer + readOnly: true + prefix_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - created + - display + - id + - ipaddress_count + - last_updated + - name + - prefix_count + - url + WritableValidatedSoftwareLCM: + type: object + description: REST API serializer for ValidatedSoftwareLCM records. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + software: + type: string + format: uuid + title: Software Version + devices: + type: array + items: + type: string + format: uuid + device_types: + type: array + items: + type: string + format: uuid + device_roles: + type: array + items: + type: string + format: uuid + inventory_items: + type: array + items: + type: string + format: uuid + object_tags: + type: array + items: + type: string + format: uuid + start: + type: string + format: date + title: Valid Since + end: + type: string + format: date + nullable: true + title: Valid Until + preferred: + type: boolean + title: Preferred Version + valid: + type: string + readOnly: true + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + display: + type: string + readOnly: true + description: Human friendly display value + required: + - display + - id + - software + - start + - url + - valid + WritableVirtualChassis: + type: object + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + domain: + type: string + maxLength: 30 + master: + type: string + format: uuid + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + member_count: + type: integer + readOnly: true + computed_fields: + type: object + additionalProperties: {} + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - computed_fields + - display + - id + - member_count + - name + - url + WritableVirtualMachineWithConfigContext: + type: object + description: Mixin to add `status` choice field to model serializers. + properties: + id: + type: string + format: uuid + readOnly: true + url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 64 + status: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextStatusEnum' + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + readOnly: true + cluster: + type: string + format: uuid + role: + type: string + format: uuid + nullable: true + tenant: + type: string + format: uuid + nullable: true + platform: + type: string + format: uuid + nullable: true + primary_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + primary_ip4: + type: string + format: uuid + nullable: true + title: Primary IPv4 + primary_ip6: + type: string + format: uuid + nullable: true + title: Primary IPv6 + vcpus: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + memory: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Memory (MB) + disk: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Disk (GB) + comments: + type: string + local_context_data: + type: object + additionalProperties: {} + nullable: true + local_context_schema: + type: string + format: uuid + nullable: true + description: Optional schema to validate the structure of the data + tags: + type: array + items: + $ref: '#/components/schemas/TagSerializerField' + custom_fields: + type: object + additionalProperties: {} + config_context: + type: object + additionalProperties: {} + readOnly: true + created: + type: string + format: date + readOnly: true + last_updated: + type: string + format: date-time + readOnly: true + display: + type: string + readOnly: true + description: Human friendly display value + required: + - cluster + - config_context + - created + - display + - id + - last_updated + - name + - primary_ip + - site + - status + - url + WritableVirtualMachineWithConfigContextStatusEnum: + type: string + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + securitySchemes: + basicAuth: + type: http + scheme: basic + cookieAuth: + type: apiKey + in: cookie + name: sessionid + tokenAuth: + type: apiKey + in: header + name: Authorization + description: Token-based authentication with required prefix "Token" +servers: +- url: /api diff --git a/client/types.go b/client/types.go new file mode 100644 index 0000000..4b04174 --- /dev/null +++ b/client/types.go @@ -0,0 +1,51447 @@ +// 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. +package nautobot + +import ( + "encoding/json" + "fmt" + "time" + + openapi_types "github.com/deepmap/oapi-codegen/pkg/types" +) + +const ( + BasicAuthScopes = "basicAuth.Scopes" + CookieAuthScopes = "cookieAuth.Scopes" + TokenAuthScopes = "tokenAuth.Scopes" +) + +// Defines values for AccessTypeEnum. +const ( + AccessTypeEnumConsole AccessTypeEnum = "Console" + + AccessTypeEnumGNMI AccessTypeEnum = "gNMI" + + AccessTypeEnumGeneric AccessTypeEnum = "Generic" + + AccessTypeEnumHTTPS AccessTypeEnum = "HTTP(S)" + + AccessTypeEnumNETCONF AccessTypeEnum = "NETCONF" + + AccessTypeEnumREST AccessTypeEnum = "REST" + + AccessTypeEnumRESTCONF AccessTypeEnum = "RESTCONF" + + AccessTypeEnumSNMP AccessTypeEnum = "SNMP" + + AccessTypeEnumSSH AccessTypeEnum = "SSH" +) + +// 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 ButtonClassEnum. +const ( + ButtonClassEnumDanger ButtonClassEnum = "danger" + + ButtonClassEnumDefault ButtonClassEnum = "default" + + ButtonClassEnumInfo ButtonClassEnum = "info" + + ButtonClassEnumLink ButtonClassEnum = "link" + + ButtonClassEnumPrimary ButtonClassEnum = "primary" + + ButtonClassEnumSuccess ButtonClassEnum = "success" + + ButtonClassEnumWarning ButtonClassEnum = "warning" +) + +// Defines values for CableLengthUnitLabel. +const ( + CableLengthUnitLabelCentimeters CableLengthUnitLabel = "Centimeters" + + 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" +) + +// Defines values for CableStatusLabel. +const ( + CableStatusLabelConnected CableStatusLabel = "Connected" + + CableStatusLabelDecommissioning CableStatusLabel = "Decommissioning" + + CableStatusLabelPlanned CableStatusLabel = "Planned" +) + +// Defines values for CableStatusValue. +const ( + CableStatusValueConnected CableStatusValue = "connected" + + CableStatusValueDecommissioning CableStatusValue = "decommissioning" + + CableStatusValuePlanned CableStatusValue = "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" +) + +// Defines values for CircuitStatusLabel. +const ( + CircuitStatusLabelActive CircuitStatusLabel = "Active" + + CircuitStatusLabelDecommissioned CircuitStatusLabel = "Decommissioned" + + CircuitStatusLabelDeprovisioning CircuitStatusLabel = "Deprovisioning" + + CircuitStatusLabelOffline CircuitStatusLabel = "Offline" + + CircuitStatusLabelPlanned CircuitStatusLabel = "Planned" + + CircuitStatusLabelProvisioning CircuitStatusLabel = "Provisioning" +) + +// Defines values for CircuitStatusValue. +const ( + CircuitStatusValueActive CircuitStatusValue = "active" + + CircuitStatusValueDecommissioned CircuitStatusValue = "decommissioned" + + CircuitStatusValueDeprovisioning CircuitStatusValue = "deprovisioning" + + CircuitStatusValueOffline CircuitStatusValue = "offline" + + CircuitStatusValuePlanned CircuitStatusValue = "planned" + + CircuitStatusValueProvisioning CircuitStatusValue = "provisioning" +) + +// Defines values for CircuitMaintenanceStatusEnum. +const ( + CircuitMaintenanceStatusEnumCANCELLED CircuitMaintenanceStatusEnum = "CANCELLED" + + CircuitMaintenanceStatusEnumCOMPLETED CircuitMaintenanceStatusEnum = "COMPLETED" + + CircuitMaintenanceStatusEnumCONFIRMED CircuitMaintenanceStatusEnum = "CONFIRMED" + + CircuitMaintenanceStatusEnumINPROCESS CircuitMaintenanceStatusEnum = "IN-PROCESS" + + CircuitMaintenanceStatusEnumRESCHEDULED CircuitMaintenanceStatusEnum = "RE-SCHEDULED" + + CircuitMaintenanceStatusEnumTENTATIVE CircuitMaintenanceStatusEnum = "TENTATIVE" + + CircuitMaintenanceStatusEnumUNKNOWN CircuitMaintenanceStatusEnum = "UNKNOWN" +) + +// Defines values for ConfigTypeEnum. +const ( + ConfigTypeEnumCli ConfigTypeEnum = "cli" + + ConfigTypeEnumCustom ConfigTypeEnum = "custom" + + 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" + + 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" +) + +// 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" + + ConsolePortTypeValueUsbMicroA ConsolePortTypeValue = "usb-micro-a" + + ConsolePortTypeValueUsbMicroB ConsolePortTypeValue = "usb-micro-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" + + 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" +) + +// 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" + + ConsolePortTemplateTypeValueUsbMicroA ConsolePortTemplateTypeValue = "usb-micro-a" + + ConsolePortTemplateTypeValueUsbMicroB ConsolePortTemplateTypeValue = "usb-micro-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" + + ConsolePortTypeChoicesUsbMicroA ConsolePortTypeChoices = "usb-micro-a" + + ConsolePortTypeChoicesUsbMicroB ConsolePortTypeChoices = "usb-micro-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" + + 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" +) + +// 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" + + ConsoleServerPortTypeValueUsbMicroA ConsoleServerPortTypeValue = "usb-micro-a" + + ConsoleServerPortTypeValueUsbMicroB ConsoleServerPortTypeValue = "usb-micro-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" + + 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" +) + +// 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" + + ConsoleServerPortTemplateTypeValueUsbMicroA ConsoleServerPortTemplateTypeValue = "usb-micro-a" + + ConsoleServerPortTemplateTypeValueUsbMicroB ConsoleServerPortTemplateTypeValue = "usb-micro-b" + + ConsoleServerPortTemplateTypeValueUsbMiniA ConsoleServerPortTemplateTypeValue = "usb-mini-a" + + ConsoleServerPortTemplateTypeValueUsbMiniB ConsoleServerPortTemplateTypeValue = "usb-mini-b" +) + +// Defines values for CustomFieldFilterLogicLabel. +const ( + CustomFieldFilterLogicLabelDisabled CustomFieldFilterLogicLabel = "Disabled" + + CustomFieldFilterLogicLabelExact CustomFieldFilterLogicLabel = "Exact" + + CustomFieldFilterLogicLabelLoose CustomFieldFilterLogicLabel = "Loose" +) + +// Defines values for CustomFieldFilterLogicValue. +const ( + CustomFieldFilterLogicValueDisabled CustomFieldFilterLogicValue = "disabled" + + CustomFieldFilterLogicValueExact CustomFieldFilterLogicValue = "exact" + + CustomFieldFilterLogicValueLoose CustomFieldFilterLogicValue = "loose" +) + +// Defines values for CustomFieldTypeLabel. +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" +) + +// Defines values for CustomFieldTypeValue. +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" +) + +// Defines values for CustomFieldTypeChoices. +const ( + 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" +) + +// Defines values for DeviceFaceLabel. +const ( + DeviceFaceLabelFront DeviceFaceLabel = "Front" + + DeviceFaceLabelRear DeviceFaceLabel = "Rear" +) + +// Defines values for DeviceFaceValue. +const ( + DeviceFaceValueFront DeviceFaceValue = "front" + + DeviceFaceValueRear DeviceFaceValue = "rear" +) + +// Defines values for DeviceStatusLabel. +const ( + DeviceStatusLabelActive DeviceStatusLabel = "Active" + + DeviceStatusLabelDecommissioning DeviceStatusLabel = "Decommissioning" + + DeviceStatusLabelFailed DeviceStatusLabel = "Failed" + + DeviceStatusLabelInventory DeviceStatusLabel = "Inventory" + + DeviceStatusLabelOffline DeviceStatusLabel = "Offline" + + DeviceStatusLabelPlanned DeviceStatusLabel = "Planned" + + DeviceStatusLabelStaged DeviceStatusLabel = "Staged" +) + +// Defines values for DeviceStatusValue. +const ( + DeviceStatusValueActive DeviceStatusValue = "active" + + DeviceStatusValueDecommissioning DeviceStatusValue = "decommissioning" + + DeviceStatusValueFailed DeviceStatusValue = "failed" + + DeviceStatusValueInventory DeviceStatusValue = "inventory" + + DeviceStatusValueOffline DeviceStatusValue = "offline" + + DeviceStatusValuePlanned DeviceStatusValue = "planned" + + DeviceStatusValueStaged DeviceStatusValue = "staged" +) + +// Defines values for DeviceTypeSubdeviceRoleLabel. +const ( + DeviceTypeSubdeviceRoleLabelChild DeviceTypeSubdeviceRoleLabel = "Child" + + DeviceTypeSubdeviceRoleLabelParent DeviceTypeSubdeviceRoleLabel = "Parent" +) + +// Defines values for DeviceTypeSubdeviceRoleValue. +const ( + DeviceTypeSubdeviceRoleValueChild DeviceTypeSubdeviceRoleValue = "child" + + DeviceTypeSubdeviceRoleValueParent DeviceTypeSubdeviceRoleValue = "parent" +) + +// Defines values for DeviceWithConfigContextFaceLabel. +const ( + DeviceWithConfigContextFaceLabelFront DeviceWithConfigContextFaceLabel = "Front" + + DeviceWithConfigContextFaceLabelRear DeviceWithConfigContextFaceLabel = "Rear" +) + +// Defines values for DeviceWithConfigContextFaceValue. +const ( + DeviceWithConfigContextFaceValueFront DeviceWithConfigContextFaceValue = "front" + + DeviceWithConfigContextFaceValueRear DeviceWithConfigContextFaceValue = "rear" +) + +// Defines values for DeviceWithConfigContextStatusLabel. +const ( + DeviceWithConfigContextStatusLabelActive DeviceWithConfigContextStatusLabel = "Active" + + DeviceWithConfigContextStatusLabelDecommissioning DeviceWithConfigContextStatusLabel = "Decommissioning" + + DeviceWithConfigContextStatusLabelFailed DeviceWithConfigContextStatusLabel = "Failed" + + DeviceWithConfigContextStatusLabelInventory DeviceWithConfigContextStatusLabel = "Inventory" + + DeviceWithConfigContextStatusLabelOffline DeviceWithConfigContextStatusLabel = "Offline" + + DeviceWithConfigContextStatusLabelPlanned DeviceWithConfigContextStatusLabel = "Planned" + + DeviceWithConfigContextStatusLabelStaged DeviceWithConfigContextStatusLabel = "Staged" +) + +// Defines values for DeviceWithConfigContextStatusValue. +const ( + DeviceWithConfigContextStatusValueActive DeviceWithConfigContextStatusValue = "active" + + DeviceWithConfigContextStatusValueDecommissioning DeviceWithConfigContextStatusValue = "decommissioning" + + DeviceWithConfigContextStatusValueFailed DeviceWithConfigContextStatusValue = "failed" + + DeviceWithConfigContextStatusValueInventory DeviceWithConfigContextStatusValue = "inventory" + + DeviceWithConfigContextStatusValueOffline DeviceWithConfigContextStatusValue = "offline" + + DeviceWithConfigContextStatusValuePlanned DeviceWithConfigContextStatusValue = "planned" + + DeviceWithConfigContextStatusValueStaged DeviceWithConfigContextStatusValue = "staged" +) + +// Defines values for FaceEnum. +const ( + FaceEnumFront FaceEnum = "front" + + FaceEnumRear FaceEnum = "rear" +) + +// Defines values for FamilyEnum. +const ( + FamilyEnumN4 FamilyEnum = 4 + + FamilyEnumN6 FamilyEnum = 6 +) + +// 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// Defines values for GrantTypeEnum. +const ( + GrantTypeEnumChannel GrantTypeEnum = "channel" + + GrantTypeEnumOrganization GrantTypeEnum = "organization" + + GrantTypeEnumUser GrantTypeEnum = "user" +) + +// Defines values for HttpMethodEnum. +const ( + HttpMethodEnumDELETE HttpMethodEnum = "DELETE" + + HttpMethodEnumGET HttpMethodEnum = "GET" + + HttpMethodEnumPATCH HttpMethodEnum = "PATCH" + + HttpMethodEnumPOST HttpMethodEnum = "POST" + + HttpMethodEnumPUT 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" + + IPAddressRoleLabelSecondary IPAddressRoleLabel = "Secondary" + + 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" + + IPAddressRoleValueSecondary IPAddressRoleValue = "secondary" + + IPAddressRoleValueVip IPAddressRoleValue = "vip" + + IPAddressRoleValueVrrp IPAddressRoleValue = "vrrp" +) + +// Defines values for IPAddressStatusLabel. +const ( + IPAddressStatusLabelActive IPAddressStatusLabel = "Active" + + IPAddressStatusLabelDHCP IPAddressStatusLabel = "DHCP" + + IPAddressStatusLabelDeprecated IPAddressStatusLabel = "Deprecated" + + IPAddressStatusLabelReserved IPAddressStatusLabel = "Reserved" + + IPAddressStatusLabelSLAAC IPAddressStatusLabel = "SLAAC" +) + +// Defines values for IPAddressStatusValue. +const ( + IPAddressStatusValueActive IPAddressStatusValue = "active" + + IPAddressStatusValueDeprecated IPAddressStatusValue = "deprecated" + + IPAddressStatusValueDhcp IPAddressStatusValue = "dhcp" + + IPAddressStatusValueReserved IPAddressStatusValue = "reserved" + + IPAddressStatusValueSlaac IPAddressStatusValue = "slaac" +) + +// Defines values for ImpactEnum. +const ( + ImpactEnumDEGRADED ImpactEnum = "DEGRADED" + + ImpactEnumNOIMPACT ImpactEnum = "NO-IMPACT" + + ImpactEnumOUTAGE ImpactEnum = "OUTAGE" + + ImpactEnumREDUCEDREDUNDANCY ImpactEnum = "REDUCED-REDUNDANCY" +) + +// Defines values for InterfaceModeLabel. +const ( + InterfaceModeLabelAccess InterfaceModeLabel = "Access" + + InterfaceModeLabelTagged InterfaceModeLabel = "Tagged" + + InterfaceModeLabelTaggedAll InterfaceModeLabel = "Tagged (All)" +) + +// Defines values for InterfaceModeValue. +const ( + InterfaceModeValueAccess InterfaceModeValue = "access" + + InterfaceModeValueTagged InterfaceModeValue = "tagged" + + InterfaceModeValueTaggedAll InterfaceModeValue = "tagged-all" +) + +// 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" + + 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)" +) + +// 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" + + 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" +) + +// 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" + + 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)" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// Defines values for IntervalEnum. +const ( + IntervalEnumDaily IntervalEnum = "daily" + + IntervalEnumFuture IntervalEnum = "future" + + IntervalEnumHourly IntervalEnum = "hourly" + + IntervalEnumImmediately IntervalEnum = "immediately" + + IntervalEnumWeekly IntervalEnum = "weekly" +) + +// Defines values for JobResultStatusLabel. +const ( + JobResultStatusLabelCompleted JobResultStatusLabel = "Completed" + + 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" +) + +// Defines values for LengthUnitEnum. +const ( + LengthUnitEnumCm LengthUnitEnum = "cm" + + LengthUnitEnumFt LengthUnitEnum = "ft" + + LengthUnitEnumIn LengthUnitEnum = "in" + + LengthUnitEnumM LengthUnitEnum = "m" +) + +// Defines values for LogLevelEnum. +const ( + LogLevelEnumDefault LogLevelEnum = "default" + + LogLevelEnumFailure LogLevelEnum = "failure" + + LogLevelEnumInfo LogLevelEnum = "info" + + LogLevelEnumSuccess LogLevelEnum = "success" + + LogLevelEnumWarning LogLevelEnum = "warning" +) + +// Defines values for ModeEnum. +const ( + ModeEnumAccess ModeEnum = "access" + + ModeEnumTagged ModeEnum = "tagged" + + ModeEnumTaggedAll ModeEnum = "tagged-all" +) + +// Defines values for NestedJobResultStatusLabel. +const ( + NestedJobResultStatusLabelCompleted NestedJobResultStatusLabel = "Completed" + + 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" +) + +// Defines values for ObjectChangeActionLabel. +const ( + ObjectChangeActionLabelCreated ObjectChangeActionLabel = "Created" + + ObjectChangeActionLabelDeleted ObjectChangeActionLabel = "Deleted" + + ObjectChangeActionLabelUpdated ObjectChangeActionLabel = "Updated" +) + +// Defines values for ObjectChangeActionValue. +const ( + ObjectChangeActionValueCreate ObjectChangeActionValue = "create" + + ObjectChangeActionValueDelete ObjectChangeActionValue = "delete" + + ObjectChangeActionValueUpdate ObjectChangeActionValue = "update" +) + +// Defines values for OuterUnitEnum. +const ( + OuterUnitEnumIn OuterUnitEnum = "in" + + OuterUnitEnumMm OuterUnitEnum = "mm" +) + +// Defines values for PhaseEnum. +const ( + PhaseEnumSinglePhase PhaseEnum = "single-phase" + + PhaseEnumThreePhase PhaseEnum = "three-phase" +) + +// Defines values for PlatformEnum. +const ( + PlatformEnumMattermost PlatformEnum = "mattermost" +) + +// 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" + + 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" +) + +// Defines values for PowerFeedPhaseLabel. +const ( + PowerFeedPhaseLabelSinglePhase PowerFeedPhaseLabel = "Single phase" + + PowerFeedPhaseLabelThreePhase PowerFeedPhaseLabel = "Three-phase" +) + +// Defines values for PowerFeedPhaseValue. +const ( + PowerFeedPhaseValueSinglePhase PowerFeedPhaseValue = "single-phase" + + PowerFeedPhaseValueThreePhase PowerFeedPhaseValue = "three-phase" +) + +// Defines values for PowerFeedStatusLabel. +const ( + PowerFeedStatusLabelActive PowerFeedStatusLabel = "Active" + + PowerFeedStatusLabelFailed PowerFeedStatusLabel = "Failed" + + PowerFeedStatusLabelOffline PowerFeedStatusLabel = "Offline" + + PowerFeedStatusLabelPlanned PowerFeedStatusLabel = "Planned" +) + +// Defines values for PowerFeedStatusValue. +const ( + PowerFeedStatusValueActive PowerFeedStatusValue = "active" + + PowerFeedStatusValueFailed PowerFeedStatusValue = "failed" + + PowerFeedStatusValueOffline PowerFeedStatusValue = "offline" + + PowerFeedStatusValuePlanned PowerFeedStatusValue = "planned" +) + +// Defines values for PowerFeedSupplyLabel. +const ( + PowerFeedSupplyLabelAC PowerFeedSupplyLabel = "AC" + + PowerFeedSupplyLabelDC PowerFeedSupplyLabel = "DC" +) + +// Defines values for PowerFeedSupplyValue. +const ( + PowerFeedSupplyValueAc PowerFeedSupplyValue = "ac" + + PowerFeedSupplyValueDc PowerFeedSupplyValue = "dc" +) + +// Defines values for PowerFeedTypeLabel. +const ( + PowerFeedTypeLabelPrimary PowerFeedTypeLabel = "Primary" + + PowerFeedTypeLabelRedundant PowerFeedTypeLabel = "Redundant" +) + +// Defines values for PowerFeedTypeValue. +const ( + PowerFeedTypeValuePrimary PowerFeedTypeValue = "primary" + + PowerFeedTypeValueRedundant PowerFeedTypeValue = "redundant" +) + +// Defines values for PowerFeedTypeChoices. +const ( + PowerFeedTypeChoicesPrimary PowerFeedTypeChoices = "primary" + + PowerFeedTypeChoicesRedundant 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// Defines values for PrefixFamilyLabel. +const ( + PrefixFamilyLabelIPv4 PrefixFamilyLabel = "IPv4" + + PrefixFamilyLabelIPv6 PrefixFamilyLabel = "IPv6" +) + +// Defines values for PrefixFamilyValue. +const ( + PrefixFamilyValueN4 PrefixFamilyValue = 4 + + PrefixFamilyValueN6 PrefixFamilyValue = 6 +) + +// Defines values for PrefixStatusLabel. +const ( + PrefixStatusLabelActive PrefixStatusLabel = "Active" + + PrefixStatusLabelContainer PrefixStatusLabel = "Container" + + PrefixStatusLabelDeprecated PrefixStatusLabel = "Deprecated" + + PrefixStatusLabelPeerToPeer PrefixStatusLabel = "Peer-to-Peer" + + PrefixStatusLabelReserved PrefixStatusLabel = "Reserved" +) + +// Defines values for PrefixStatusValue. +const ( + PrefixStatusValueActive PrefixStatusValue = "active" + + PrefixStatusValueContainer PrefixStatusValue = "container" + + PrefixStatusValueDeprecated PrefixStatusValue = "deprecated" + + PrefixStatusValueP2p PrefixStatusValue = "p2p" + + PrefixStatusValueReserved PrefixStatusValue = "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" +) + +// Defines values for RackOuterUnitLabel. +const ( + 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" + + RackStatusLabelDeprecated RackStatusLabel = "Deprecated" + + RackStatusLabelPlanned RackStatusLabel = "Planned" + + RackStatusLabelReserved RackStatusLabel = "Reserved" +) + +// Defines values for RackStatusValue. +const ( + RackStatusValueActive RackStatusValue = "active" + + RackStatusValueAvailable RackStatusValue = "available" + + RackStatusValueDeprecated RackStatusValue = "deprecated" + + 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" + + RackTypeLabelWallMountedCabinet RackTypeLabel = "Wall-mounted cabinet" + + RackTypeLabelWallMountedFrame RackTypeLabel = "Wall-mounted frame" +) + +// Defines values for RackTypeValue. +const ( + RackTypeValueN2PostFrame RackTypeValue = "2-post-frame" + + RackTypeValueN4PostCabinet RackTypeValue = "4-post-cabinet" + + 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" +) + +// Defines values for RackWidthValue. +const ( + RackWidthValueN10 RackWidthValue = 10 + + RackWidthValueN19 RackWidthValue = 19 + + RackWidthValueN21 RackWidthValue = 21 + + RackWidthValueN23 RackWidthValue = 23 +) + +// 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" +) + +// Defines values for RackUnitFaceLabel. +const ( + RackUnitFaceLabelFront RackUnitFaceLabel = "Front" + + RackUnitFaceLabelRear RackUnitFaceLabel = "Rear" +) + +// Defines values for RackUnitFaceValue. +const ( + RackUnitFaceValueFront RackUnitFaceValue = "front" + + 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// 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" + + 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" +) + +// Defines values for RelationshipTypeChoices. +const ( + RelationshipTypeChoicesManyToMany RelationshipTypeChoices = "many-to-many" + + 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 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" +) + +// Defines values for SecretTypeEnum. +const ( + SecretTypeEnumKey SecretTypeEnum = "key" + + SecretTypeEnumPassword SecretTypeEnum = "password" + + 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 SiteStatusLabel. +const ( + SiteStatusLabelActive SiteStatusLabel = "Active" + + SiteStatusLabelDecommissioning SiteStatusLabel = "Decommissioning" + + SiteStatusLabelPlanned SiteStatusLabel = "Planned" + + SiteStatusLabelRetired SiteStatusLabel = "Retired" + + SiteStatusLabelStaging SiteStatusLabel = "Staging" +) + +// Defines values for SiteStatusValue. +const ( + SiteStatusValueActive SiteStatusValue = "active" + + SiteStatusValueDecommissioning SiteStatusValue = "decommissioning" + + SiteStatusValuePlanned SiteStatusValue = "planned" + + SiteStatusValueRetired SiteStatusValue = "retired" + + SiteStatusValueStaging SiteStatusValue = "staging" +) + +// Defines values for SubdeviceRoleEnum. +const ( + SubdeviceRoleEnumChild SubdeviceRoleEnum = "child" + + SubdeviceRoleEnumParent 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 VLANStatusLabel. +const ( + VLANStatusLabelActive VLANStatusLabel = "Active" + + VLANStatusLabelDeprecated VLANStatusLabel = "Deprecated" + + VLANStatusLabelReserved VLANStatusLabel = "Reserved" +) + +// Defines values for VLANStatusValue. +const ( + VLANStatusValueActive VLANStatusValue = "active" + + VLANStatusValueDeprecated VLANStatusValue = "deprecated" + + VLANStatusValueReserved VLANStatusValue = "reserved" +) + +// Defines values for VMInterfaceModeLabel. +const ( + VMInterfaceModeLabelAccess VMInterfaceModeLabel = "Access" + + VMInterfaceModeLabelTagged VMInterfaceModeLabel = "Tagged" + + VMInterfaceModeLabelTaggedAll VMInterfaceModeLabel = "Tagged (All)" +) + +// Defines values for VMInterfaceModeValue. +const ( + VMInterfaceModeValueAccess VMInterfaceModeValue = "access" + + VMInterfaceModeValueTagged VMInterfaceModeValue = "tagged" + + VMInterfaceModeValueTaggedAll VMInterfaceModeValue = "tagged-all" +) + +// Defines values for VirtualMachineWithConfigContextStatusLabel. +const ( + VirtualMachineWithConfigContextStatusLabelActive VirtualMachineWithConfigContextStatusLabel = "Active" + + VirtualMachineWithConfigContextStatusLabelDecommissioning VirtualMachineWithConfigContextStatusLabel = "Decommissioning" + + VirtualMachineWithConfigContextStatusLabelFailed VirtualMachineWithConfigContextStatusLabel = "Failed" + + VirtualMachineWithConfigContextStatusLabelOffline VirtualMachineWithConfigContextStatusLabel = "Offline" + + VirtualMachineWithConfigContextStatusLabelPlanned VirtualMachineWithConfigContextStatusLabel = "Planned" + + VirtualMachineWithConfigContextStatusLabelStaged VirtualMachineWithConfigContextStatusLabel = "Staged" +) + +// Defines values for VirtualMachineWithConfigContextStatusValue. +const ( + VirtualMachineWithConfigContextStatusValueActive VirtualMachineWithConfigContextStatusValue = "active" + + VirtualMachineWithConfigContextStatusValueDecommissioning VirtualMachineWithConfigContextStatusValue = "decommissioning" + + 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. +const ( + WritableCableStatusEnumConnected WritableCableStatusEnum = "connected" + + WritableCableStatusEnumDecommissioning WritableCableStatusEnum = "decommissioning" + + WritableCableStatusEnumPlanned WritableCableStatusEnum = "planned" +) + +// Defines values for WritableCircuitStatusEnum. +const ( + WritableCircuitStatusEnumActive WritableCircuitStatusEnum = "active" + + WritableCircuitStatusEnumDecommissioned WritableCircuitStatusEnum = "decommissioned" + + WritableCircuitStatusEnumDeprovisioning WritableCircuitStatusEnum = "deprovisioning" + + WritableCircuitStatusEnumOffline WritableCircuitStatusEnum = "offline" + + WritableCircuitStatusEnumPlanned WritableCircuitStatusEnum = "planned" + + WritableCircuitStatusEnumProvisioning WritableCircuitStatusEnum = "provisioning" +) + +// Defines values for WritableDeviceWithConfigContextStatusEnum. +const ( + WritableDeviceWithConfigContextStatusEnumActive WritableDeviceWithConfigContextStatusEnum = "active" + + WritableDeviceWithConfigContextStatusEnumDecommissioning WritableDeviceWithConfigContextStatusEnum = "decommissioning" + + WritableDeviceWithConfigContextStatusEnumFailed WritableDeviceWithConfigContextStatusEnum = "failed" + + WritableDeviceWithConfigContextStatusEnumInventory WritableDeviceWithConfigContextStatusEnum = "inventory" + + WritableDeviceWithConfigContextStatusEnumOffline WritableDeviceWithConfigContextStatusEnum = "offline" + + WritableDeviceWithConfigContextStatusEnumPlanned WritableDeviceWithConfigContextStatusEnum = "planned" + + WritableDeviceWithConfigContextStatusEnumStaged WritableDeviceWithConfigContextStatusEnum = "staged" +) + +// Defines values for WritableIPAddressStatusEnum. +const ( + WritableIPAddressStatusEnumActive WritableIPAddressStatusEnum = "active" + + WritableIPAddressStatusEnumDeprecated WritableIPAddressStatusEnum = "deprecated" + + WritableIPAddressStatusEnumDhcp WritableIPAddressStatusEnum = "dhcp" + + WritableIPAddressStatusEnumReserved WritableIPAddressStatusEnum = "reserved" + + WritableIPAddressStatusEnumSlaac WritableIPAddressStatusEnum = "slaac" +) + +// Defines values for WritablePowerFeedStatusEnum. +const ( + WritablePowerFeedStatusEnumActive WritablePowerFeedStatusEnum = "active" + + WritablePowerFeedStatusEnumFailed WritablePowerFeedStatusEnum = "failed" + + WritablePowerFeedStatusEnumOffline WritablePowerFeedStatusEnum = "offline" + + WritablePowerFeedStatusEnumPlanned WritablePowerFeedStatusEnum = "planned" +) + +// Defines values for WritablePrefixStatusEnum. +const ( + WritablePrefixStatusEnumActive WritablePrefixStatusEnum = "active" + + WritablePrefixStatusEnumContainer WritablePrefixStatusEnum = "container" + + WritablePrefixStatusEnumDeprecated WritablePrefixStatusEnum = "deprecated" + + WritablePrefixStatusEnumP2p WritablePrefixStatusEnum = "p2p" + + WritablePrefixStatusEnumReserved WritablePrefixStatusEnum = "reserved" +) + +// Defines values for WritableRackStatusEnum. +const ( + WritableRackStatusEnumActive WritableRackStatusEnum = "active" + + WritableRackStatusEnumAvailable WritableRackStatusEnum = "available" + + WritableRackStatusEnumDeprecated WritableRackStatusEnum = "deprecated" + + WritableRackStatusEnumPlanned WritableRackStatusEnum = "planned" + + WritableRackStatusEnumReserved WritableRackStatusEnum = "reserved" +) + +// Defines values for WritableSiteStatusEnum. +const ( + WritableSiteStatusEnumActive WritableSiteStatusEnum = "active" + + WritableSiteStatusEnumDecommissioning WritableSiteStatusEnum = "decommissioning" + + WritableSiteStatusEnumPlanned WritableSiteStatusEnum = "planned" + + WritableSiteStatusEnumRetired WritableSiteStatusEnum = "retired" + + WritableSiteStatusEnumStaging WritableSiteStatusEnum = "staging" +) + +// Defines values for WritableVLANStatusEnum. +const ( + WritableVLANStatusEnumActive WritableVLANStatusEnum = "active" + + WritableVLANStatusEnumDeprecated WritableVLANStatusEnum = "deprecated" + + WritableVLANStatusEnumReserved WritableVLANStatusEnum = "reserved" +) + +// Defines values for WritableVirtualMachineWithConfigContextStatusEnum. +const ( + WritableVirtualMachineWithConfigContextStatusEnumActive WritableVirtualMachineWithConfigContextStatusEnum = "active" + + WritableVirtualMachineWithConfigContextStatusEnumDecommissioning WritableVirtualMachineWithConfigContextStatusEnum = "decommissioning" + + WritableVirtualMachineWithConfigContextStatusEnumFailed WritableVirtualMachineWithConfigContextStatusEnum = "failed" + + WritableVirtualMachineWithConfigContextStatusEnumOffline WritableVirtualMachineWithConfigContextStatusEnum = "offline" + + WritableVirtualMachineWithConfigContextStatusEnumPlanned WritableVirtualMachineWithConfigContextStatusEnum = "planned" + + WritableVirtualMachineWithConfigContextStatusEnumStaged WritableVirtualMachineWithConfigContextStatusEnum = "staged" +) + +// API serializer for interacting with AccessGrant objects. +type AccessGrant struct { + // Enter * to grant access to all commands + Command string `json:"command"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + GrantType GrantTypeEnum `json:"grant_type"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Organization name, channel name, or user name + Name string `json:"name"` + + // 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 string `json:"value"` +} + +// AccessTypeEnum defines model for AccessTypeEnum. +type AccessTypeEnum string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +type Aggregate struct { + Created *openapi_types.Date `json:"created,omitempty"` + CustomFields *Aggregate_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 { + 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"` + Prefix string `json:"prefix"` + + // 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:"-"` +} + +// AggregateFamilyLabel defines model for Aggregate.Family.Label. +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"` +} + +// 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"` +} + +// BlankEnum defines model for BlankEnum. +type BlankEnum interface{} + +// ButtonClassEnum defines model for ButtonClassEnum. +type ButtonClassEnum string + +// 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"` + + // 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"` + Status *struct { + Label *string `json:"label,omitempty"` + Value *string `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// CVELCM_CustomFields defines model for CVELCM.CustomFields. +type CVELCM_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Mixin to add `status` choice field to model serializers. +type Cable struct { + Color *string `json:"color,omitempty"` + CustomFields *Cable_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 *struct { + Label *CableLengthUnitLabel `json:"label,omitempty"` + Value *CableLengthUnitValue `json:"value,omitempty"` + } `json:"length_unit,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:"-"` +} + +// CableLengthUnitLabel defines model for Cable.LengthUnit.Label. +type CableLengthUnitLabel string + +// CableLengthUnitValue defines model for Cable.LengthUnit.Value. +type CableLengthUnitValue string + +// CableStatusLabel defines model for Cable.Status.Label. +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_TerminationB defines model for Cable.TerminationB. +type Cable_TerminationB struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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"` + + // 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"` + + // 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"` + + // 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 +// 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 + // primary key value on write operations. + ConnectedEndpoint NestedInterface `json:"connected_endpoint"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + PortSpeed *int `json:"port_speed"` + + // 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 + // primary key value on write operations. + Site NestedSite `json:"site"` + + // 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. +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"` +} + +// 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"` +} + +// CircuitMaintenanceStatusEnum defines model for CircuitMaintenanceStatusEnum. +type CircuitMaintenanceStatusEnum 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 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"` + + // 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"` + + // 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"` + + // 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. +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"` + + // 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"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` +} + +// CircuitType_CustomFields defines model for CircuitType.CustomFields. +type CircuitType_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + + // 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"` + + // 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. +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"` + + // 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"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ClusterGroup_CustomFields defines model for ClusterGroup.CustomFields. +type ClusterGroup_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + + // 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"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ClusterType_CustomFields defines model for ClusterType.CustomFields. +type ClusterType_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// API serializer for interacting with CommandToken objects. +type CommandToken struct { + // Optional: Enter description of token + Comment *string `json:"comment,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Platform PlatformEnum `json:"platform"` + + // Token given by chat platform for signing or command validation + Token string `json:"token"` +} + +// 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"` + + // 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"` + 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:"-"` +} + +// 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. +type ComplianceRule struct { + CustomFieldData *ComplianceRule_CustomFieldData `json:"_custom_field_data,omitempty"` + ComputedFields *ComplianceRule_ComputedFields `json:"computed_fields,omitempty"` + + // 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"` + + // 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"` + + // 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:"-"` +} + +// 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 +// 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"` + + // 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 *string `json:"fallback_value,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Name of the field as displayed to users + Label string `json:"label"` + + // Internal field name + Slug *string `json:"slug,omitempty"` + + // Jinja2 template code for field value + Template string `json:"template"` + Url *string `json:"url,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// Serializer for ConfigCompliance object. +type ConfigCompliance struct { + CustomFieldData *ConfigCompliance_CustomFieldData `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"` + + // The device + Device openapi_types.UUID `json:"device"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // Configuration that should not be on the device. + Extra *ConfigCompliance_Extra `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"` + + // 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"` +} + +// ConfigCompliance_CustomFieldData defines model for ConfigCompliance.CustomFieldData. +type ConfigCompliance_CustomFieldData struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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 +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"cluster_groups,omitempty"` + Clusters *[]struct { + // 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"` + DeviceTypes *[]struct { + DeviceCount *int `json:"device_count,omitempty"` + + // 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"` + } `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"` + Platforms *[]struct { + DeviceCount *int `json:"device_count,omitempty"` + + // 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"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` + } `json:"platforms,omitempty"` + Regions *[]struct { + Depth *int `json:"_depth,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + SiteCount *int `json:"site_count,omitempty"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"regions,omitempty"` + Roles *[]struct { + DeviceCount *int `json:"device_count,omitempty"` + + // 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"` + 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 + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"sites,omitempty"` + Tags *[]string `json:"tags,omitempty"` + TenantGroups *[]struct { + Depth *int `json:"_depth,omitempty"` + + // 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"` + TenantCount *int `json:"tenant_count,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"tenant_groups,omitempty"` + Tenants *[]struct { + // 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"` + Url *string `json:"url,omitempty"` + } `json:"tenants,omitempty"` + Url *string `json:"url,omitempty"` + 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) +type ConfigContextSchema struct { + Created *openapi_types.Date `json:"created,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"` + + // 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"` +} + +// A JSON Schema document which is used to validate a config context object. +type ConfigContextSchema_DataSchema struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ConfigContextSchema_Owner defines model for ConfigContextSchema.Owner. +type ConfigContextSchema_Owner struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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"` + + // 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"` + Platform openapi_types.UUID `json:"platform"` + + // 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:"-"` +} + +// 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. +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"` + + // 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"` + Platform openapi_types.UUID `json:"platform"` + + // 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 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:"-"` +} + +// ConfigReplace_ComputedFields defines model for ConfigReplace.ComputedFields. +type ConfigReplace_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ConfigReplace_CustomFields defines model for ConfigReplace.CustomFields. +type ConfigReplace_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ConfigTypeEnum defines model for ConfigTypeEnum. +type ConfigTypeEnum string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + + // 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 *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 *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. +type ConsolePortTemplate struct { + CustomFields *ConsolePortTemplate_CustomFields `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 + // primary key value on write operations. + DeviceType NestedDeviceType `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 *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 + +// ConsolePortTemplateTypeValue defines model for ConsolePortTemplate.Type.Value. +type ConsolePortTemplateTypeValue string + +// ConsolePortTypeChoices defines model for ConsolePortTypeChoices. +type ConsolePortTypeChoices string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + + // 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 *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 *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. +type ConsoleServerPortTemplate struct { + CustomFields *ConsoleServerPortTemplate_CustomFields `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 + // primary key value on write operations. + DeviceType NestedDeviceType `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 *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. +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"` + + // 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"` +} + +// ContactLCM_CustomFields defines model for ContactLCM.CustomFields. +type ContactLCM_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ContentType defines model for ContentType. +type ContentType struct { + AppLabel string `json:"app_label"` + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Model string `json:"model"` + Url *string `json:"url,omitempty"` +} + +// API serializer. +type ContractLCM struct { + ContractType *string `json:"contract_type"` + Cost *string `json:"cost"` + CustomFields *ContractLCM_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"` + + // Vendor + Provider struct { + // Embedded struct due to allOf(#/components/schemas/NestedProviderLCM) + NestedProviderLCM `yaml:",inline"` + } `json:"provider"` + Start *openapi_types.Date `json:"start"` + SupportLevel *string `json:"support_level"` + Tags *[]TagSerializerField `json:"tags,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 +// 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"` + + // Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *CustomField_Default `json:"default"` + + // A helpful description for this field. + Description *string `json:"description,omitempty"` + + // 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 *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:"-"` +} + +// CustomFieldFilterLogicLabel defines model for CustomField.FilterLogic.Label. +type CustomFieldFilterLogicLabel string + +// CustomFieldFilterLogicValue defines model for CustomField.FilterLogic.Value. +type CustomFieldFilterLogicValue string + +// CustomFieldTypeLabel defines model for CustomField.Type.Label. +type CustomFieldTypeLabel string + +// CustomFieldTypeValue defines model for CustomField.Type.Value. +type CustomFieldTypeValue 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 CustomFieldChoice struct { + // 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 + // 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"` + + // Higher weights appear later in the list + 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 +// 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"` + + // 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"` + + // Force link to open in a new window + NewWindow bool `json:"new_window"` + + // 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 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"` + + // 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 + // primary key value on write operations. + DeviceType NestedDeviceType `json:"device_type"` + + // 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"` + + // 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"` + + // 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:"-"` +} + +// DeviceFaceLabel defines model for Device.Face.Label. +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. +type DeviceBay struct { + CustomFields *DeviceBay_CustomFields `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 + // primary key value on write operations. + Device NestedDevice `json:"device"` + + // 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"` + + // Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + 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. +type DeviceBayTemplate struct { + CustomFields *DeviceBayTemplate_CustomFields `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 + // primary key value on write operations. + DeviceType NestedDeviceType `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"` +} + +// DeviceBayTemplate_CustomFields defines model for DeviceBayTemplate.CustomFields. +type DeviceBayTemplate_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// DeviceNAPALM defines model for DeviceNAPALM. +type DeviceNAPALM struct { + Method DeviceNAPALM_Method `json:"method"` +} + +// DeviceNAPALM_Method defines model for DeviceNAPALM.Method. +type DeviceNAPALM_Method struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + + // 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"` + 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 *bool `json:"vm_role,omitempty"` +} + +// DeviceRole_CustomFields defines model for DeviceRole.CustomFields. +type DeviceRole_CustomFields struct { + 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"` + + // 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 *bool `json:"is_full_depth,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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"` + + // Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + RearImage *string `json:"rear_image,omitempty"` + Slug *string `json:"slug,omitempty"` + SubdeviceRole *struct { + Label *DeviceTypeSubdeviceRoleLabel `json:"label,omitempty"` + Value *DeviceTypeSubdeviceRoleValue `json:"value,omitempty"` + } `json:"subdevice_role,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + UHeight *int `json:"u_height,omitempty"` + 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. +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"` + + // 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 + // primary key value on write operations. + DeviceType NestedDeviceType `json:"device_type"` + + // 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"` + + // 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"` + + // 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:"-"` +} + +// DeviceWithConfigContextFaceLabel defines model for DeviceWithConfigContext.Face.Label. +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) +type DynamicGroup struct { + ContentType string `json:"content_type"` + Description *string `json:"description,omitempty"` + + // 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"` + + // Dynamic Group name + Name string `json:"name"` + + // 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 { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` + + // 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// FaceEnum defines model for FaceEnum. +type FaceEnum string + +// FamilyEnum defines model for FamilyEnum. +type FamilyEnum int + +// FeedLegEnum defines model for FeedLegEnum. +type FeedLegEnum string + +// FilterLogicEnum defines model for FilterLogicEnum. +type FilterLogicEnum string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + CablePeerType *string `json:"cable_peer_type"` + CustomFields *FrontPort_CustomFields `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 + // primary key value on write operations. + Device NestedDevice `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"` + + // 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"` + Type struct { + Label *FrontPortTypeLabel `json:"label,omitempty"` + Value *FrontPortTypeValue `json:"value,omitempty"` + } `json:"type"` + 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) +type FrontPortRearPort struct { + // 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"` +} + +// 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"` + + // 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + + // 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"` + Type struct { + Label *FrontPortTemplateTypeLabel `json:"label,omitempty"` + Value *FrontPortTemplateTypeValue `json:"value,omitempty"` + } `json:"type"` + 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. +type GitRepository struct { + Branch *string `json:"branch,omitempty"` + Created *openapi_types.Date `json:"created,omitempty"` + + // 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"` + + // 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"` + + // 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"` +} + +// GitRepository_CustomFields defines model for GitRepository.CustomFields. +type GitRepository_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Serializer for GoldenConfig object. +type GoldenConfig struct { + CustomFieldData *GoldenConfig_CustomFieldData `json:"_custom_field_data,omitempty"` + + // 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"` + + // device + Device openapi_types.UUID `json:"device"` + + // 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"` +} + +// GoldenConfig_CustomFieldData defines model for GoldenConfig.CustomFieldData. +type GoldenConfig_CustomFieldData struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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. +type GoldenConfigSetting struct { + CustomFieldData *GoldenConfigSetting_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 *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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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:"-"` +} + +// GrantTypeEnum defines model for GrantTypeEnum. +type GrantTypeEnum string + +// GraphQLAPI defines model for GraphQLAPI. +type GraphQLAPI struct { + // GraphQL query + Query string `json:"query"` + + // Variables in JSON Format + Variables *GraphQLAPI_Variables `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 +// 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"` +} + +// 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:"-"` +} + +// GraphQLQueryOutput defines model for GraphQLQueryOutput. +type GraphQLQueryOutput struct { + Data *GraphQLQueryOutput_Data `json:"data,omitempty"` +} + +// GraphQLQueryOutput_Data defines model for GraphQLQueryOutput.Data. +type GraphQLQueryOutput_Data 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) +type Group struct { + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` + UserCount *int `json:"user_count,omitempty"` +} + +// API serializer. +type HardwareLCM struct { + CustomFields *HardwareLCM_CustomFields `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"` + + // 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"` +} + +// HardwareLCM_CustomFields defines model for HardwareLCM.CustomFields. +type HardwareLCM_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// HttpMethodEnum defines model for HttpMethodEnum. +type HttpMethodEnum string + +// Mixin to add `status` choice field to model serializers. +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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // 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 { + Label *IPAddressRoleLabel `json:"label,omitempty"` + Value *IPAddressRoleValue `json:"value,omitempty"` + } `json:"role,omitempty"` + Status struct { + Label *IPAddressStatusLabel `json:"label,omitempty"` + 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:"-"` +} + +// IPAddressFamilyLabel defines model for IPAddress.Family.Label. +type IPAddressFamilyLabel string + +// IPAddressFamilyValue defines model for IPAddress.Family.Value. +type IPAddressFamilyValue int + +// IPAddressRoleLabel defines model for IPAddress.Role.Label. +type IPAddressRoleLabel string + +// IPAddressRoleValue defines model for IPAddress.Role.Value. +type IPAddressRoleValue string + +// IPAddressStatusLabel defines model for IPAddress.Status.Label. +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 +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Image string `json:"image"` + ImageHeight int `json:"image_height"` + ImageWidth int `json:"image_width"` + Name *string `json:"name,omitempty"` + ObjectId openapi_types.UUID `json:"object_id"` + Parent *ImageAttachment_Parent `json:"parent,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ImageAttachment_Parent defines model for ImageAttachment.Parent. +type ImageAttachment_Parent struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ImpactEnum defines model for ImpactEnum. +type ImpactEnum string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + + // 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 *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"` + + // 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"` + TaggedVlans *[]struct { + // 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 *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:"-"` +} + +// InterfaceModeLabel defines model for Interface.Mode.Label. +type InterfaceModeLabel string + +// InterfaceModeValue defines model for Interface.Mode.Value. +type InterfaceModeValue 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 +// 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"` + + // 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"` + + // 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"` +} + +// 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"` + + // 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 *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 *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 + +// InterfaceTemplateTypeValue defines model for InterfaceTemplate.Type.Value. +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. +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"` + + // 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 *bool `json:"discovered,omitempty"` + + // 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"` + + // 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:"-"` +} + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +type Job struct { + // 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 *bool `json:"approval_required_override,omitempty"` + + // 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"` + + // 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 *bool `json:"description_override,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // Whether this job can be executed by users + Enabled *bool `json:"enabled,omitempty"` + + // 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 *bool `json:"grouping_override,omitempty"` + + // 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"` + + // 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 string `json:"name"` + + // 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 *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"` + + // 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"` + + // 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 + 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"` +} + +// 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"` +} + +// JobClassDetail_Vars defines model for JobClassDetail.Vars. +type JobClassDetail_Vars struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// JobLogEntry defines model for JobLogEntry. +type JobLogEntry struct { + AbsoluteUrl *string `json:"absolute_url"` + Created *time.Time `json:"created,omitempty"` + Grouping *string `json:"grouping,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + JobResult openapi_types.UUID `json:"job_result"` + LogLevel *LogLevelEnum `json:"log_level,omitempty"` + LogObject *string `json:"log_object"` + Message *string `json:"message,omitempty"` + Url *string `json:"url,omitempty"` +} + +// JobResult defines model for JobResult. +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 { + 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:"-"` +} + +// JobResultStatusLabel defines model for JobResult.Status.Label. +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. +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"` +} + +// 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:"-"` +} + +// LengthUnitEnum defines model for LengthUnitEnum. +type LengthUnitEnum string + +// LogLevelEnum defines model for LogLevelEnum. +type LogLevelEnum string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + + // 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"` + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Serializer for `MinMaxValidationRule` objects. +type MinMaxValidationRule struct { + ContentType string `json:"content_type"` + 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"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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 *float64 `json:"min"` + Name string `json:"name"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// ModeEnum defines model for ModeEnum. +type ModeEnum string + +// Nested serializer for the CVE class. +type NestedCVELCM struct { + Comments *string `json:"comments,omitempty"` + Cvss *float64 `json:"cvss"` + CvssV2 *float64 `json:"cvss_v2"` + CvssV3 *float64 `json:"cvss_v3"` + Description *string `json:"description"` + + // 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"` + 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. +type NestedCable struct { + // 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 +// primary key value on write operations. +type NestedCircuit struct { + Cid string `json:"cid"` + + // 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 +// primary key value on write operations. +type NestedCircuitType struct { + CircuitCount *int `json:"circuit_count,omitempty"` + + // 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"` + Url *string `json:"url,omitempty"` +} + +// 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 *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"` +} + +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + 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 +// primary key value on write operations. +type NestedClusterType struct { + ClusterCount *int `json:"cluster_count,omitempty"` + + // 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"` + Url *string `json:"url,omitempty"` +} + +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` +} + +// API serializer. +type NestedContractLCM struct { + ContractType *string `json:"contract_type"` + Cost *string `json:"cost"` + + // 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"` + 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 +// primary key value on write operations. +type NestedCustomField struct { + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // URL-friendly unique shorthand. + 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 +// primary key value on write operations. +type NestedDevice struct { + // 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 +// primary key value on write operations. +type NestedDeviceRole struct { + DeviceCount *int `json:"device_count,omitempty"` + + // 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"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` +} + +// 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 *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"` +} + +// 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 *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 +// 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"` + + // 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 +// 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"` + + // 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. +type NestedJob struct { + // 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 *string `json:"job_class_name,omitempty"` + + // Dotted name of the Python module providing this job + ModuleName *string `json:"module_name,omitempty"` + + // 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 *string `json:"source,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedJobResult defines model for NestedJobResult. +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 { + 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"` +} + +// NestedJobResultStatusLabel defines model for NestedJobResult.Status.Label. +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 +// primary key value on write operations. +type NestedManufacturer struct { + DevicetypeCount *int `json:"devicetype_count,omitempty"` + + // 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"` + Url *string `json:"url,omitempty"` +} + +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` +} + +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + PowerfeedCount *int `json:"powerfeed_count,omitempty"` + Url *string `json:"url,omitempty"` +} + +// 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"` + + // 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 +// primary key value on write operations. +type NestedPowerPortTemplate struct { + // 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 +// primary key value on write operations. +type NestedProvider struct { + CircuitCount *int `json:"circuit_count,omitempty"` + + // 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"` + Url *string `json:"url,omitempty"` +} + +// Nested serializer for the provider class. +type NestedProviderLCM struct { + Comments *string `json:"comments,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"` + Phone *string `json:"phone,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` +} + +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + 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 +// primary key value on write operations. +type NestedRIR struct { + AggregateCount *int `json:"aggregate_count,omitempty"` + + // 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"` + Url *string `json:"url,omitempty"` +} + +// 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 *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 +// primary key value on write operations. +type NestedRackGroup struct { + Depth *int `json:"_depth,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + RackCount *int `json:"rack_count,omitempty"` + 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 +// primary key value on write operations. +type NestedRackRole struct { + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + RackCount *int `json:"rack_count,omitempty"` + 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 +// primary key value on write operations. +type NestedRearPortTemplate struct { + // 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 +// primary key value on write operations. +type NestedRegion struct { + Depth *int `json:"_depth,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + SiteCount *int `json:"site_count,omitempty"` + 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 +// primary key value on write operations. +type NestedRelationship struct { + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Internal relationship name + Name string `json:"name"` + 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 +// primary key value on write operations. +type NestedRole struct { + // 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"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + 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"` +} + +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + 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 +// primary key value on write operations. +type NestedSecretsGroup struct { + // 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"` + Url *string `json:"url,omitempty"` +} + +// 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 *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 + // 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 +// primary key value on write operations. +type NestedSite struct { + // 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"` + Url *string `json:"url,omitempty"` +} + +// Nested/brief serializer for SoftwareLCM. +type NestedSoftwareLCM struct { + DevicePlatform *openapi_types.UUID `json:"device_platform,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + EndOfSupport *openapi_types.Date `json:"end_of_support"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + Version string `json:"version"` +} + +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + 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 +// primary key value on write operations. +type NestedTenantGroup struct { + Depth *int `json:"_depth,omitempty"` + + // 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"` + TenantCount *int `json:"tenant_count,omitempty"` + Url *string `json:"url,omitempty"` +} + +// 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 *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 string `json:"username"` +} + +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` + Vid int `json:"vid"` +} + +// 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + VlanCount *int `json:"vlan_count,omitempty"` +} + +// 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 *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 *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 +// primary key value on write operations. +type NestedVirtualChassis struct { + // 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 + // primary key value on write operations. + Master NestedDevice `json:"master"` + MemberCount *int `json:"member_count,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 +// primary key value on write operations. +type NestedVirtualMachine struct { + // 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"` +} + +// Serializer for NotificationSource records. +type NotificationSource struct { + // 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 string `json:"name"` + Providers []NestedProvider `json:"providers"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// NullEnum defines model for NullEnum. +type NullEnum interface{} + +// ObjectChange defines model for ObjectChange. +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"` +} + +// ObjectChangeActionLabel defines model for ObjectChange.Action.Label. +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 +// 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"` + + // Queryset filter matching the applicable objects of the selected type(s) + Constraints *ObjectPermission_Constraints `json:"constraints"` + Description *string `json:"description,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Groups *[]struct { + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` + } `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 *[]struct { + // 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 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. +type OnboardingTask struct { + // Created device name + CreatedDevice *string `json:"created_device,omitempty"` + + // Nautobot device type 'slug' value + DeviceType *string `json:"device_type,omitempty"` + + // Failure reason + FailedReason *string `json:"failed_reason,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IP Address to reach device + IpAddress string `json:"ip_address"` + + // Status message + Message *string `json:"message,omitempty"` + + // Device password + Password *string `json:"password,omitempty"` + + // Nautobot Platform 'slug' value + Platform *string `json:"platform,omitempty"` + + // Device PORT to check for online + Port *int `json:"port,omitempty"` + + // Nautobot device role 'slug' value + Role *string `json:"role,omitempty"` + + // Device secret password + Secret *string `json:"secret,omitempty"` + + // Nautobot site 'slug' value + Site string `json:"site"` + + // Onboarding Status + Status *string `json:"status,omitempty"` + + // Timeout (sec) for device connect + Timeout *int `json:"timeout,omitempty"` + + // Device username + Username *string `json:"username,omitempty"` +} + +// OuterUnitEnum defines model for OuterUnitEnum. +type OuterUnitEnum string + +// PaginatedAccessGrantList defines model for PaginatedAccessGrantList. +type PaginatedAccessGrantList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]AccessGrant `json:"results,omitempty"` +} + +// PaginatedAggregateList defines model for PaginatedAggregateList. +type PaginatedAggregateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Aggregate `json:"results,omitempty"` +} + +// PaginatedAvailableIPList defines model for PaginatedAvailableIPList. +type PaginatedAvailableIPList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]AvailableIP `json:"results,omitempty"` +} + +// PaginatedAvailablePrefixList defines model for PaginatedAvailablePrefixList. +type PaginatedAvailablePrefixList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]AvailablePrefix `json:"results,omitempty"` +} + +// PaginatedCVELCMList defines model for PaginatedCVELCMList. +type PaginatedCVELCMList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CVELCM `json:"results,omitempty"` +} + +// PaginatedCableList defines model for PaginatedCableList. +type PaginatedCableList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Cable `json:"results,omitempty"` +} + +// PaginatedCircuitList defines model for PaginatedCircuitList. +type PaginatedCircuitList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Circuit `json:"results,omitempty"` +} + +// PaginatedCircuitMaintenanceCircuitImpactList defines model for PaginatedCircuitMaintenanceCircuitImpactList. +type PaginatedCircuitMaintenanceCircuitImpactList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CircuitMaintenanceCircuitImpact `json:"results,omitempty"` +} + +// PaginatedCircuitMaintenanceList defines model for PaginatedCircuitMaintenanceList. +type PaginatedCircuitMaintenanceList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CircuitMaintenance `json:"results,omitempty"` +} + +// PaginatedCircuitTerminationList defines model for PaginatedCircuitTerminationList. +type PaginatedCircuitTerminationList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CircuitTermination `json:"results,omitempty"` +} + +// PaginatedCircuitTypeList defines model for PaginatedCircuitTypeList. +type PaginatedCircuitTypeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CircuitType `json:"results,omitempty"` +} + +// PaginatedClusterGroupList defines model for PaginatedClusterGroupList. +type PaginatedClusterGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ClusterGroup `json:"results,omitempty"` +} + +// PaginatedClusterList defines model for PaginatedClusterList. +type PaginatedClusterList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Cluster `json:"results,omitempty"` +} + +// PaginatedClusterTypeList defines model for PaginatedClusterTypeList. +type PaginatedClusterTypeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ClusterType `json:"results,omitempty"` +} + +// PaginatedCommandTokenList defines model for PaginatedCommandTokenList. +type PaginatedCommandTokenList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CommandToken `json:"results,omitempty"` +} + +// PaginatedComplianceFeatureList defines model for PaginatedComplianceFeatureList. +type PaginatedComplianceFeatureList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ComplianceFeature `json:"results,omitempty"` +} + +// PaginatedComplianceRuleList defines model for PaginatedComplianceRuleList. +type PaginatedComplianceRuleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ComplianceRule `json:"results,omitempty"` +} + +// PaginatedComputedFieldList defines model for PaginatedComputedFieldList. +type PaginatedComputedFieldList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ComputedField `json:"results,omitempty"` +} + +// PaginatedConfigComplianceList defines model for PaginatedConfigComplianceList. +type PaginatedConfigComplianceList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConfigCompliance `json:"results,omitempty"` +} + +// PaginatedConfigContextList defines model for PaginatedConfigContextList. +type PaginatedConfigContextList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConfigContext `json:"results,omitempty"` +} + +// PaginatedConfigContextSchemaList defines model for PaginatedConfigContextSchemaList. +type PaginatedConfigContextSchemaList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConfigContextSchema `json:"results,omitempty"` +} + +// PaginatedConfigRemoveList defines model for PaginatedConfigRemoveList. +type PaginatedConfigRemoveList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConfigRemove `json:"results,omitempty"` +} + +// PaginatedConfigReplaceList defines model for PaginatedConfigReplaceList. +type PaginatedConfigReplaceList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConfigReplace `json:"results,omitempty"` +} + +// PaginatedConsolePortList defines model for PaginatedConsolePortList. +type PaginatedConsolePortList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConsolePort `json:"results,omitempty"` +} + +// PaginatedConsolePortTemplateList defines model for PaginatedConsolePortTemplateList. +type PaginatedConsolePortTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConsolePortTemplate `json:"results,omitempty"` +} + +// PaginatedConsoleServerPortList defines model for PaginatedConsoleServerPortList. +type PaginatedConsoleServerPortList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConsoleServerPort `json:"results,omitempty"` +} + +// PaginatedConsoleServerPortTemplateList defines model for PaginatedConsoleServerPortTemplateList. +type PaginatedConsoleServerPortTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ConsoleServerPortTemplate `json:"results,omitempty"` +} + +// PaginatedContactLCMList defines model for PaginatedContactLCMList. +type PaginatedContactLCMList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ContactLCM `json:"results,omitempty"` +} + +// PaginatedContentTypeList defines model for PaginatedContentTypeList. +type PaginatedContentTypeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ContentType `json:"results,omitempty"` +} + +// PaginatedContractLCMList defines model for PaginatedContractLCMList. +type PaginatedContractLCMList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ContractLCM `json:"results,omitempty"` +} + +// PaginatedCustomFieldChoiceList defines model for PaginatedCustomFieldChoiceList. +type PaginatedCustomFieldChoiceList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + 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"` +} + +// PaginatedCustomLinkList defines model for PaginatedCustomLinkList. +type PaginatedCustomLinkList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CustomLink `json:"results,omitempty"` +} + +// PaginatedDeviceBayList defines model for PaginatedDeviceBayList. +type PaginatedDeviceBayList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DeviceBay `json:"results,omitempty"` +} + +// PaginatedDeviceBayTemplateList defines model for PaginatedDeviceBayTemplateList. +type PaginatedDeviceBayTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DeviceBayTemplate `json:"results,omitempty"` +} + +// PaginatedDeviceRoleList defines model for PaginatedDeviceRoleList. +type PaginatedDeviceRoleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DeviceRole `json:"results,omitempty"` +} + +// PaginatedDeviceTypeList defines model for PaginatedDeviceTypeList. +type PaginatedDeviceTypeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DeviceType `json:"results,omitempty"` +} + +// PaginatedDeviceWithConfigContextList defines model for PaginatedDeviceWithConfigContextList. +type PaginatedDeviceWithConfigContextList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DeviceWithConfigContext `json:"results,omitempty"` +} + +// PaginatedDynamicGroupList defines model for PaginatedDynamicGroupList. +type PaginatedDynamicGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DynamicGroup `json:"results,omitempty"` +} + +// PaginatedExportTemplateList defines model for PaginatedExportTemplateList. +type PaginatedExportTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ExportTemplate `json:"results,omitempty"` +} + +// PaginatedFrontPortList defines model for PaginatedFrontPortList. +type PaginatedFrontPortList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]FrontPort `json:"results,omitempty"` +} + +// PaginatedFrontPortTemplateList defines model for PaginatedFrontPortTemplateList. +type PaginatedFrontPortTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]FrontPortTemplate `json:"results,omitempty"` +} + +// PaginatedGitRepositoryList defines model for PaginatedGitRepositoryList. +type PaginatedGitRepositoryList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]GitRepository `json:"results,omitempty"` +} + +// PaginatedGoldenConfigList defines model for PaginatedGoldenConfigList. +type PaginatedGoldenConfigList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]GoldenConfig `json:"results,omitempty"` +} + +// PaginatedGoldenConfigSettingList defines model for PaginatedGoldenConfigSettingList. +type PaginatedGoldenConfigSettingList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]GoldenConfigSetting `json:"results,omitempty"` +} + +// PaginatedGraphQLQueryList defines model for PaginatedGraphQLQueryList. +type PaginatedGraphQLQueryList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]GraphQLQuery `json:"results,omitempty"` +} + +// PaginatedGroupList defines model for PaginatedGroupList. +type PaginatedGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Group `json:"results,omitempty"` +} + +// PaginatedHardwareLCMList defines model for PaginatedHardwareLCMList. +type PaginatedHardwareLCMList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]HardwareLCM `json:"results,omitempty"` +} + +// PaginatedIPAddressList defines model for PaginatedIPAddressList. +type PaginatedIPAddressList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]IPAddress `json:"results,omitempty"` +} + +// PaginatedImageAttachmentList defines model for PaginatedImageAttachmentList. +type PaginatedImageAttachmentList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ImageAttachment `json:"results,omitempty"` +} + +// PaginatedInterfaceConnectionList defines model for PaginatedInterfaceConnectionList. +type PaginatedInterfaceConnectionList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + 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"` +} + +// PaginatedInterfaceTemplateList defines model for PaginatedInterfaceTemplateList. +type PaginatedInterfaceTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]InterfaceTemplate `json:"results,omitempty"` +} + +// PaginatedInventoryItemList defines model for PaginatedInventoryItemList. +type PaginatedInventoryItemList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]InventoryItem `json:"results,omitempty"` +} + +// PaginatedJobList defines model for PaginatedJobList. +type PaginatedJobList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Job `json:"results,omitempty"` +} + +// PaginatedJobLogEntryList defines model for PaginatedJobLogEntryList. +type PaginatedJobLogEntryList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]JobLogEntry `json:"results,omitempty"` +} + +// PaginatedJobResultList defines model for PaginatedJobResultList. +type PaginatedJobResultList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]JobResult `json:"results,omitempty"` +} + +// PaginatedJobVariableList defines model for PaginatedJobVariableList. +type PaginatedJobVariableList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]JobVariable `json:"results,omitempty"` +} + +// PaginatedManufacturerList defines model for PaginatedManufacturerList. +type PaginatedManufacturerList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Manufacturer `json:"results,omitempty"` +} + +// PaginatedMinMaxValidationRuleList defines model for PaginatedMinMaxValidationRuleList. +type PaginatedMinMaxValidationRuleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]MinMaxValidationRule `json:"results,omitempty"` +} + +// PaginatedNoteList defines model for PaginatedNoteList. +type PaginatedNoteList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Note `json:"results,omitempty"` +} + +// PaginatedNotificationSourceList defines model for PaginatedNotificationSourceList. +type PaginatedNotificationSourceList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]NotificationSource `json:"results,omitempty"` +} + +// PaginatedObjectChangeList defines model for PaginatedObjectChangeList. +type PaginatedObjectChangeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ObjectChange `json:"results,omitempty"` +} + +// PaginatedObjectPermissionList defines model for PaginatedObjectPermissionList. +type PaginatedObjectPermissionList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ObjectPermission `json:"results,omitempty"` +} + +// PaginatedOnboardingTaskList defines model for PaginatedOnboardingTaskList. +type PaginatedOnboardingTaskList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]OnboardingTask `json:"results,omitempty"` +} + +// PaginatedPlatformList defines model for PaginatedPlatformList. +type PaginatedPlatformList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Platform `json:"results,omitempty"` +} + +// PaginatedPowerFeedList defines model for PaginatedPowerFeedList. +type PaginatedPowerFeedList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PowerFeed `json:"results,omitempty"` +} + +// PaginatedPowerOutletList defines model for PaginatedPowerOutletList. +type PaginatedPowerOutletList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PowerOutlet `json:"results,omitempty"` +} + +// PaginatedPowerOutletTemplateList defines model for PaginatedPowerOutletTemplateList. +type PaginatedPowerOutletTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PowerOutletTemplate `json:"results,omitempty"` +} + +// PaginatedPowerPanelList defines model for PaginatedPowerPanelList. +type PaginatedPowerPanelList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PowerPanel `json:"results,omitempty"` +} + +// PaginatedPowerPortList defines model for PaginatedPowerPortList. +type PaginatedPowerPortList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PowerPort `json:"results,omitempty"` +} + +// PaginatedPowerPortTemplateList defines model for PaginatedPowerPortTemplateList. +type PaginatedPowerPortTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PowerPortTemplate `json:"results,omitempty"` +} + +// PaginatedPrefixList defines model for PaginatedPrefixList. +type PaginatedPrefixList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Prefix `json:"results,omitempty"` +} + +// PaginatedProviderLCMList defines model for PaginatedProviderLCMList. +type PaginatedProviderLCMList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ProviderLCM `json:"results,omitempty"` +} + +// PaginatedProviderList defines model for PaginatedProviderList. +type PaginatedProviderList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Provider `json:"results,omitempty"` +} + +// PaginatedProviderNetworkList defines model for PaginatedProviderNetworkList. +type PaginatedProviderNetworkList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ProviderNetwork `json:"results,omitempty"` +} + +// PaginatedRIRList defines model for PaginatedRIRList. +type PaginatedRIRList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RIR `json:"results,omitempty"` +} + +// PaginatedRackGroupList defines model for PaginatedRackGroupList. +type PaginatedRackGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RackGroup `json:"results,omitempty"` +} + +// PaginatedRackList defines model for PaginatedRackList. +type PaginatedRackList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Rack `json:"results,omitempty"` +} + +// PaginatedRackReservationList defines model for PaginatedRackReservationList. +type PaginatedRackReservationList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RackReservation `json:"results,omitempty"` +} + +// PaginatedRackRoleList defines model for PaginatedRackRoleList. +type PaginatedRackRoleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RackRole `json:"results,omitempty"` +} + +// PaginatedRackUnitList defines model for PaginatedRackUnitList. +type PaginatedRackUnitList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RackUnit `json:"results,omitempty"` +} + +// PaginatedRearPortList defines model for PaginatedRearPortList. +type PaginatedRearPortList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RearPort `json:"results,omitempty"` +} + +// PaginatedRearPortTemplateList defines model for PaginatedRearPortTemplateList. +type PaginatedRearPortTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RearPortTemplate `json:"results,omitempty"` +} + +// PaginatedRegionList defines model for PaginatedRegionList. +type PaginatedRegionList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Region `json:"results,omitempty"` +} + +// PaginatedRegularExpressionValidationRuleList defines model for PaginatedRegularExpressionValidationRuleList. +type PaginatedRegularExpressionValidationRuleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RegularExpressionValidationRule `json:"results,omitempty"` +} + +// PaginatedRelationshipAssociationList defines model for PaginatedRelationshipAssociationList. +type PaginatedRelationshipAssociationList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RelationshipAssociation `json:"results,omitempty"` +} + +// PaginatedRelationshipList defines model for PaginatedRelationshipList. +type PaginatedRelationshipList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Relationship `json:"results,omitempty"` +} + +// PaginatedRoleList defines model for PaginatedRoleList. +type PaginatedRoleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Role `json:"results,omitempty"` +} + +// PaginatedRouteTargetList defines model for PaginatedRouteTargetList. +type PaginatedRouteTargetList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]RouteTarget `json:"results,omitempty"` +} + +// PaginatedScheduledJobList defines model for PaginatedScheduledJobList. +type PaginatedScheduledJobList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ScheduledJob `json:"results,omitempty"` +} + +// PaginatedSecretList defines model for PaginatedSecretList. +type PaginatedSecretList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Secret `json:"results,omitempty"` +} + +// PaginatedSecretsGroupAssociationList defines model for PaginatedSecretsGroupAssociationList. +type PaginatedSecretsGroupAssociationList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]SecretsGroupAssociation `json:"results,omitempty"` +} + +// PaginatedSecretsGroupList defines model for PaginatedSecretsGroupList. +type PaginatedSecretsGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]SecretsGroup `json:"results,omitempty"` +} + +// PaginatedServiceList defines model for PaginatedServiceList. +type PaginatedServiceList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Service `json:"results,omitempty"` +} + +// PaginatedSiteList defines model for PaginatedSiteList. +type PaginatedSiteList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Site `json:"results,omitempty"` +} + +// PaginatedSoftwareImageLCMList defines model for PaginatedSoftwareImageLCMList. +type PaginatedSoftwareImageLCMList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]SoftwareImageLCM `json:"results,omitempty"` +} + +// PaginatedSoftwareLCMList defines model for PaginatedSoftwareLCMList. +type PaginatedSoftwareLCMList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]SoftwareLCM `json:"results,omitempty"` +} + +// PaginatedStatusList defines model for PaginatedStatusList. +type PaginatedStatusList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Status `json:"results,omitempty"` +} + +// PaginatedTagSerializerVersion13List defines model for PaginatedTagSerializerVersion13List. +type PaginatedTagSerializerVersion13List struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]TagSerializerVersion13 `json:"results,omitempty"` +} + +// PaginatedTenantGroupList defines model for PaginatedTenantGroupList. +type PaginatedTenantGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]TenantGroup `json:"results,omitempty"` +} + +// PaginatedTenantList defines model for PaginatedTenantList. +type PaginatedTenantList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Tenant `json:"results,omitempty"` +} + +// PaginatedTokenList defines model for PaginatedTokenList. +type PaginatedTokenList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Token `json:"results,omitempty"` +} + +// PaginatedUserList defines model for PaginatedUserList. +type PaginatedUserList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]User `json:"results,omitempty"` +} + +// PaginatedVLANGroupList defines model for PaginatedVLANGroupList. +type PaginatedVLANGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]VLANGroup `json:"results,omitempty"` +} + +// PaginatedVLANList defines model for PaginatedVLANList. +type PaginatedVLANList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + 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"` +} + +// PaginatedVRFList defines model for PaginatedVRFList. +type PaginatedVRFList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]VRF `json:"results,omitempty"` +} + +// PaginatedValidatedSoftwareLCMList defines model for PaginatedValidatedSoftwareLCMList. +type PaginatedValidatedSoftwareLCMList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ValidatedSoftwareLCM `json:"results,omitempty"` +} + +// PaginatedVirtualChassisList defines model for PaginatedVirtualChassisList. +type PaginatedVirtualChassisList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]VirtualChassis `json:"results,omitempty"` +} + +// PaginatedVirtualMachineWithConfigContextList defines model for PaginatedVirtualMachineWithConfigContextList. +type PaginatedVirtualMachineWithConfigContextList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]VirtualMachineWithConfigContext `json:"results,omitempty"` +} + +// PaginatedVulnerabilityLCMList defines model for PaginatedVulnerabilityLCMList. +type PaginatedVulnerabilityLCMList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]VulnerabilityLCM `json:"results,omitempty"` +} + +// PaginatedWebhookList defines model for PaginatedWebhookList. +type PaginatedWebhookList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + GrantType *GrantTypeEnum `json:"grant_type,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Organization name, channel name, or user name + Name *string `json:"name,omitempty"` + + // 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 *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"` + + // 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"` +} + +// PatchedCVELCM_CustomFields defines model for PatchedCVELCM.CustomFields. +type PatchedCVELCM_CustomFields struct { + 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 { + 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 { + 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"` + + // 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 { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Platform *PlatformEnum `json:"platform,omitempty"` + + // 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"` +} + +// PatchedComplianceFeature_CustomFieldData defines model for PatchedComplianceFeature.CustomFieldData. +type PatchedComplianceFeature_CustomFieldData struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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 *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"` + + // 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"` +} + +// 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 +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedComputedField struct { + ContentType *string `json:"content_type,omitempty"` + Description *string `json:"description,omitempty"` + + // 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 *string `json:"fallback_value,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Name of the field as displayed to users + Label *string `json:"label,omitempty"` + + // Internal field name + Slug *string `json:"slug,omitempty"` + + // 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"` + + // 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"` + + // The device + Device *openapi_types.UUID `json:"device,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // Configuration that should not be on the device. + Extra *PatchedConfigCompliance_Extra `json:"extra,omitempty"` + Id *openapi_types.UUID `json:"id,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"` +} + +// 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 +// 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"` +} + +// A JSON Schema document which is used to validate a config context object. +type PatchedConfigContextSchema_DataSchema struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedConfigContextSchema_Owner defines model for PatchedConfigContextSchema.Owner. +type PatchedConfigContextSchema_Owner struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedConfigRemove_ComputedFields defines model for PatchedConfigRemove.ComputedFields. +type PatchedConfigRemove_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedConfigRemove_CustomFields defines model for PatchedConfigRemove.CustomFields. +type PatchedConfigRemove_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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 *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"` +} + +// PatchedConfigReplace_CustomFieldData defines model for PatchedConfigReplace.CustomFieldData. +type PatchedConfigReplace_CustomFieldData struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedConfigReplace_ComputedFields defines model for PatchedConfigReplace.ComputedFields. +type PatchedConfigReplace_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedConfigReplace_CustomFields defines model for PatchedConfigReplace.CustomFields. +type PatchedConfigReplace_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 +// 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"` + + // 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,omitempty"` + + // 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 *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 *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"` + + // 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"` + + // 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 { + 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 PatchedDynamicGroup struct { + ContentType *string `json:"content_type,omitempty"` + Description *string `json:"description,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // A JSON-encoded dictionary of filter parameters for group membership + Filter *PatchedDynamicGroup_Filter `json:"filter,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Dynamic Group name + Name *string `json:"name,omitempty"` + + // 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 { + 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 { + ContentType *string `json:"content_type,omitempty"` + Description *string `json:"description,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + Id *openapi_types.UUID `json:"id,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 *string `json:"template_code,omitempty"` + Url *string `json:"url,omitempty"` +} + +// PatchedExportTemplate_Owner defines model for PatchedExportTemplate.Owner. +type PatchedExportTemplate_Owner struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Serializer for GoldenConfig object. +type PatchedGoldenConfig struct { + CustomFieldData *PatchedGoldenConfig_CustomFieldData `json:"_custom_field_data,omitempty"` + + // 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"` + + // device + Device *openapi_types.UUID `json:"device,omitempty"` + + // 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"` +} + +// PatchedGoldenConfig_CustomFieldData defines model for PatchedGoldenConfig.CustomFieldData. +type PatchedGoldenConfig_CustomFieldData struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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 *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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` +} + +// 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 +// 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"` +} + +// PatchedGraphQLQuery_Variables defines model for PatchedGraphQLQuery.Variables. +type PatchedGraphQLQuery_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 +// 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 { + 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 + ApprovalRequired *bool `json:"approval_required,omitempty"` + + // 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 *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"` + + // 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 *bool `json:"description_override,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // Whether this job can be executed by users + Enabled *bool `json:"enabled,omitempty"` + + // 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 *bool `json:"grouping_override,omitempty"` + + // 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"` + + // 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 *string `json:"name,omitempty"` + + // 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 *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"` + + // 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"` + + // 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 + 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"` +} + +// PatchedJob_CustomFields defines model for PatchedJob.CustomFields. +type PatchedJob_CustomFields struct { + 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 { + 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 { + 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"` + + // 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"` + + // 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 *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"` +} + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +type PatchedProvider 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"` +} + +// PatchedProvider_CustomFields defines model for PatchedProvider.CustomFields. +type PatchedProvider_CustomFields struct { + 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 { + 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 { + 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"` + + // 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"` +} + +// PatchedRackRole_CustomFields defines model for PatchedRackRole.CustomFields. +type PatchedRackRole_CustomFields struct { + 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"` +} + +// PatchedRelationship defines model for PatchedRelationship. +type PatchedRelationship struct { + Description *string `json:"description,omitempty"` + + // Queryset filter matching the applicable destination objects of the selected type + DestinationFilter *PatchedRelationship_DestinationFilter `json:"destination_filter"` + + // 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"` + + // Internal relationship name + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + + // Queryset filter matching the applicable source objects of the selected type + SourceFilter *PatchedRelationship_SourceFilter `json:"source_filter"` + + // 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 *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"` +} + +// Queryset filter matching the applicable destination objects of the selected type +type PatchedRelationship_DestinationFilter struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Queryset filter matching the applicable source objects of the selected type +type PatchedRelationship_SourceFilter struct { + 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 { + 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"` + + // 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"` +} + +// PatchedSecret_CustomFields defines model for PatchedSecret.CustomFields. +type PatchedSecret_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedSecret_Parameters defines model for PatchedSecret.Parameters. +type PatchedSecret_Parameters struct { + 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 { + 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"` +} + +// PatchedStatus_CustomFields defines model for PatchedStatus.CustomFields. +type PatchedStatus_CustomFields struct { + 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 { + 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 PatchedToken struct { + Created *time.Time `json:"created,omitempty"` + Description *string `json:"description,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 *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"` + + // 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"` +} + +// PatchedVulnerabilityLCM_CustomFields defines model for PatchedVulnerabilityLCM.CustomFields. +type PatchedVulnerabilityLCM_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 +// 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). + 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 *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,omitempty"` + + // Human friendly display value + Display *string `json:"display,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 *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 *string `json:"secret,omitempty"` + + // Enable SSL certificate verification. Disable with caution! + SslVerification *bool `json:"ssl_verification,omitempty"` + + // 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 *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"` +} + +// 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"` + + // 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"` +} + +// PatchedWritableAggregate_ComputedFields defines model for PatchedWritableAggregate.ComputedFields. +type PatchedWritableAggregate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAggregate_CustomFields defines model for PatchedWritableAggregate.CustomFields. +type PatchedWritableAggregate_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCable_CustomFields defines model for PatchedWritableCable.CustomFields. +type PatchedWritableCable_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCable_TerminationA defines model for PatchedWritableCable.TerminationA. +type PatchedWritableCable_TerminationA struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCable_TerminationB defines model for PatchedWritableCable.TerminationB. +type PatchedWritableCable_TerminationB struct { + 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"` +} + +// PatchedWritableCircuit_ComputedFields defines model for PatchedWritableCircuit.ComputedFields. +type PatchedWritableCircuit_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCircuit_CustomFields defines model for PatchedWritableCircuit.CustomFields. +type PatchedWritableCircuit_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 +// 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"` + + // 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"` + + // 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCircuitTermination_ConnectedEndpoint defines model for PatchedWritableCircuitTermination.ConnectedEndpoint. +type PatchedWritableCircuitTermination_ConnectedEndpoint struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCluster_CustomFields defines model for PatchedWritableCluster.CustomFields. +type PatchedWritableCluster_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 +// 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"` + + // 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 *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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableConfigContext_Owner defines model for PatchedWritableConfigContext.Owner. +type PatchedWritableConfigContext_Owner struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableConsolePort_ComputedFields defines model for PatchedWritableConsolePort.ComputedFields. +type PatchedWritableConsolePort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableConsolePort_ConnectedEndpoint defines model for PatchedWritableConsolePort.ConnectedEndpoint. +type PatchedWritableConsolePort_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableConsolePort_CustomFields defines model for PatchedWritableConsolePort.CustomFields. +type PatchedWritableConsolePort_CustomFields struct { + 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"` +} + +// PatchedWritableConsolePortTemplate_ComputedFields defines model for PatchedWritableConsolePortTemplate.ComputedFields. +type PatchedWritableConsolePortTemplate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableConsolePortTemplate_CustomFields defines model for PatchedWritableConsolePortTemplate.CustomFields. +type PatchedWritableConsolePortTemplate_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableConsoleServerPort_ComputedFields defines model for PatchedWritableConsoleServerPort.ComputedFields. +type PatchedWritableConsoleServerPort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableConsoleServerPort_ConnectedEndpoint defines model for PatchedWritableConsoleServerPort.ConnectedEndpoint. +type PatchedWritableConsoleServerPort_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableConsoleServerPort_CustomFields defines model for PatchedWritableConsoleServerPort.CustomFields. +type PatchedWritableConsoleServerPort_CustomFields struct { + 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"` +} + +// PatchedWritableConsoleServerPortTemplate_CustomFields defines model for PatchedWritableConsoleServerPortTemplate.CustomFields. +type PatchedWritableConsoleServerPortTemplate_CustomFields struct { + 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 { + 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 { + 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 PatchedWritableCustomField struct { + ContentTypes *[]string `json:"content_types,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 *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 { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableDeviceBay_CustomFields defines model for PatchedWritableDeviceBay.CustomFields. +type PatchedWritableDeviceBay_CustomFields struct { + 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"` + + // 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"` +} + +// PatchedWritableDeviceBayTemplate_ComputedFields defines model for PatchedWritableDeviceBayTemplate.ComputedFields. +type PatchedWritableDeviceBayTemplate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableDeviceBayTemplate_CustomFields defines model for PatchedWritableDeviceBayTemplate.CustomFields. +type PatchedWritableDeviceBayTemplate_CustomFields struct { + 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"` + + // 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 *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"` + + // 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"` +} + +// PatchedWritableDeviceType_ComputedFields defines model for PatchedWritableDeviceType.ComputedFields. +type PatchedWritableDeviceType_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableDeviceType_CustomFields defines model for PatchedWritableDeviceType.CustomFields. +type PatchedWritableDeviceType_CustomFields struct { + 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"` + + // 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"` + + // Optional schema to validate the structure of the data + LocalContextSchema *openapi_types.UUID `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 *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"` +} + +// PatchedWritableDeviceWithConfigContext_ComputedFields defines model for PatchedWritableDeviceWithConfigContext.ComputedFields. +type PatchedWritableDeviceWithConfigContext_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableDeviceWithConfigContext_ConfigContext defines model for PatchedWritableDeviceWithConfigContext.ConfigContext. +type PatchedWritableDeviceWithConfigContext_ConfigContext struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableDeviceWithConfigContext_CustomFields defines model for PatchedWritableDeviceWithConfigContext.CustomFields. +type PatchedWritableDeviceWithConfigContext_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableDeviceWithConfigContext_LocalContextData defines model for PatchedWritableDeviceWithConfigContext.LocalContextData. +type PatchedWritableDeviceWithConfigContext_LocalContextData struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableFrontPort_ComputedFields defines model for PatchedWritableFrontPort.ComputedFields. +type PatchedWritableFrontPort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableFrontPort_CustomFields defines model for PatchedWritableFrontPort.CustomFields. +type PatchedWritableFrontPort_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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 *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"` +} + +// PatchedWritableFrontPortTemplate_ComputedFields defines model for PatchedWritableFrontPortTemplate.ComputedFields. +type PatchedWritableFrontPortTemplate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableFrontPortTemplate_CustomFields defines model for PatchedWritableFrontPortTemplate.CustomFields. +type PatchedWritableFrontPortTemplate_CustomFields struct { + 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"` + + // 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"` + + // 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"` + ProvidedContents *[]interface{} `json:"provided_contents,omitempty"` + + // 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableGitRepository_CustomFields defines model for PatchedWritableGitRepository.CustomFields. +type PatchedWritableGitRepository_CustomFields struct { + 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 { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // 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"` + + // 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"` +} + +// PatchedWritableIPAddress_AssignedObject defines model for PatchedWritableIPAddress.AssignedObject. +type PatchedWritableIPAddress_AssignedObject struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableIPAddress_ComputedFields defines model for PatchedWritableIPAddress.ComputedFields. +type PatchedWritableIPAddress_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableIPAddress_CustomFields defines model for PatchedWritableIPAddress.CustomFields. +type PatchedWritableIPAddress_CustomFields struct { + 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"` + + // 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 *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"` +} + +// PatchedWritableInterface_CablePeer defines model for PatchedWritableInterface.CablePeer. +type PatchedWritableInterface_CablePeer struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableInterface_ComputedFields defines model for PatchedWritableInterface.ComputedFields. +type PatchedWritableInterface_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableInterface_ConnectedEndpoint defines model for PatchedWritableInterface.ConnectedEndpoint. +type PatchedWritableInterface_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableInterface_CustomFields defines model for PatchedWritableInterface.CustomFields. +type PatchedWritableInterface_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableInterfaceTemplate_CustomFields defines model for PatchedWritableInterfaceTemplate.CustomFields. +type PatchedWritableInterfaceTemplate_CustomFields struct { + 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"` + + // 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 *bool `json:"discovered,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` +} + +// PatchedWritableInventoryItem_ComputedFields defines model for PatchedWritableInventoryItem.ComputedFields. +type PatchedWritableInventoryItem_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableInventoryItem_CustomFields defines model for PatchedWritableInventoryItem.CustomFields. +type PatchedWritableInventoryItem_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 +// 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"` + + // 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"` +} + +// The list of actions granted by this permission +type PatchedWritableObjectPermission_Actions struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Queryset filter matching the applicable objects of the selected type(s) +type PatchedWritableObjectPermission_Constraints struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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"` + + // 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"` +} + +// PatchedWritablePlatform_ComputedFields defines model for PatchedWritablePlatform.ComputedFields. +type PatchedWritablePlatform_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePlatform_CustomFields defines model for PatchedWritablePlatform.CustomFields. +type PatchedWritablePlatform_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Additional arguments to pass when initiating the NAPALM driver (JSON format) +type PatchedWritablePlatform_NapalmArgs struct { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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"` +} + +// PatchedWritablePowerFeed_CablePeer defines model for PatchedWritablePowerFeed.CablePeer. +type PatchedWritablePowerFeed_CablePeer struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerFeed_ComputedFields defines model for PatchedWritablePowerFeed.ComputedFields. +type PatchedWritablePowerFeed_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerFeed_ConnectedEndpoint defines model for PatchedWritablePowerFeed.ConnectedEndpoint. +type PatchedWritablePowerFeed_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerFeed_CustomFields defines model for PatchedWritablePowerFeed.CustomFields. +type PatchedWritablePowerFeed_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerOutlet_ComputedFields defines model for PatchedWritablePowerOutlet.ComputedFields. +type PatchedWritablePowerOutlet_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerOutlet_ConnectedEndpoint defines model for PatchedWritablePowerOutlet.ConnectedEndpoint. +type PatchedWritablePowerOutlet_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerOutlet_CustomFields defines model for PatchedWritablePowerOutlet.CustomFields. +type PatchedWritablePowerOutlet_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerOutletTemplate_CustomFields defines model for PatchedWritablePowerOutletTemplate.CustomFields. +type PatchedWritablePowerOutletTemplate_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerPanel_CustomFields defines model for PatchedWritablePowerPanel.CustomFields. +type PatchedWritablePowerPanel_CustomFields struct { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` + + // Physical port type + Type *interface{} `json:"type,omitempty"` + Url *string `json:"url,omitempty"` +} + +// PatchedWritablePowerPort_CablePeer defines model for PatchedWritablePowerPort.CablePeer. +type PatchedWritablePowerPort_CablePeer struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerPort_ComputedFields defines model for PatchedWritablePowerPort.ComputedFields. +type PatchedWritablePowerPort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerPort_ConnectedEndpoint defines model for PatchedWritablePowerPort.ConnectedEndpoint. +type PatchedWritablePowerPort_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerPort_CustomFields defines model for PatchedWritablePowerPort.CustomFields. +type PatchedWritablePowerPort_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` +} + +// PatchedWritablePowerPortTemplate_ComputedFields defines model for PatchedWritablePowerPortTemplate.ComputedFields. +type PatchedWritablePowerPortTemplate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerPortTemplate_CustomFields defines model for PatchedWritablePowerPortTemplate.CustomFields. +type PatchedWritablePowerPortTemplate_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePrefix_CustomFields defines model for PatchedWritablePrefix.CustomFields. +type PatchedWritablePrefix_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableProviderNetwork_CustomFields defines model for PatchedWritableProviderNetwork.CustomFields. +type PatchedWritableProviderNetwork_CustomFields struct { + 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"` + + // Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // 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"` + + // Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + OuterUnit *interface{} `json:"outer_unit,omitempty"` + + // Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + PowerfeedCount *int `json:"powerfeed_count,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"` + + // Height in rack units + UHeight *int `json:"u_height,omitempty"` + Url *string `json:"url,omitempty"` + + // Rail-to-rail width + Width *struct { + // Embedded struct due to allOf(#/components/schemas/WidthEnum) + WidthEnum `yaml:",inline"` + } `json:"width,omitempty"` +} + +// PatchedWritableRack_ComputedFields defines model for PatchedWritableRack.ComputedFields. +type PatchedWritableRack_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRack_CustomFields defines model for PatchedWritableRack.CustomFields. +type PatchedWritableRack_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRackGroup_CustomFields defines model for PatchedWritableRackGroup.CustomFields. +type PatchedWritableRackGroup_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRackReservation_CustomFields defines model for PatchedWritableRackReservation.CustomFields. +type PatchedWritableRackReservation_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRackReservation_Units defines model for PatchedWritableRackReservation.Units. +type PatchedWritableRackReservation_Units struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRearPort_ComputedFields defines model for PatchedWritableRearPort.ComputedFields. +type PatchedWritableRearPort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRearPort_CustomFields defines model for PatchedWritableRearPort.CustomFields. +type PatchedWritableRearPort_CustomFields struct { + 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 { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRegion_CustomFields defines model for PatchedWritableRegion.CustomFields. +type PatchedWritableRegion_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRelationshipAssociation defines model for PatchedWritableRelationshipAssociation. +type PatchedWritableRelationshipAssociation 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"` + + // 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"` +} + +// PatchedWritableRouteTarget_ComputedFields defines model for PatchedWritableRouteTarget.ComputedFields. +type PatchedWritableRouteTarget_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRouteTarget_CustomFields defines model for PatchedWritableRouteTarget.CustomFields. +type PatchedWritableRouteTarget_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Serializer for `SecretsGroupAssociation` objects. +type PatchedWritableSecretsGroupAssociation struct { + AccessType *AccessTypeEnum `json:"access_type,omitempty"` + + // Human friendly display value + Display *string `json:"display,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"` +} + +// PatchedWritableService_ComputedFields defines model for PatchedWritableService.ComputedFields. +type PatchedWritableService_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableService_CustomFields defines model for PatchedWritableService.CustomFields. +type PatchedWritableService_CustomFields struct { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // Local facility ID or description + Facility *string `json:"facility,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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"` +} + +// PatchedWritableSite_ComputedFields defines model for PatchedWritableSite.ComputedFields. +type PatchedWritableSite_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableSite_CustomFields defines model for PatchedWritableSite.CustomFields. +type PatchedWritableSite_CustomFields struct { + 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 { + 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"` +} + +// PatchedWritableSoftwareLCM_CustomFields defines model for PatchedWritableSoftwareLCM.CustomFields. +type PatchedWritableSoftwareLCM_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableTenant_CustomFields defines model for PatchedWritableTenant.CustomFields. +type PatchedWritableTenant_CustomFields struct { + 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"` +} + +// PatchedWritableTenantGroup_ComputedFields defines model for PatchedWritableTenantGroup.ComputedFields. +type PatchedWritableTenantGroup_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableTenantGroup_CustomFields defines model for PatchedWritableTenantGroup.CustomFields. +type PatchedWritableTenantGroup_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 +// 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,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 *bool `json:"is_active,omitempty"` + + // 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 *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"` +} + +// PatchedWritableVLAN_ComputedFields defines model for PatchedWritableVLAN.ComputedFields. +type PatchedWritableVLAN_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVLAN_CustomFields defines model for PatchedWritableVLAN.CustomFields. +type PatchedWritableVLAN_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVLANGroup_CustomFields defines model for PatchedWritableVLANGroup.CustomFields. +type PatchedWritableVLANGroup_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 +// 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVRF_CustomFields defines model for PatchedWritableVRF.CustomFields. +type PatchedWritableVRF_CustomFields struct { + 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"` + + // 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"` +} + +// PatchedWritableValidatedSoftwareLCM_CustomFields defines model for PatchedWritableValidatedSoftwareLCM.CustomFields. +type PatchedWritableValidatedSoftwareLCM_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVirtualChassis_CustomFields defines model for PatchedWritableVirtualChassis.CustomFields. +type PatchedWritableVirtualChassis_CustomFields struct { + 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"` + + // 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"` + + // 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"` +} + +// PatchedWritableVirtualMachineWithConfigContext_ConfigContext defines model for PatchedWritableVirtualMachineWithConfigContext.ConfigContext. +type PatchedWritableVirtualMachineWithConfigContext_ConfigContext struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVirtualMachineWithConfigContext_CustomFields defines model for PatchedWritableVirtualMachineWithConfigContext.CustomFields. +type PatchedWritableVirtualMachineWithConfigContext_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVirtualMachineWithConfigContext_LocalContextData defines model for PatchedWritableVirtualMachineWithConfigContext.LocalContextData. +type PatchedWritableVirtualMachineWithConfigContext_LocalContextData struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PhaseEnum defines model for PhaseEnum. +type PhaseEnum string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + + // 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"` + + // Additional arguments to pass when initiating the NAPALM driver (JSON format) + NapalmArgs *Platform_NapalmArgs `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"` +} + +// 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 + +// PortTypeChoices defines model for PortTypeChoices. +type PortTypeChoices string + +// Mixin to add `status` choice field to model serializers. +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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name string `json:"name"` + 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 + // 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 { + Label *PowerFeedStatusLabel `json:"label,omitempty"` + Value *PowerFeedStatusValue `json:"value,omitempty"` + } `json:"status"` + Supply *struct { + Label *PowerFeedSupplyLabel `json:"label,omitempty"` + Value *PowerFeedSupplyValue `json:"value,omitempty"` + } `json:"supply,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Type *struct { + Label *PowerFeedTypeLabel `json:"label,omitempty"` + Value *PowerFeedTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + 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 + +// PowerFeedPhaseValue defines model for PowerFeed.Phase.Value. +type PowerFeedPhaseValue string + +// PowerFeedStatusLabel defines model for PowerFeed.Status.Label. +type PowerFeedStatusLabel string + +// PowerFeedStatusValue defines model for PowerFeed.Status.Value. +type PowerFeedStatusValue string + +// PowerFeedSupplyLabel defines model for PowerFeed.Supply.Label. +type PowerFeedSupplyLabel string + +// PowerFeedSupplyValue defines model for PowerFeed.Supply.Value. +type PowerFeedSupplyValue string + +// PowerFeedTypeLabel defines model for PowerFeed.Type.Label. +type PowerFeedTypeLabel string + +// PowerFeedTypeValue defines model for PowerFeed.Type.Value. +type PowerFeedTypeValue string + +// PowerFeedTypeChoices defines model for PowerFeedTypeChoices. +type PowerFeedTypeChoices string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +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"` + + // 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 *string `json:"display,omitempty"` + FeedLeg *struct { + Label *PowerOutletFeedLegLabel `json:"label,omitempty"` + Value *PowerOutletFeedLegValue `json:"value,omitempty"` + } `json:"feed_leg,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + + // 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"` + Type *struct { + Label *PowerOutletTypeLabel `json:"label,omitempty"` + Value *PowerOutletTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + 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 + +// PowerOutletFeedLegValue defines model for PowerOutlet.FeedLeg.Value. +type PowerOutletFeedLegValue string + +// PowerOutletTypeLabel defines model for PowerOutlet.Type.Label. +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. +type PowerOutletTemplate struct { + CustomFields *PowerOutletTemplate_CustomFields `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 + // primary key value on write operations. + DeviceType NestedDeviceType `json:"device_type"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + FeedLeg *struct { + Label *PowerOutletTemplateFeedLegLabel `json:"label,omitempty"` + Value *PowerOutletTemplateFeedLegValue `json:"value,omitempty"` + } `json:"feed_leg,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + + // 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 { + Label *PowerOutletTemplateTypeLabel `json:"label,omitempty"` + Value *PowerOutletTemplateTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + 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 + +// PowerOutletTemplateFeedLegValue defines model for PowerOutletTemplate.FeedLeg.Value. +type PowerOutletTemplateFeedLegValue string + +// PowerOutletTemplateTypeLabel defines model for PowerOutletTemplate.Type.Label. +type PowerOutletTemplateTypeLabel string + +// PowerOutletTemplateTypeValue defines model for PowerOutletTemplate.Type.Value. +type PowerOutletTemplateTypeValue string + +// PowerOutletTypeChoices defines model for PowerOutletTypeChoices. +type PowerOutletTypeChoices string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +type PowerPanel struct { + CustomFields *PowerPanel_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 *struct { + // Embedded struct due to allOf(#/components/schemas/NestedRackGroup) + NestedRackGroup `yaml:",inline"` + } `json:"rack_group"` + + // 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. +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"` + + // 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` + Type *struct { + Label *PowerPortTypeLabel `json:"label,omitempty"` + Value *PowerPortTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + 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. +type PowerPortTemplate struct { + // Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *PowerPortTemplate_CustomFields `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 + // primary key value on write operations. + DeviceType NestedDeviceType `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"` + + // Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Name string `json:"name"` + Type *struct { + Label *PowerPortTemplateTypeLabel `json:"label,omitempty"` + Value *PowerPortTemplateTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + 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 + +// PowerPortTemplateTypeValue defines model for PowerPortTemplate.Type.Value. +type PowerPortTemplateTypeValue string + +// PowerPortTypeChoices defines model for PowerPortTypeChoices. +type PowerPortTypeChoices string + +// Mixin to add `status` choice field to model serializers. +type Prefix struct { + Created *openapi_types.Date `json:"created,omitempty"` + CustomFields *Prefix_CustomFields `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Family *struct { + Label *PrefixFamilyLabel `json:"label,omitempty"` + Value *PrefixFamilyValue `json:"value,omitempty"` + } `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 { + 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:"-"` +} + +// PrefixFamilyLabel defines model for Prefix.Family.Label. +type PrefixFamilyLabel string + +// PrefixFamilyValue defines model for Prefix.Family.Value. +type PrefixFamilyValue int + +// PrefixStatusLabel defines model for Prefix.Status.Label. +type PrefixStatusLabel string + +// PrefixStatusValue defines model for Prefix.Status.Value. +type PrefixStatusValue string + +// PrefixLength defines model for PrefixLength. +type PrefixLength struct { + PrefixLength int `json:"prefix_length"` +} + +// 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. +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"` + + // 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"` + 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"` +} + +// Provider_CustomFields defines model for Provider.CustomFields. +type Provider_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// API serializer. +type ProviderLCM struct { + Comments *string `json:"comments,omitempty"` + CustomFields *ProviderLCM_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"` + Phone *string `json:"phone,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` +} + +// ProviderLCM_CustomFields defines model for ProviderLCM.CustomFields. +type ProviderLCM_CustomFields struct { + 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"` + + // 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"` + + // 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"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ProviderNetwork_CustomFields defines model for ProviderNetwork.CustomFields. +type ProviderNetwork_CustomFields struct { + 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"` + + // 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"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` +} + +// RIR_CustomFields defines model for RIR.CustomFields. +type RIR_CustomFields struct { + 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"` + + // Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + + // 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"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + Name string `json:"name"` + + // 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"` + + // 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 *RackStatusLabel `json:"label,omitempty"` + 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 { + Label *RackTypeLabel `json:"label,omitempty"` + Value *RackTypeValue `json:"value,omitempty"` + } `json:"type,omitempty"` + + // Height in rack units + UHeight *int `json:"u_height,omitempty"` + Url *string `json:"url,omitempty"` + Width *struct { + Label *RackWidthLabel `json:"label,omitempty"` + Value *RackWidthValue `json:"value,omitempty"` + } `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 + +// RackOuterUnitValue defines model for Rack.OuterUnit.Value. +type RackOuterUnitValue string + +// RackStatusLabel defines model for Rack.Status.Label. +type RackStatusLabel string + +// RackStatusValue defines model for Rack.Status.Value. +type RackStatusValue string + +// RackTypeLabel defines model for Rack.Type.Label. +type RackTypeLabel string + +// RackTypeValue defines model for Rack.Type.Value. +type RackTypeValue string + +// RackWidthLabel defines model for Rack.Width.Label. +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. +type RackGroup struct { + Depth *int `json:"_depth,omitempty"` + Created *openapi_types.Date `json:"created,omitempty"` + CustomFields *RackGroup_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 *struct { + // Embedded struct due to allOf(#/components/schemas/NestedRackGroup) + NestedRackGroup `yaml:",inline"` + } `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 + // 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. +type RackReservation struct { + Created *openapi_types.Date `json:"created,omitempty"` + CustomFields *RackReservation_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"` + + // 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"` + + // 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. +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"` + + // 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"` + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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. +type RackUnit struct { + Device *struct { + // Embedded struct due to allOf(#/components/schemas/NestedDevice) + NestedDevice `yaml:",inline"` + } `json:"device,omitempty"` + Face *struct { + Label *RackUnitFaceLabel `json:"label,omitempty"` + Value *RackUnitFaceValue `json:"value,omitempty"` + } `json:"face,omitempty"` + Id *int `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Occupied *bool `json:"occupied,omitempty"` +} + +// RackUnitFaceLabel defines model for RackUnit.Face.Label. +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. +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"` + + // 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 *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 *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. +type RearPortTemplate struct { + CustomFields *RearPortTemplate_CustomFields `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 + // primary key value on write operations. + DeviceType NestedDeviceType `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 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. +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"` + + // 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 *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"` +} + +// Region_CustomFields defines model for Region.CustomFields. +type Region_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Serializer for `RegularExpressionValidationRule` objects. +type RegularExpressionValidationRule struct { + ContentType string `json:"content_type"` + 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"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + Name string `json:"name"` + RegularExpression string `json:"regular_expression"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// Relationship defines model for Relationship. +type Relationship struct { + Description *string `json:"description,omitempty"` + + // Queryset filter matching the applicable destination objects of the selected type + DestinationFilter *Relationship_DestinationFilter `json:"destination_filter"` + + // 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"` + + // Internal relationship name + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + + // Queryset filter matching the applicable source objects of the selected type + SourceFilter *Relationship_SourceFilter `json:"source_filter"` + + // 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 *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"` +} + +// Queryset filter matching the applicable destination objects of the selected type +type Relationship_DestinationFilter struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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. +type RelationshipAssociation struct { + DestinationId openapi_types.UUID `json:"destination_id"` + DestinationType string `json:"destination_type"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` +} + +// 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"` + + // 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"` + 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"` +} + +// 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"` +} + +// RouteTarget_CustomFields defines model for RouteTarget.CustomFields. +type RouteTarget_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ScheduledJob defines model for ScheduledJob. +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"` + + // 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"` + + // 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"` + + // 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"` + + // Short Description For This Task + Name string `json:"name"` + + // 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 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"` +} + +// 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"` + + // 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"` +} + +// Secret_CustomFields defines model for Secret.CustomFields. +type Secret_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Secret_Parameters defines model for Secret.Parameters. +type Secret_Parameters struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// SecretTypeEnum defines model for SecretTypeEnum. +type SecretTypeEnum string + +// 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"` + + // 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"` + 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. +type SecretsGroupAssociation struct { + AccessType AccessTypeEnum `json:"access_type"` + + // 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 + // 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 + // 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"` + + // 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 *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"` + Name string `json:"name"` + Ports []int `json:"ports"` + Protocol *struct { + Label *ServiceProtocolLabel `json:"label,omitempty"` + Value *ServiceProtocolValue `json:"value,omitempty"` + } `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:"-"` +} + +// ServiceProtocolLabel defines model for Service.Protocol.Label. +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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // Local facility ID or description + Facility *string `json:"facility,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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"` + 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:"-"` +} + +// SiteStatusLabel defines model for Site.Status.Label. +type SiteStatusLabel string + +// SiteStatusValue defines model for Site.Status.Value. +type SiteStatusValue string + +// 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"` + + // 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"` + + // 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. +type SoftwareLCM struct { + Alias *string `json:"alias"` + CustomFields *SoftwareLCM_CustomFields `json:"custom_fields,omitempty"` + + // 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 *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 *[]struct { + 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"` + Url *string `json:"url,omitempty"` + } `json:"software_images,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + Version string `json:"version"` +} + +// SoftwareLCM_CustomFields defines model for SoftwareLCM.CustomFields. +type SoftwareLCM_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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"` + + // 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"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` +} + +// Status_CustomFields defines model for Status.CustomFields. +type Status_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Status4f5Enum defines model for Status4f5Enum. +type Status4f5Enum string + +// SubdeviceRoleEnum defines model for SubdeviceRoleEnum. +type SubdeviceRoleEnum string + +// SupplyEnum defines model for SupplyEnum. +type SupplyEnum string + +// NestedSerializer field for `Tag` object fields. +type TagSerializerField struct { + Color *string `json:"color,omitempty"` + + // 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + Name string `json:"name"` + 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 { + 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"` + + // 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 + // 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"` + 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"` +} + +// 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. +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"` + + // 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 *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:"-"` +} + +// 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 +// 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 *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 *bool `json:"write_enabled,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 User struct { + DateJoined *time.Time `json:"date_joined,omitempty"` + + // 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 *string `json:"display,omitempty"` + Id *int `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` + } `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 *bool `json:"is_active,omitempty"` + + // 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 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Group *struct { + // Embedded struct due to allOf(#/components/schemas/NestedVLANGroup) + NestedVLANGroup `yaml:",inline"` + } `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 *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 { + 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:"-"` +} + +// VLANStatusLabel defines model for VLAN.Status.Label. +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. +type VLANGroup struct { + Created *openapi_types.Date `json:"created,omitempty"` + CustomFields *VLANGroup_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 *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"` +} + +// VLANGroup_CustomFields defines model for VLANGroup.CustomFields. +type VLANGroup_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 +// 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"` + + // 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"` + } `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + TaggedVlans *[]struct { + // 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"` + UntaggedVlan *struct { + // Embedded struct due to allOf(#/components/schemas/NestedVLAN) + NestedVLAN `yaml:",inline"` + } `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 + // primary key value on write operations. + VirtualMachine NestedVirtualMachine `json:"virtual_machine"` +} + +// VMInterfaceModeLabel defines model for VMInterface.Mode.Label. +type VMInterfaceModeLabel string + +// VMInterfaceModeValue defines model for VMInterface.Mode.Value. +type VMInterfaceModeValue string + +// Extends ModelSerializer to render any CustomFields and their values associated with an object. +type VRF struct { + Created *openapi_types.Date `json:"created,omitempty"` + CustomFields *VRF_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 *[]struct { + // 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 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 *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` + 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 *struct { + // Embedded struct due to allOf(#/components/schemas/NestedTenant) + NestedTenant `yaml:",inline"` + } `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. +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"` + + // 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"` + + // Nested/brief serializer for SoftwareLCM. + Software NestedSoftwareLCM `json:"software"` + Start openapi_types.Date `json:"start"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + 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. +type VirtualChassis struct { + CustomFields *VirtualChassis_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 *struct { + // Embedded struct due to allOf(#/components/schemas/NestedDevice) + NestedDevice `yaml:",inline"` + } `json:"master"` + MemberCount *int `json:"member_count,omitempty"` + Name string `json:"name"` + 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:"-"` +} + +// Mixin to add `status` choice field to model serializers. +type VirtualMachineWithConfigContext struct { + // 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"` + + // 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 { + 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:"-"` +} + +// VirtualMachineWithConfigContextStatusLabel defines model for VirtualMachineWithConfigContext.Status.Label. +type VirtualMachineWithConfigContextStatusLabel string + +// VirtualMachineWithConfigContextStatusValue defines model for VirtualMachineWithConfigContext.Status.Value. +type VirtualMachineWithConfigContextStatusValue string + +// 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"` + + // 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 { + Label *string `json:"label,omitempty"` + Value *string `json:"value,omitempty"` + } `json:"status"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// VulnerabilityLCM_CustomFields defines model for VulnerabilityLCM.CustomFields. +type VulnerabilityLCM_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 +// 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 *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 *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"` + + // Human friendly display value + Display *string `json:"display,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"` + + // 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 *string `json:"secret,omitempty"` + + // Enable SSL certificate verification. Disable with caution! + SslVerification *bool `json:"ssl_verification,omitempty"` + + // 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 *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"` +} + +// 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"` +} + +// WritableAggregate_ComputedFields defines model for WritableAggregate.ComputedFields. +type WritableAggregate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableAggregate_CustomFields defines model for WritableAggregate.CustomFields. +type WritableAggregate_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCable_CustomFields defines model for WritableCable.CustomFields. +type WritableCable_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCable_TerminationA defines model for WritableCable.TerminationA. +type WritableCable_TerminationA struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCable_TerminationB defines model for WritableCable.TerminationB. +type WritableCable_TerminationB struct { + 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"` +} + +// WritableCircuit_ComputedFields defines model for WritableCircuit.ComputedFields. +type WritableCircuit_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCircuit_CustomFields defines model for WritableCircuit.CustomFields. +type WritableCircuit_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCircuitStatusEnum defines model for WritableCircuitStatusEnum. +type WritableCircuitStatusEnum 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 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"` + + // 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"` + + // 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCircuitTermination_ConnectedEndpoint defines model for WritableCircuitTermination.ConnectedEndpoint. +type WritableCircuitTermination_ConnectedEndpoint struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCluster_CustomFields defines model for WritableCluster.CustomFields. +type WritableCluster_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 +// 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"` + + // 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 *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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableConfigContext_Owner defines model for WritableConfigContext.Owner. +type WritableConfigContext_Owner struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableConsolePort_ComputedFields defines model for WritableConsolePort.ComputedFields. +type WritableConsolePort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableConsolePort_ConnectedEndpoint defines model for WritableConsolePort.ConnectedEndpoint. +type WritableConsolePort_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableConsolePort_CustomFields defines model for WritableConsolePort.CustomFields. +type WritableConsolePort_CustomFields struct { + 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"` +} + +// WritableConsolePortTemplate_ComputedFields defines model for WritableConsolePortTemplate.ComputedFields. +type WritableConsolePortTemplate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableConsolePortTemplate_CustomFields defines model for WritableConsolePortTemplate.CustomFields. +type WritableConsolePortTemplate_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableConsoleServerPort_ComputedFields defines model for WritableConsoleServerPort.ComputedFields. +type WritableConsoleServerPort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableConsoleServerPort_ConnectedEndpoint defines model for WritableConsoleServerPort.ConnectedEndpoint. +type WritableConsoleServerPort_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableConsoleServerPort_CustomFields defines model for WritableConsoleServerPort.CustomFields. +type WritableConsoleServerPort_CustomFields struct { + 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"` +} + +// WritableConsoleServerPortTemplate_CustomFields defines model for WritableConsoleServerPortTemplate.CustomFields. +type WritableConsoleServerPortTemplate_CustomFields struct { + 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 { + 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 { + 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 WritableCustomField struct { + ContentTypes []string `json:"content_types"` + + // 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 *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 { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableDeviceBay_CustomFields defines model for WritableDeviceBay.CustomFields. +type WritableDeviceBay_CustomFields struct { + 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"` + + // 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"` +} + +// WritableDeviceBayTemplate_ComputedFields defines model for WritableDeviceBayTemplate.ComputedFields. +type WritableDeviceBayTemplate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableDeviceBayTemplate_CustomFields defines model for WritableDeviceBayTemplate.CustomFields. +type WritableDeviceBayTemplate_CustomFields struct { + 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"` + + // 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 *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"` + + // 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"` +} + +// WritableDeviceType_ComputedFields defines model for WritableDeviceType.ComputedFields. +type WritableDeviceType_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableDeviceType_CustomFields defines model for WritableDeviceType.CustomFields. +type WritableDeviceType_CustomFields struct { + 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"` + + // 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"` + + // Optional schema to validate the structure of the data + LocalContextSchema *openapi_types.UUID `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 *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"` +} + +// WritableDeviceWithConfigContext_ComputedFields defines model for WritableDeviceWithConfigContext.ComputedFields. +type WritableDeviceWithConfigContext_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableDeviceWithConfigContext_ConfigContext defines model for WritableDeviceWithConfigContext.ConfigContext. +type WritableDeviceWithConfigContext_ConfigContext struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableDeviceWithConfigContext_CustomFields defines model for WritableDeviceWithConfigContext.CustomFields. +type WritableDeviceWithConfigContext_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableDeviceWithConfigContext_LocalContextData defines model for WritableDeviceWithConfigContext.LocalContextData. +type WritableDeviceWithConfigContext_LocalContextData struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableFrontPort_ComputedFields defines model for WritableFrontPort.ComputedFields. +type WritableFrontPort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableFrontPort_CustomFields defines model for WritableFrontPort.CustomFields. +type WritableFrontPort_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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 *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"` +} + +// WritableFrontPortTemplate_ComputedFields defines model for WritableFrontPortTemplate.ComputedFields. +type WritableFrontPortTemplate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableFrontPortTemplate_CustomFields defines model for WritableFrontPortTemplate.CustomFields. +type WritableFrontPortTemplate_CustomFields struct { + 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"` + + // 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"` + + // 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"` + + // 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableGitRepository_CustomFields defines model for WritableGitRepository.CustomFields. +type WritableGitRepository_CustomFields struct { + 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 { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // 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"` + + // 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"` +} + +// WritableIPAddress_AssignedObject defines model for WritableIPAddress.AssignedObject. +type WritableIPAddress_AssignedObject struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableIPAddress_ComputedFields defines model for WritableIPAddress.ComputedFields. +type WritableIPAddress_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableIPAddress_CustomFields defines model for WritableIPAddress.CustomFields. +type WritableIPAddress_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableIPAddressStatusEnum defines model for WritableIPAddressStatusEnum. +type WritableIPAddressStatusEnum string + +// 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"` + + // 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 *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"` +} + +// WritableInterface_CablePeer defines model for WritableInterface.CablePeer. +type WritableInterface_CablePeer struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableInterface_ComputedFields defines model for WritableInterface.ComputedFields. +type WritableInterface_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableInterface_ConnectedEndpoint defines model for WritableInterface.ConnectedEndpoint. +type WritableInterface_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableInterface_CustomFields defines model for WritableInterface.CustomFields. +type WritableInterface_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableInterfaceTemplate_CustomFields defines model for WritableInterfaceTemplate.CustomFields. +type WritableInterfaceTemplate_CustomFields struct { + 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"` + + // 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 *bool `json:"discovered,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` +} + +// WritableInventoryItem_ComputedFields defines model for WritableInventoryItem.ComputedFields. +type WritableInventoryItem_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableInventoryItem_CustomFields defines model for WritableInventoryItem.CustomFields. +type WritableInventoryItem_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 +// 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"` + + // 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"` +} + +// The list of actions granted by this permission +type WritableObjectPermission_Actions struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Queryset filter matching the applicable objects of the selected type(s) +type WritableObjectPermission_Constraints struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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"` + + // 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"` +} + +// WritablePlatform_ComputedFields defines model for WritablePlatform.ComputedFields. +type WritablePlatform_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePlatform_CustomFields defines model for WritablePlatform.CustomFields. +type WritablePlatform_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Additional arguments to pass when initiating the NAPALM driver (JSON format) +type WritablePlatform_NapalmArgs struct { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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"` +} + +// WritablePowerFeed_CablePeer defines model for WritablePowerFeed.CablePeer. +type WritablePowerFeed_CablePeer struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerFeed_ComputedFields defines model for WritablePowerFeed.ComputedFields. +type WritablePowerFeed_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerFeed_ConnectedEndpoint defines model for WritablePowerFeed.ConnectedEndpoint. +type WritablePowerFeed_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerFeed_CustomFields defines model for WritablePowerFeed.CustomFields. +type WritablePowerFeed_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerOutlet_ComputedFields defines model for WritablePowerOutlet.ComputedFields. +type WritablePowerOutlet_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerOutlet_ConnectedEndpoint defines model for WritablePowerOutlet.ConnectedEndpoint. +type WritablePowerOutlet_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerOutlet_CustomFields defines model for WritablePowerOutlet.CustomFields. +type WritablePowerOutlet_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerOutletTemplate_CustomFields defines model for WritablePowerOutletTemplate.CustomFields. +type WritablePowerOutletTemplate_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerPanel_CustomFields defines model for WritablePowerPanel.CustomFields. +type WritablePowerPanel_CustomFields struct { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` + + // Physical port type + Type *interface{} `json:"type,omitempty"` + Url *string `json:"url,omitempty"` +} + +// WritablePowerPort_CablePeer defines model for WritablePowerPort.CablePeer. +type WritablePowerPort_CablePeer struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerPort_ComputedFields defines model for WritablePowerPort.ComputedFields. +type WritablePowerPort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerPort_ConnectedEndpoint defines model for WritablePowerPort.ConnectedEndpoint. +type WritablePowerPort_ConnectedEndpoint struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerPort_CustomFields defines model for WritablePowerPort.CustomFields. +type WritablePowerPort_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // 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"` +} + +// WritablePowerPortTemplate_ComputedFields defines model for WritablePowerPortTemplate.ComputedFields. +type WritablePowerPortTemplate_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerPortTemplate_CustomFields defines model for WritablePowerPortTemplate.CustomFields. +type WritablePowerPortTemplate_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePrefix_CustomFields defines model for WritablePrefix.CustomFields. +type WritablePrefix_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableProviderNetwork_CustomFields defines model for WritableProviderNetwork.CustomFields. +type WritableProviderNetwork_CustomFields struct { + 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"` + + // Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // 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"` + + // Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + OuterUnit *interface{} `json:"outer_unit,omitempty"` + + // Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + PowerfeedCount *int `json:"powerfeed_count,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"` + + // Height in rack units + UHeight *int `json:"u_height,omitempty"` + Url *string `json:"url,omitempty"` + + // Rail-to-rail width + Width *struct { + // Embedded struct due to allOf(#/components/schemas/WidthEnum) + WidthEnum `yaml:",inline"` + } `json:"width,omitempty"` +} + +// WritableRack_ComputedFields defines model for WritableRack.ComputedFields. +type WritableRack_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRack_CustomFields defines model for WritableRack.CustomFields. +type WritableRack_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRackGroup_CustomFields defines model for WritableRackGroup.CustomFields. +type WritableRackGroup_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRackReservation_CustomFields defines model for WritableRackReservation.CustomFields. +type WritableRackReservation_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRackReservation_Units defines model for WritableRackReservation.Units. +type WritableRackReservation_Units struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRearPort_ComputedFields defines model for WritableRearPort.ComputedFields. +type WritableRearPort_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRearPort_CustomFields defines model for WritableRearPort.CustomFields. +type WritableRearPort_CustomFields struct { + 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 { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRegion_CustomFields defines model for WritableRegion.CustomFields. +type WritableRegion_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRouteTarget_CustomFields defines model for WritableRouteTarget.CustomFields. +type WritableRouteTarget_CustomFields struct { + 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"` +} + +// 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"` + + // 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"` +} + +// WritableService_ComputedFields defines model for WritableService.ComputedFields. +type WritableService_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableService_CustomFields defines model for WritableService.CustomFields. +type WritableService_CustomFields struct { + 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + + // Local facility ID or description + Facility *string `json:"facility,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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"` +} + +// WritableSite_ComputedFields defines model for WritableSite.ComputedFields. +type WritableSite_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableSite_CustomFields defines model for WritableSite.CustomFields. +type WritableSite_CustomFields struct { + 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 { + 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"` +} + +// WritableSoftwareLCM_CustomFields defines model for WritableSoftwareLCM.CustomFields. +type WritableSoftwareLCM_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableTenant_CustomFields defines model for WritableTenant.CustomFields. +type WritableTenant_CustomFields struct { + 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"` +} + +// WritableTenantGroup_ComputedFields defines model for WritableTenantGroup.ComputedFields. +type WritableTenantGroup_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableTenantGroup_CustomFields defines model for WritableTenantGroup.CustomFields. +type WritableTenantGroup_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 +// 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"` + + // Human friendly display value + Display *string `json:"display,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,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 *bool `json:"is_active,omitempty"` + + // 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 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"` +} + +// WritableVLAN_ComputedFields defines model for WritableVLAN.ComputedFields. +type WritableVLAN_ComputedFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVLAN_CustomFields defines model for WritableVLAN.CustomFields. +type WritableVLAN_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVLANGroup_CustomFields defines model for WritableVLANGroup.CustomFields. +type WritableVLANGroup_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVRF_CustomFields defines model for WritableVRF.CustomFields. +type WritableVRF_CustomFields struct { + 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"` + + // 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"` +} + +// WritableValidatedSoftwareLCM_CustomFields defines model for WritableValidatedSoftwareLCM.CustomFields. +type WritableValidatedSoftwareLCM_CustomFields struct { + 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 { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVirtualChassis_CustomFields defines model for WritableVirtualChassis.CustomFields. +type WritableVirtualChassis_CustomFields struct { + 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"` + + // 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"` + + // 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"` +} + +// WritableVirtualMachineWithConfigContext_ConfigContext defines model for WritableVirtualMachineWithConfigContext.ConfigContext. +type WritableVirtualMachineWithConfigContext_ConfigContext struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVirtualMachineWithConfigContext_CustomFields defines model for WritableVirtualMachineWithConfigContext.CustomFields. +type WritableVirtualMachineWithConfigContext_CustomFields struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVirtualMachineWithConfigContext_LocalContextData defines model for WritableVirtualMachineWithConfigContext.LocalContextData. +type WritableVirtualMachineWithConfigContext_LocalContextData struct { + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVirtualMachineWithConfigContextStatusEnum defines model for WritableVirtualMachineWithConfigContextStatusEnum. +type WritableVirtualMachineWithConfigContextStatusEnum string + +// CircuitsCircuitTerminationsListParams defines parameters for CircuitsCircuitTerminationsList. +type CircuitsCircuitTerminationsListParams struct { + Cabled *bool `json:"cabled,omitempty"` + + // Circuit + CircuitId *[]openapi_types.UUID `json:"circuit_id,omitempty"` + + // Circuit + CircuitIdN *[]openapi_types.UUID `json:"circuit_id__n,omitempty"` + + // Connected status (bool) + Connected *bool `json:"connected,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,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"` + + // Provider Network (ID) + ProviderNetworkId *[]openapi_types.UUID `json:"provider_network_id,omitempty"` + + // Provider Network (ID) + ProviderNetworkIdN *[]openapi_types.UUID `json:"provider_network_id__n,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,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"` +} + +// CircuitsCircuitTerminationsBulkPartialUpdateJSONBody defines parameters for CircuitsCircuitTerminationsBulkPartialUpdate. +type CircuitsCircuitTerminationsBulkPartialUpdateJSONBody PatchedWritableCircuitTermination + +// CircuitsCircuitTerminationsCreateJSONBody defines parameters for CircuitsCircuitTerminationsCreate. +type CircuitsCircuitTerminationsCreateJSONBody WritableCircuitTermination + +// CircuitsCircuitTerminationsBulkUpdateJSONBody defines parameters for CircuitsCircuitTerminationsBulkUpdate. +type CircuitsCircuitTerminationsBulkUpdateJSONBody WritableCircuitTermination + +// CircuitsCircuitTerminationsPartialUpdateJSONBody defines parameters for CircuitsCircuitTerminationsPartialUpdate. +type CircuitsCircuitTerminationsPartialUpdateJSONBody PatchedWritableCircuitTermination + +// CircuitsCircuitTerminationsUpdateJSONBody defines parameters for CircuitsCircuitTerminationsUpdate. +type CircuitsCircuitTerminationsUpdateJSONBody WritableCircuitTermination + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// CircuitsCircuitTypesBulkPartialUpdateJSONBody defines parameters for CircuitsCircuitTypesBulkPartialUpdate. +type CircuitsCircuitTypesBulkPartialUpdateJSONBody PatchedCircuitType + +// CircuitsCircuitTypesCreateJSONBody defines parameters for CircuitsCircuitTypesCreate. +type CircuitsCircuitTypesCreateJSONBody CircuitType + +// CircuitsCircuitTypesBulkUpdateJSONBody defines parameters for CircuitsCircuitTypesBulkUpdate. +type CircuitsCircuitTypesBulkUpdateJSONBody CircuitType + +// CircuitsCircuitTypesPartialUpdateJSONBody defines parameters for CircuitsCircuitTypesPartialUpdate. +type CircuitsCircuitTypesPartialUpdateJSONBody PatchedCircuitType + +// CircuitsCircuitTypesUpdateJSONBody defines parameters for CircuitsCircuitTypesUpdate. +type CircuitsCircuitTypesUpdateJSONBody CircuitType + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Provider (slug) + Provider *[]string `json:"provider,omitempty"` + + // Provider (slug) + ProviderN *[]string `json:"provider__n,omitempty"` + + // Provider (ID) + ProviderId *[]openapi_types.UUID `json:"provider_id,omitempty"` + + // Provider (ID) + ProviderIdN *[]openapi_types.UUID `json:"provider_id__n,omitempty"` + + // Provider Network (ID) + ProviderNetworkId *[]openapi_types.UUID `json:"provider_network_id,omitempty"` + + // Provider Network (ID) + ProviderNetworkIdN *[]openapi_types.UUID `json:"provider_network_id__n,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + + // Circuit type (slug) + Type *[]string `json:"type,omitempty"` + + // Circuit type (slug) + TypeN *[]string `json:"type__n,omitempty"` + + // Circuit type (ID) + TypeId *[]openapi_types.UUID `json:"type_id,omitempty"` + + // Circuit type (ID) + TypeIdN *[]openapi_types.UUID `json:"type_id__n,omitempty"` +} + +// CircuitsCircuitsBulkPartialUpdateJSONBody defines parameters for CircuitsCircuitsBulkPartialUpdate. +type CircuitsCircuitsBulkPartialUpdateJSONBody PatchedWritableCircuit + +// CircuitsCircuitsCreateJSONBody defines parameters for CircuitsCircuitsCreate. +type CircuitsCircuitsCreateJSONBody WritableCircuit + +// CircuitsCircuitsBulkUpdateJSONBody defines parameters for CircuitsCircuitsBulkUpdate. +type CircuitsCircuitsBulkUpdateJSONBody WritableCircuit + +// CircuitsCircuitsPartialUpdateJSONBody defines parameters for CircuitsCircuitsPartialUpdate. +type CircuitsCircuitsPartialUpdateJSONBody PatchedWritableCircuit + +// CircuitsCircuitsUpdateJSONBody defines parameters for CircuitsCircuitsUpdate. +type CircuitsCircuitsUpdateJSONBody WritableCircuit + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Provider (slug) + Provider *[]string `json:"provider,omitempty"` + + // Provider (slug) + ProviderN *[]string `json:"provider__n,omitempty"` + + // Provider (ID) + ProviderId *[]openapi_types.UUID `json:"provider_id,omitempty"` + + // Provider (ID) + ProviderIdN *[]openapi_types.UUID `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"` +} + +// CircuitsProviderNetworksBulkPartialUpdateJSONBody defines parameters for CircuitsProviderNetworksBulkPartialUpdate. +type CircuitsProviderNetworksBulkPartialUpdateJSONBody PatchedWritableProviderNetwork + +// CircuitsProviderNetworksCreateJSONBody defines parameters for CircuitsProviderNetworksCreate. +type CircuitsProviderNetworksCreateJSONBody WritableProviderNetwork + +// CircuitsProviderNetworksBulkUpdateJSONBody defines parameters for CircuitsProviderNetworksBulkUpdate. +type CircuitsProviderNetworksBulkUpdateJSONBody WritableProviderNetwork + +// CircuitsProviderNetworksPartialUpdateJSONBody defines parameters for CircuitsProviderNetworksPartialUpdate. +type CircuitsProviderNetworksPartialUpdateJSONBody PatchedWritableProviderNetwork + +// CircuitsProviderNetworksUpdateJSONBody defines parameters for CircuitsProviderNetworksUpdate. +type CircuitsProviderNetworksUpdateJSONBody WritableProviderNetwork + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site + SiteId *[]openapi_types.UUID `json:"site_id,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"` +} + +// CircuitsProvidersBulkPartialUpdateJSONBody defines parameters for CircuitsProvidersBulkPartialUpdate. +type CircuitsProvidersBulkPartialUpdateJSONBody PatchedProvider + +// CircuitsProvidersCreateJSONBody defines parameters for CircuitsProvidersCreate. +type CircuitsProvidersCreateJSONBody Provider + +// CircuitsProvidersBulkUpdateJSONBody defines parameters for CircuitsProvidersBulkUpdate. +type CircuitsProvidersBulkUpdateJSONBody Provider + +// CircuitsProvidersPartialUpdateJSONBody defines parameters for CircuitsProvidersPartialUpdate. +type CircuitsProvidersPartialUpdateJSONBody PatchedProvider + +// CircuitsProvidersUpdateJSONBody defines parameters for CircuitsProvidersUpdate. +type CircuitsProvidersUpdateJSONBody Provider + +// 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"` + + // Device (name) + Device *[]string `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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Rack (name) + Rack *[]string `json:"rack,omitempty"` + + // Rack (ID) + RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + + // Site (name) + Site *[]string `json:"site,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"` + + // Tenant (name) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + Type *[]string `json:"type,omitempty"` + TypeN *[]string `json:"type__n,omitempty"` +} + +// DcimCablesBulkPartialUpdateJSONBody defines parameters for DcimCablesBulkPartialUpdate. +type DcimCablesBulkPartialUpdateJSONBody PatchedWritableCable + +// DcimCablesCreateJSONBody defines parameters for DcimCablesCreate. +type DcimCablesCreateJSONBody WritableCable + +// DcimCablesBulkUpdateJSONBody defines parameters for DcimCablesBulkUpdate. +type DcimCablesBulkUpdateJSONBody WritableCable + +// DcimCablesPartialUpdateJSONBody defines parameters for DcimCablesPartialUpdate. +type DcimCablesPartialUpdateJSONBody PatchedWritableCable + +// DcimCablesUpdateJSONBody defines parameters for DcimCablesUpdate. +type DcimCablesUpdateJSONBody WritableCable + +// DcimConnectedDeviceListParams defines parameters for DcimConnectedDeviceList. +type DcimConnectedDeviceListParams struct { + // The name of the peer device + PeerDevice string `json:"peer_device"` + + // The name of the peer interface + PeerInterface string `json:"peer_interface"` +} + +// DcimConsoleConnectionsListParams defines parameters for DcimConsoleConnectionsList. +type DcimConsoleConnectionsListParams struct { + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Site (slug) + Site *string `json:"site,omitempty"` +} + +// DcimConsolePortTemplatesListParams defines parameters for DcimConsolePortTemplatesList. +type DcimConsolePortTemplatesListParams struct { + // Device type (ID) + DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + Type *string `json:"type,omitempty"` + TypeN *string `json:"type__n,omitempty"` +} + +// DcimConsolePortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimConsolePortTemplatesBulkPartialUpdate. +type DcimConsolePortTemplatesBulkPartialUpdateJSONBody PatchedWritableConsolePortTemplate + +// DcimConsolePortTemplatesCreateJSONBody defines parameters for DcimConsolePortTemplatesCreate. +type DcimConsolePortTemplatesCreateJSONBody WritableConsolePortTemplate + +// DcimConsolePortTemplatesBulkUpdateJSONBody defines parameters for DcimConsolePortTemplatesBulkUpdate. +type DcimConsolePortTemplatesBulkUpdateJSONBody WritableConsolePortTemplate + +// DcimConsolePortTemplatesPartialUpdateJSONBody defines parameters for DcimConsolePortTemplatesPartialUpdate. +type DcimConsolePortTemplatesPartialUpdateJSONBody PatchedWritableConsolePortTemplate + +// DcimConsolePortTemplatesUpdateJSONBody defines parameters for DcimConsolePortTemplatesUpdate. +type DcimConsolePortTemplatesUpdateJSONBody WritableConsolePortTemplate + +// DcimConsolePortsListParams defines parameters for DcimConsolePortsList. +type DcimConsolePortsListParams struct { + Cabled *bool `json:"cabled,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"` + + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (name) + DeviceN *[]string `json:"device__n,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Physical port type + Type *[]string `json:"type,omitempty"` + + // Physical port type + TypeN *[]string `json:"type__n,omitempty"` +} + +// DcimConsolePortsBulkPartialUpdateJSONBody defines parameters for DcimConsolePortsBulkPartialUpdate. +type DcimConsolePortsBulkPartialUpdateJSONBody PatchedWritableConsolePort + +// DcimConsolePortsCreateJSONBody defines parameters for DcimConsolePortsCreate. +type DcimConsolePortsCreateJSONBody WritableConsolePort + +// DcimConsolePortsBulkUpdateJSONBody defines parameters for DcimConsolePortsBulkUpdate. +type DcimConsolePortsBulkUpdateJSONBody WritableConsolePort + +// DcimConsolePortsPartialUpdateJSONBody defines parameters for DcimConsolePortsPartialUpdate. +type DcimConsolePortsPartialUpdateJSONBody PatchedWritableConsolePort + +// DcimConsolePortsUpdateJSONBody defines parameters for DcimConsolePortsUpdate. +type DcimConsolePortsUpdateJSONBody WritableConsolePort + +// DcimConsoleServerPortTemplatesListParams defines parameters for DcimConsoleServerPortTemplatesList. +type DcimConsoleServerPortTemplatesListParams struct { + // Device type (ID) + DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + Type *string `json:"type,omitempty"` + TypeN *string `json:"type__n,omitempty"` +} + +// DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesBulkPartialUpdate. +type DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody PatchedWritableConsoleServerPortTemplate + +// DcimConsoleServerPortTemplatesCreateJSONBody defines parameters for DcimConsoleServerPortTemplatesCreate. +type DcimConsoleServerPortTemplatesCreateJSONBody WritableConsoleServerPortTemplate + +// DcimConsoleServerPortTemplatesBulkUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesBulkUpdate. +type DcimConsoleServerPortTemplatesBulkUpdateJSONBody WritableConsoleServerPortTemplate + +// DcimConsoleServerPortTemplatesPartialUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesPartialUpdate. +type DcimConsoleServerPortTemplatesPartialUpdateJSONBody PatchedWritableConsoleServerPortTemplate + +// DcimConsoleServerPortTemplatesUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesUpdate. +type DcimConsoleServerPortTemplatesUpdateJSONBody WritableConsoleServerPortTemplate + +// DcimConsoleServerPortsListParams defines parameters for DcimConsoleServerPortsList. +type DcimConsoleServerPortsListParams struct { + Cabled *bool `json:"cabled,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"` + + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (name) + DeviceN *[]string `json:"device__n,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Physical port type + Type *[]string `json:"type,omitempty"` + + // Physical port type + TypeN *[]string `json:"type__n,omitempty"` +} + +// DcimConsoleServerPortsBulkPartialUpdateJSONBody defines parameters for DcimConsoleServerPortsBulkPartialUpdate. +type DcimConsoleServerPortsBulkPartialUpdateJSONBody PatchedWritableConsoleServerPort + +// DcimConsoleServerPortsCreateJSONBody defines parameters for DcimConsoleServerPortsCreate. +type DcimConsoleServerPortsCreateJSONBody WritableConsoleServerPort + +// DcimConsoleServerPortsBulkUpdateJSONBody defines parameters for DcimConsoleServerPortsBulkUpdate. +type DcimConsoleServerPortsBulkUpdateJSONBody WritableConsoleServerPort + +// DcimConsoleServerPortsPartialUpdateJSONBody defines parameters for DcimConsoleServerPortsPartialUpdate. +type DcimConsoleServerPortsPartialUpdateJSONBody PatchedWritableConsoleServerPort + +// DcimConsoleServerPortsUpdateJSONBody defines parameters for DcimConsoleServerPortsUpdate. +type DcimConsoleServerPortsUpdateJSONBody WritableConsoleServerPort + +// DcimDeviceBayTemplatesListParams defines parameters for DcimDeviceBayTemplatesList. +type DcimDeviceBayTemplatesListParams struct { + // Device type (ID) + DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` +} + +// DcimDeviceBayTemplatesBulkPartialUpdateJSONBody defines parameters for DcimDeviceBayTemplatesBulkPartialUpdate. +type DcimDeviceBayTemplatesBulkPartialUpdateJSONBody PatchedWritableDeviceBayTemplate + +// DcimDeviceBayTemplatesCreateJSONBody defines parameters for DcimDeviceBayTemplatesCreate. +type DcimDeviceBayTemplatesCreateJSONBody WritableDeviceBayTemplate + +// DcimDeviceBayTemplatesBulkUpdateJSONBody defines parameters for DcimDeviceBayTemplatesBulkUpdate. +type DcimDeviceBayTemplatesBulkUpdateJSONBody WritableDeviceBayTemplate + +// DcimDeviceBayTemplatesPartialUpdateJSONBody defines parameters for DcimDeviceBayTemplatesPartialUpdate. +type DcimDeviceBayTemplatesPartialUpdateJSONBody PatchedWritableDeviceBayTemplate + +// DcimDeviceBayTemplatesUpdateJSONBody defines parameters for DcimDeviceBayTemplatesUpdate. +type DcimDeviceBayTemplatesUpdateJSONBody WritableDeviceBayTemplate + +// 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"` + + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (name) + DeviceN *[]string `json:"device__n,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` +} + +// DcimDeviceBaysBulkPartialUpdateJSONBody defines parameters for DcimDeviceBaysBulkPartialUpdate. +type DcimDeviceBaysBulkPartialUpdateJSONBody PatchedWritableDeviceBay + +// DcimDeviceBaysCreateJSONBody defines parameters for DcimDeviceBaysCreate. +type DcimDeviceBaysCreateJSONBody WritableDeviceBay + +// DcimDeviceBaysBulkUpdateJSONBody defines parameters for DcimDeviceBaysBulkUpdate. +type DcimDeviceBaysBulkUpdateJSONBody WritableDeviceBay + +// DcimDeviceBaysPartialUpdateJSONBody defines parameters for DcimDeviceBaysPartialUpdate. +type DcimDeviceBaysPartialUpdateJSONBody PatchedWritableDeviceBay + +// DcimDeviceBaysUpdateJSONBody defines parameters for DcimDeviceBaysUpdate. +type DcimDeviceBaysUpdateJSONBody WritableDeviceBay + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` + VmRole *bool `json:"vm_role,omitempty"` +} + +// DcimDeviceRolesBulkPartialUpdateJSONBody defines parameters for DcimDeviceRolesBulkPartialUpdate. +type DcimDeviceRolesBulkPartialUpdateJSONBody PatchedDeviceRole + +// DcimDeviceRolesCreateJSONBody defines parameters for DcimDeviceRolesCreate. +type DcimDeviceRolesCreateJSONBody DeviceRole + +// DcimDeviceRolesBulkUpdateJSONBody defines parameters for DcimDeviceRolesBulkUpdate. +type DcimDeviceRolesBulkUpdateJSONBody DeviceRole + +// DcimDeviceRolesPartialUpdateJSONBody defines parameters for DcimDeviceRolesPartialUpdate. +type DcimDeviceRolesPartialUpdateJSONBody PatchedDeviceRole + +// DcimDeviceRolesUpdateJSONBody defines parameters for DcimDeviceRolesUpdate. +type DcimDeviceRolesUpdateJSONBody DeviceRole + +// DcimDeviceTypesListParams defines parameters for DcimDeviceTypesList. +type DcimDeviceTypesListParams struct { + // 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"` + + // 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"` + + // 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Manufacturer (slug) + Manufacturer *[]string `json:"manufacturer,omitempty"` + + // Manufacturer (slug) + ManufacturerN *[]string `json:"manufacturer__n,omitempty"` + + // Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,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"` + + // 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"` + + // Has pass-through ports + PassThroughPorts *bool `json:"pass_through_ports,omitempty"` + + // Has power outlets + PowerOutlets *bool `json:"power_outlets,omitempty"` + + // Has power ports + PowerPorts *bool `json:"power_ports,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"` + + // 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"` + + // 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"` +} + +// DcimDeviceTypesBulkPartialUpdateJSONBody defines parameters for DcimDeviceTypesBulkPartialUpdate. +type DcimDeviceTypesBulkPartialUpdateJSONBody PatchedWritableDeviceType + +// DcimDeviceTypesCreateJSONBody defines parameters for DcimDeviceTypesCreate. +type DcimDeviceTypesCreateJSONBody WritableDeviceType + +// DcimDeviceTypesBulkUpdateJSONBody defines parameters for DcimDeviceTypesBulkUpdate. +type DcimDeviceTypesBulkUpdateJSONBody WritableDeviceType + +// DcimDeviceTypesPartialUpdateJSONBody defines parameters for DcimDeviceTypesPartialUpdate. +type DcimDeviceTypesPartialUpdateJSONBody PatchedWritableDeviceType + +// DcimDeviceTypesUpdateJSONBody defines parameters for DcimDeviceTypesUpdate. +type DcimDeviceTypesUpdateJSONBody WritableDeviceType + +// 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"` + + // Has device bays + DeviceBays *bool `json:"device_bays,omitempty"` + + // Device type (ID) + DeviceTypeId *[]openapi_types.UUID `json:"device_type_id,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"` + + // Has console ports + HasConsolePorts *bool `json:"has_console_ports,omitempty"` + + // Has console server ports + HasConsoleServerPorts *bool `json:"has_console_server_ports,omitempty"` + + // Has device bays + HasDeviceBays *bool `json:"has_device_bays,omitempty"` + + // Has front ports + HasFrontPorts *bool `json:"has_front_ports,omitempty"` + + // Has interfaces + HasInterfaces *bool `json:"has_interfaces,omitempty"` + + // Has power outlets + HasPowerOutlets *bool `json:"has_power_outlets,omitempty"` + + // Has power ports + HasPowerPorts *bool `json:"has_power_ports,omitempty"` + + // Has a primary IP + HasPrimaryIp *bool `json:"has_primary_ip,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"` + + // 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Has local config context data + LocalContextData *bool `json:"local_context_data,omitempty"` + + // Schema (slug) + LocalContextSchema *[]string `json:"local_context_schema,omitempty"` + + // Schema (slug) + LocalContextSchemaN *[]string `json:"local_context_schema__n,omitempty"` + + // Schema (ID) + LocalContextSchemaId *[]openapi_types.UUID `json:"local_context_schema_id,omitempty"` + + // Schema (ID) + LocalContextSchemaIdN *[]openapi_types.UUID `json:"local_context_schema_id__n,omitempty"` + + // MAC address + MacAddress *[]string `json:"mac_address,omitempty"` + + // MAC address + MacAddressIc *[]string `json:"mac_address__ic,omitempty"` + + // MAC address + MacAddressIe *[]string `json:"mac_address__ie,omitempty"` + + // MAC address + MacAddressIew *[]string `json:"mac_address__iew,omitempty"` + + // MAC address + MacAddressIre *[]string `json:"mac_address__ire,omitempty"` + + // MAC address + MacAddressIsw *[]string `json:"mac_address__isw,omitempty"` + + // MAC address + MacAddressN *[]string `json:"mac_address__n,omitempty"` + + // MAC address + MacAddressNic *[]string `json:"mac_address__nic,omitempty"` + + // MAC address + MacAddressNie *[]string `json:"mac_address__nie,omitempty"` + + // MAC address + MacAddressNiew *[]string `json:"mac_address__niew,omitempty"` + + // MAC address + MacAddressNire *[]string `json:"mac_address__nire,omitempty"` + + // MAC address + MacAddressNisw *[]string `json:"mac_address__nisw,omitempty"` + + // MAC address + MacAddressNre *[]string `json:"mac_address__nre,omitempty"` + + // MAC address + MacAddressRe *[]string `json:"mac_address__re,omitempty"` + + // Manufacturer (slug) + Manufacturer *[]string `json:"manufacturer,omitempty"` + + // Manufacturer (slug) + ManufacturerN *[]string `json:"manufacturer__n,omitempty"` + + // Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,omitempty"` + + // Manufacturer (ID) + ManufacturerIdN *[]openapi_types.UUID `json:"manufacturer_id__n,omitempty"` + + // Device model (slug) + Model *[]string `json:"model,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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Has pass-through ports + PassThroughPorts *bool `json:"pass_through_ports,omitempty"` + + // Platform (slug) + Platform *[]string `json:"platform,omitempty"` + + // Platform (slug) + PlatformN *[]string `json:"platform__n,omitempty"` + + // Platform (ID) + PlatformId *[]openapi_types.UUID `json:"platform_id,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"` + + // Has power outlets + PowerOutlets *bool `json:"power_outlets,omitempty"` + + // Has power ports + PowerPorts *bool `json:"power_ports,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Rack group (ID) + RackGroupId *[]openapi_types.UUID `json:"rack_group_id,omitempty"` + + // Rack group (ID) + RackGroupIdN *[]openapi_types.UUID `json:"rack_group_id__n,omitempty"` + + // Rack (ID) + RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + + // Rack (ID) + RackIdN *[]openapi_types.UUID `json:"rack_id__n,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Role (slug) + Role *[]string `json:"role,omitempty"` + + // Role (slug) + RoleN *[]string `json:"role__n,omitempty"` + + // Role (ID) + RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + + // Role (ID) + RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + + // Secrets group (slug) + SecretsGroup *[]string `json:"secrets_group,omitempty"` + + // Secrets group (slug) + SecretsGroupN *[]string `json:"secrets_group__n,omitempty"` + + // Secrets group (ID) + SecretsGroupId *[]openapi_types.UUID `json:"secrets_group_id,omitempty"` + + // Secrets group (ID) + SecretsGroupIdN *[]openapi_types.UUID `json:"secrets_group_id__n,omitempty"` + Serial *string `json:"serial,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,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"` + + // Virtual chassis (ID) + VirtualChassisId *[]openapi_types.UUID `json:"virtual_chassis_id,omitempty"` + + // Virtual chassis (ID) + VirtualChassisIdN *[]openapi_types.UUID `json:"virtual_chassis_id__n,omitempty"` + + // Is a virtual chassis member + VirtualChassisMember *bool `json:"virtual_chassis_member,omitempty"` +} + +// DcimDevicesBulkPartialUpdateJSONBody defines parameters for DcimDevicesBulkPartialUpdate. +type DcimDevicesBulkPartialUpdateJSONBody PatchedWritableDeviceWithConfigContext + +// DcimDevicesCreateJSONBody defines parameters for DcimDevicesCreate. +type DcimDevicesCreateJSONBody WritableDeviceWithConfigContext + +// DcimDevicesBulkUpdateJSONBody defines parameters for DcimDevicesBulkUpdate. +type DcimDevicesBulkUpdateJSONBody WritableDeviceWithConfigContext + +// DcimDevicesPartialUpdateJSONBody defines parameters for DcimDevicesPartialUpdate. +type DcimDevicesPartialUpdateJSONBody PatchedWritableDeviceWithConfigContext + +// DcimDevicesUpdateJSONBody defines parameters for DcimDevicesUpdate. +type DcimDevicesUpdateJSONBody WritableDeviceWithConfigContext + +// DcimDevicesNapalmRetrieveParams defines parameters for DcimDevicesNapalmRetrieve. +type DcimDevicesNapalmRetrieveParams struct { + Method string `json:"method"` +} + +// DcimFrontPortTemplatesListParams defines parameters for DcimFrontPortTemplatesList. +type DcimFrontPortTemplatesListParams struct { + // Device type (ID) + DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + Type *string `json:"type,omitempty"` + TypeN *string `json:"type__n,omitempty"` +} + +// DcimFrontPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimFrontPortTemplatesBulkPartialUpdate. +type DcimFrontPortTemplatesBulkPartialUpdateJSONBody PatchedWritableFrontPortTemplate + +// DcimFrontPortTemplatesCreateJSONBody defines parameters for DcimFrontPortTemplatesCreate. +type DcimFrontPortTemplatesCreateJSONBody WritableFrontPortTemplate + +// DcimFrontPortTemplatesBulkUpdateJSONBody defines parameters for DcimFrontPortTemplatesBulkUpdate. +type DcimFrontPortTemplatesBulkUpdateJSONBody WritableFrontPortTemplate + +// DcimFrontPortTemplatesPartialUpdateJSONBody defines parameters for DcimFrontPortTemplatesPartialUpdate. +type DcimFrontPortTemplatesPartialUpdateJSONBody PatchedWritableFrontPortTemplate + +// DcimFrontPortTemplatesUpdateJSONBody defines parameters for DcimFrontPortTemplatesUpdate. +type DcimFrontPortTemplatesUpdateJSONBody WritableFrontPortTemplate + +// 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"` + + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (name) + DeviceN *[]string `json:"device__n,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` +} + +// DcimFrontPortsBulkPartialUpdateJSONBody defines parameters for DcimFrontPortsBulkPartialUpdate. +type DcimFrontPortsBulkPartialUpdateJSONBody PatchedWritableFrontPort + +// DcimFrontPortsCreateJSONBody defines parameters for DcimFrontPortsCreate. +type DcimFrontPortsCreateJSONBody WritableFrontPort + +// DcimFrontPortsBulkUpdateJSONBody defines parameters for DcimFrontPortsBulkUpdate. +type DcimFrontPortsBulkUpdateJSONBody WritableFrontPort + +// DcimFrontPortsPartialUpdateJSONBody defines parameters for DcimFrontPortsPartialUpdate. +type DcimFrontPortsPartialUpdateJSONBody PatchedWritableFrontPort + +// DcimFrontPortsUpdateJSONBody defines parameters for DcimFrontPortsUpdate. +type DcimFrontPortsUpdateJSONBody WritableFrontPort + +// DcimInterfaceConnectionsListParams defines parameters for DcimInterfaceConnectionsList. +type DcimInterfaceConnectionsListParams struct { + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Site (slug) + Site *string `json:"site,omitempty"` +} + +// DcimInterfaceTemplatesListParams defines parameters for DcimInterfaceTemplatesList. +type DcimInterfaceTemplatesListParams struct { + // Device type (ID) + DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + Type *string `json:"type,omitempty"` + TypeN *string `json:"type__n,omitempty"` +} + +// DcimInterfaceTemplatesBulkPartialUpdateJSONBody defines parameters for DcimInterfaceTemplatesBulkPartialUpdate. +type DcimInterfaceTemplatesBulkPartialUpdateJSONBody PatchedWritableInterfaceTemplate + +// DcimInterfaceTemplatesCreateJSONBody defines parameters for DcimInterfaceTemplatesCreate. +type DcimInterfaceTemplatesCreateJSONBody WritableInterfaceTemplate + +// DcimInterfaceTemplatesBulkUpdateJSONBody defines parameters for DcimInterfaceTemplatesBulkUpdate. +type DcimInterfaceTemplatesBulkUpdateJSONBody WritableInterfaceTemplate + +// DcimInterfaceTemplatesPartialUpdateJSONBody defines parameters for DcimInterfaceTemplatesPartialUpdate. +type DcimInterfaceTemplatesPartialUpdateJSONBody PatchedWritableInterfaceTemplate + +// DcimInterfaceTemplatesUpdateJSONBody defines parameters for DcimInterfaceTemplatesUpdate. +type DcimInterfaceTemplatesUpdateJSONBody WritableInterfaceTemplate + +// DcimInterfacesListParams defines parameters for DcimInterfacesList. +type DcimInterfacesListParams struct { + Cabled *bool `json:"cabled,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"` + + // Device (name) + Device *[]string `json:"device,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"` + + // Kind of interface + Kind *string `json:"kind,omitempty"` + + // LAG interface (ID) + LagId *[]openapi_types.UUID `json:"lag_id,omitempty"` + + // LAG interface (ID) + LagIdN *[]openapi_types.UUID `json:"lag_id__n,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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` + + // Assigned VID + Vlan *float32 `json:"vlan,omitempty"` + + // Assigned VLAN + VlanId *string `json:"vlan_id,omitempty"` +} + +// DcimInterfacesBulkPartialUpdateJSONBody defines parameters for DcimInterfacesBulkPartialUpdate. +type DcimInterfacesBulkPartialUpdateJSONBody PatchedWritableInterface + +// DcimInterfacesCreateJSONBody defines parameters for DcimInterfacesCreate. +type DcimInterfacesCreateJSONBody WritableInterface + +// DcimInterfacesBulkUpdateJSONBody defines parameters for DcimInterfacesBulkUpdate. +type DcimInterfacesBulkUpdateJSONBody WritableInterface + +// DcimInterfacesPartialUpdateJSONBody defines parameters for DcimInterfacesPartialUpdate. +type DcimInterfacesPartialUpdateJSONBody PatchedWritableInterface + +// DcimInterfacesUpdateJSONBody defines parameters for DcimInterfacesUpdate. +type DcimInterfacesUpdateJSONBody WritableInterface + +// 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"` + + // Device (name) + Device *openapi_types.UUID `json:"device,omitempty"` + + // Device (name) + DeviceN *openapi_types.UUID `json:"device__n,omitempty"` + + // Device (ID) + DeviceId *openapi_types.UUID `json:"device_id,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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Manufacturer (slug) + Manufacturer *[]string `json:"manufacturer,omitempty"` + + // Manufacturer (slug) + ManufacturerN *[]string `json:"manufacturer__n,omitempty"` + + // Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Parent inventory item (ID) + ParentId *[]openapi_types.UUID `json:"parent_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"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + Serial *string `json:"serial,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` +} + +// DcimInventoryItemsBulkPartialUpdateJSONBody defines parameters for DcimInventoryItemsBulkPartialUpdate. +type DcimInventoryItemsBulkPartialUpdateJSONBody PatchedWritableInventoryItem + +// DcimInventoryItemsCreateJSONBody defines parameters for DcimInventoryItemsCreate. +type DcimInventoryItemsCreateJSONBody WritableInventoryItem + +// DcimInventoryItemsBulkUpdateJSONBody defines parameters for DcimInventoryItemsBulkUpdate. +type DcimInventoryItemsBulkUpdateJSONBody WritableInventoryItem + +// DcimInventoryItemsPartialUpdateJSONBody defines parameters for DcimInventoryItemsPartialUpdate. +type DcimInventoryItemsPartialUpdateJSONBody PatchedWritableInventoryItem + +// DcimInventoryItemsUpdateJSONBody defines parameters for DcimInventoryItemsUpdate. +type DcimInventoryItemsUpdateJSONBody WritableInventoryItem + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// DcimManufacturersBulkPartialUpdateJSONBody defines parameters for DcimManufacturersBulkPartialUpdate. +type DcimManufacturersBulkPartialUpdateJSONBody PatchedManufacturer + +// DcimManufacturersCreateJSONBody defines parameters for DcimManufacturersCreate. +type DcimManufacturersCreateJSONBody Manufacturer + +// DcimManufacturersBulkUpdateJSONBody defines parameters for DcimManufacturersBulkUpdate. +type DcimManufacturersBulkUpdateJSONBody Manufacturer + +// DcimManufacturersPartialUpdateJSONBody defines parameters for DcimManufacturersPartialUpdate. +type DcimManufacturersPartialUpdateJSONBody PatchedManufacturer + +// DcimManufacturersUpdateJSONBody defines parameters for DcimManufacturersUpdate. +type DcimManufacturersUpdateJSONBody Manufacturer + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Manufacturer (slug) + Manufacturer *[]string `json:"manufacturer,omitempty"` + + // Manufacturer (slug) + ManufacturerN *[]string `json:"manufacturer__n,omitempty"` + + // Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// DcimPlatformsBulkPartialUpdateJSONBody defines parameters for DcimPlatformsBulkPartialUpdate. +type DcimPlatformsBulkPartialUpdateJSONBody PatchedWritablePlatform + +// DcimPlatformsCreateJSONBody defines parameters for DcimPlatformsCreate. +type DcimPlatformsCreateJSONBody WritablePlatform + +// DcimPlatformsBulkUpdateJSONBody defines parameters for DcimPlatformsBulkUpdate. +type DcimPlatformsBulkUpdateJSONBody WritablePlatform + +// DcimPlatformsPartialUpdateJSONBody defines parameters for DcimPlatformsPartialUpdate. +type DcimPlatformsPartialUpdateJSONBody PatchedWritablePlatform + +// DcimPlatformsUpdateJSONBody defines parameters for DcimPlatformsUpdate. +type DcimPlatformsUpdateJSONBody WritablePlatform + +// DcimPowerConnectionsListParams defines parameters for DcimPowerConnectionsList. +type DcimPowerConnectionsListParams struct { + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Site (slug) + Site *string `json:"site,omitempty"` +} + +// 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"` + + // 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"` + + // 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"` + + // 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"` + + // Power panel (ID) + PowerPanelId *[]openapi_types.UUID `json:"power_panel_id,omitempty"` + + // Power panel (ID) + PowerPanelIdN *[]openapi_types.UUID `json:"power_panel_id__n,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Rack (ID) + RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + + // Rack (ID) + RackIdN *[]openapi_types.UUID `json:"rack_id__n,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` + 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"` +} + +// DcimPowerFeedsBulkPartialUpdateJSONBody defines parameters for DcimPowerFeedsBulkPartialUpdate. +type DcimPowerFeedsBulkPartialUpdateJSONBody PatchedWritablePowerFeed + +// DcimPowerFeedsCreateJSONBody defines parameters for DcimPowerFeedsCreate. +type DcimPowerFeedsCreateJSONBody WritablePowerFeed + +// DcimPowerFeedsBulkUpdateJSONBody defines parameters for DcimPowerFeedsBulkUpdate. +type DcimPowerFeedsBulkUpdateJSONBody WritablePowerFeed + +// DcimPowerFeedsPartialUpdateJSONBody defines parameters for DcimPowerFeedsPartialUpdate. +type DcimPowerFeedsPartialUpdateJSONBody PatchedWritablePowerFeed + +// DcimPowerFeedsUpdateJSONBody defines parameters for DcimPowerFeedsUpdate. +type DcimPowerFeedsUpdateJSONBody WritablePowerFeed + +// DcimPowerOutletTemplatesListParams defines parameters for DcimPowerOutletTemplatesList. +type DcimPowerOutletTemplatesListParams struct { + // Device type (ID) + DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,omitempty"` + + // Device type (ID) + DevicetypeIdN *[]openapi_types.UUID `json:"devicetype_id__n,omitempty"` + + // Phase (for three-phase feeds) + FeedLeg *string `json:"feed_leg,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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + Type *string `json:"type,omitempty"` + TypeN *string `json:"type__n,omitempty"` +} + +// DcimPowerOutletTemplatesBulkPartialUpdateJSONBody defines parameters for DcimPowerOutletTemplatesBulkPartialUpdate. +type DcimPowerOutletTemplatesBulkPartialUpdateJSONBody PatchedWritablePowerOutletTemplate + +// DcimPowerOutletTemplatesCreateJSONBody defines parameters for DcimPowerOutletTemplatesCreate. +type DcimPowerOutletTemplatesCreateJSONBody WritablePowerOutletTemplate + +// DcimPowerOutletTemplatesBulkUpdateJSONBody defines parameters for DcimPowerOutletTemplatesBulkUpdate. +type DcimPowerOutletTemplatesBulkUpdateJSONBody WritablePowerOutletTemplate + +// DcimPowerOutletTemplatesPartialUpdateJSONBody defines parameters for DcimPowerOutletTemplatesPartialUpdate. +type DcimPowerOutletTemplatesPartialUpdateJSONBody PatchedWritablePowerOutletTemplate + +// DcimPowerOutletTemplatesUpdateJSONBody defines parameters for DcimPowerOutletTemplatesUpdate. +type DcimPowerOutletTemplatesUpdateJSONBody WritablePowerOutletTemplate + +// DcimPowerOutletsListParams defines parameters for DcimPowerOutletsList. +type DcimPowerOutletsListParams struct { + Cabled *bool `json:"cabled,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"` + + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (name) + DeviceN *[]string `json:"device__n,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + + // Device (ID) + DeviceIdN *[]openapi_types.UUID `json:"device_id__n,omitempty"` + + // Phase (for three-phase feeds) + FeedLeg *string `json:"feed_leg,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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Physical port type + Type *[]string `json:"type,omitempty"` + + // Physical port type + TypeN *[]string `json:"type__n,omitempty"` +} + +// DcimPowerOutletsBulkPartialUpdateJSONBody defines parameters for DcimPowerOutletsBulkPartialUpdate. +type DcimPowerOutletsBulkPartialUpdateJSONBody PatchedWritablePowerOutlet + +// DcimPowerOutletsCreateJSONBody defines parameters for DcimPowerOutletsCreate. +type DcimPowerOutletsCreateJSONBody WritablePowerOutlet + +// DcimPowerOutletsBulkUpdateJSONBody defines parameters for DcimPowerOutletsBulkUpdate. +type DcimPowerOutletsBulkUpdateJSONBody WritablePowerOutlet + +// DcimPowerOutletsPartialUpdateJSONBody defines parameters for DcimPowerOutletsPartialUpdate. +type DcimPowerOutletsPartialUpdateJSONBody PatchedWritablePowerOutlet + +// DcimPowerOutletsUpdateJSONBody defines parameters for DcimPowerOutletsUpdate. +type DcimPowerOutletsUpdateJSONBody WritablePowerOutlet + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Rack group (ID) + RackGroupId *[]openapi_types.UUID `json:"rack_group_id,omitempty"` + + // Rack group (ID) + RackGroupIdN *[]openapi_types.UUID `json:"rack_group_id__n,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` +} + +// DcimPowerPanelsBulkPartialUpdateJSONBody defines parameters for DcimPowerPanelsBulkPartialUpdate. +type DcimPowerPanelsBulkPartialUpdateJSONBody PatchedWritablePowerPanel + +// DcimPowerPanelsCreateJSONBody defines parameters for DcimPowerPanelsCreate. +type DcimPowerPanelsCreateJSONBody WritablePowerPanel + +// DcimPowerPanelsBulkUpdateJSONBody defines parameters for DcimPowerPanelsBulkUpdate. +type DcimPowerPanelsBulkUpdateJSONBody WritablePowerPanel + +// DcimPowerPanelsPartialUpdateJSONBody defines parameters for DcimPowerPanelsPartialUpdate. +type DcimPowerPanelsPartialUpdateJSONBody PatchedWritablePowerPanel + +// DcimPowerPanelsUpdateJSONBody defines parameters for DcimPowerPanelsUpdate. +type DcimPowerPanelsUpdateJSONBody WritablePowerPanel + +// 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"` + + // Device type (ID) + DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + Type *string `json:"type,omitempty"` + TypeN *string `json:"type__n,omitempty"` +} + +// DcimPowerPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimPowerPortTemplatesBulkPartialUpdate. +type DcimPowerPortTemplatesBulkPartialUpdateJSONBody PatchedWritablePowerPortTemplate + +// DcimPowerPortTemplatesCreateJSONBody defines parameters for DcimPowerPortTemplatesCreate. +type DcimPowerPortTemplatesCreateJSONBody WritablePowerPortTemplate + +// DcimPowerPortTemplatesBulkUpdateJSONBody defines parameters for DcimPowerPortTemplatesBulkUpdate. +type DcimPowerPortTemplatesBulkUpdateJSONBody WritablePowerPortTemplate + +// DcimPowerPortTemplatesPartialUpdateJSONBody defines parameters for DcimPowerPortTemplatesPartialUpdate. +type DcimPowerPortTemplatesPartialUpdateJSONBody PatchedWritablePowerPortTemplate + +// DcimPowerPortTemplatesUpdateJSONBody defines parameters for DcimPowerPortTemplatesUpdate. +type DcimPowerPortTemplatesUpdateJSONBody WritablePowerPortTemplate + +// 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"` + + // 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"` + + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (name) + DeviceN *[]string `json:"device__n,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Physical port type + Type *[]string `json:"type,omitempty"` + + // Physical port type + TypeN *[]string `json:"type__n,omitempty"` +} + +// DcimPowerPortsBulkPartialUpdateJSONBody defines parameters for DcimPowerPortsBulkPartialUpdate. +type DcimPowerPortsBulkPartialUpdateJSONBody PatchedWritablePowerPort + +// DcimPowerPortsCreateJSONBody defines parameters for DcimPowerPortsCreate. +type DcimPowerPortsCreateJSONBody WritablePowerPort + +// DcimPowerPortsBulkUpdateJSONBody defines parameters for DcimPowerPortsBulkUpdate. +type DcimPowerPortsBulkUpdateJSONBody WritablePowerPort + +// DcimPowerPortsPartialUpdateJSONBody defines parameters for DcimPowerPortsPartialUpdate. +type DcimPowerPortsPartialUpdateJSONBody PatchedWritablePowerPort + +// DcimPowerPortsUpdateJSONBody defines parameters for DcimPowerPortsUpdate. +type DcimPowerPortsUpdateJSONBody WritablePowerPort + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Rack group (slug) + Parent *[]string `json:"parent,omitempty"` + + // Rack group (slug) + ParentN *[]string `json:"parent__n,omitempty"` + + // Rack group (ID) + ParentId *[]openapi_types.UUID `json:"parent_id,omitempty"` + + // Rack group (ID) + ParentIdN *[]openapi_types.UUID `json:"parent_id__n,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,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"` +} + +// DcimRackGroupsBulkPartialUpdateJSONBody defines parameters for DcimRackGroupsBulkPartialUpdate. +type DcimRackGroupsBulkPartialUpdateJSONBody PatchedWritableRackGroup + +// DcimRackGroupsCreateJSONBody defines parameters for DcimRackGroupsCreate. +type DcimRackGroupsCreateJSONBody WritableRackGroup + +// DcimRackGroupsBulkUpdateJSONBody defines parameters for DcimRackGroupsBulkUpdate. +type DcimRackGroupsBulkUpdateJSONBody WritableRackGroup + +// DcimRackGroupsPartialUpdateJSONBody defines parameters for DcimRackGroupsPartialUpdate. +type DcimRackGroupsPartialUpdateJSONBody PatchedWritableRackGroup + +// DcimRackGroupsUpdateJSONBody defines parameters for DcimRackGroupsUpdate. +type DcimRackGroupsUpdateJSONBody WritableRackGroup + +// 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"` + + // Rack group (slug) + Group *[]openapi_types.UUID `json:"group,omitempty"` + + // Rack group (slug) + GroupN *[]openapi_types.UUID `json:"group__n,omitempty"` + + // Rack group (ID) + GroupId *[]openapi_types.UUID `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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Rack (ID) + RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + + // Rack (ID) + RackIdN *[]openapi_types.UUID `json:"rack_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + + // User (name) + User *[]string `json:"user,omitempty"` + + // User (name) + UserN *[]string `json:"user__n,omitempty"` + + // User (ID) + UserId *[]openapi_types.UUID `json:"user_id,omitempty"` + + // User (ID) + UserIdN *[]openapi_types.UUID `json:"user_id__n,omitempty"` +} + +// DcimRackReservationsBulkPartialUpdateJSONBody defines parameters for DcimRackReservationsBulkPartialUpdate. +type DcimRackReservationsBulkPartialUpdateJSONBody PatchedWritableRackReservation + +// DcimRackReservationsCreateJSONBody defines parameters for DcimRackReservationsCreate. +type DcimRackReservationsCreateJSONBody WritableRackReservation + +// DcimRackReservationsBulkUpdateJSONBody defines parameters for DcimRackReservationsBulkUpdate. +type DcimRackReservationsBulkUpdateJSONBody WritableRackReservation + +// DcimRackReservationsPartialUpdateJSONBody defines parameters for DcimRackReservationsPartialUpdate. +type DcimRackReservationsPartialUpdateJSONBody PatchedWritableRackReservation + +// DcimRackReservationsUpdateJSONBody defines parameters for DcimRackReservationsUpdate. +type DcimRackReservationsUpdateJSONBody WritableRackReservation + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// DcimRackRolesBulkPartialUpdateJSONBody defines parameters for DcimRackRolesBulkPartialUpdate. +type DcimRackRolesBulkPartialUpdateJSONBody PatchedRackRole + +// DcimRackRolesCreateJSONBody defines parameters for DcimRackRolesCreate. +type DcimRackRolesCreateJSONBody RackRole + +// DcimRackRolesBulkUpdateJSONBody defines parameters for DcimRackRolesBulkUpdate. +type DcimRackRolesBulkUpdateJSONBody RackRole + +// DcimRackRolesPartialUpdateJSONBody defines parameters for DcimRackRolesPartialUpdate. +type DcimRackRolesPartialUpdateJSONBody PatchedRackRole + +// DcimRackRolesUpdateJSONBody defines parameters for DcimRackRolesUpdate. +type DcimRackRolesUpdateJSONBody RackRole + +// 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"` + + // Rack group (slug) + Group *[]openapi_types.UUID `json:"group,omitempty"` + + // Rack group (slug) + GroupN *[]openapi_types.UUID `json:"group__n,omitempty"` + + // Rack group (ID) + GroupId *[]openapi_types.UUID `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"` + + // 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"` + + // 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"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Role (slug) + Role *[]string `json:"role,omitempty"` + + // Role (slug) + RoleN *[]string `json:"role__n,omitempty"` + + // Role (ID) + RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + + // Role (ID) + RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + Serial *string `json:"serial,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,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"` + + // Rail-to-rail width + Width *[]int `json:"width,omitempty"` + + // Rail-to-rail width + WidthN *[]int `json:"width__n,omitempty"` +} + +// DcimRacksBulkPartialUpdateJSONBody defines parameters for DcimRacksBulkPartialUpdate. +type DcimRacksBulkPartialUpdateJSONBody PatchedWritableRack + +// DcimRacksCreateJSONBody defines parameters for DcimRacksCreate. +type DcimRacksCreateJSONBody WritableRack + +// DcimRacksBulkUpdateJSONBody defines parameters for DcimRacksBulkUpdate. +type DcimRacksBulkUpdateJSONBody WritableRack + +// DcimRacksPartialUpdateJSONBody defines parameters for DcimRacksPartialUpdate. +type DcimRacksPartialUpdateJSONBody PatchedWritableRack + +// DcimRacksUpdateJSONBody defines parameters for DcimRacksUpdate. +type DcimRacksUpdateJSONBody WritableRack + +// 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"` + + // Rack group (slug) + Group *[]openapi_types.UUID `json:"group,omitempty"` + + // Rack group (slug) + GroupN *[]openapi_types.UUID `json:"group__n,omitempty"` + + // Rack group (ID) + GroupId *[]openapi_types.UUID `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"` + + // 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"` + + // 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"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + Render *DcimRacksElevationListParamsRender `json:"render,omitempty"` + + // Role (slug) + Role *[]string `json:"role,omitempty"` + + // Role (slug) + RoleN *[]string `json:"role__n,omitempty"` + + // Role (ID) + RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + + // Role (ID) + RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + Serial *string `json:"serial,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,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"` + + // Rail-to-rail width + Width *[]int `json:"width,omitempty"` + + // Rail-to-rail width + WidthN *[]int `json:"width__n,omitempty"` +} + +// DcimRacksElevationListParamsFace defines parameters for DcimRacksElevationList. +type DcimRacksElevationListParamsFace string + +// DcimRacksElevationListParamsRender defines parameters for DcimRacksElevationList. +type DcimRacksElevationListParamsRender string + +// DcimRearPortTemplatesListParams defines parameters for DcimRearPortTemplatesList. +type DcimRearPortTemplatesListParams struct { + // Device type (ID) + DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,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"` + + // 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"` + + // 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"` + + // Search + Q *string `json:"q,omitempty"` + Type *string `json:"type,omitempty"` + TypeN *string `json:"type__n,omitempty"` +} + +// DcimRearPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimRearPortTemplatesBulkPartialUpdate. +type DcimRearPortTemplatesBulkPartialUpdateJSONBody PatchedWritableRearPortTemplate + +// DcimRearPortTemplatesCreateJSONBody defines parameters for DcimRearPortTemplatesCreate. +type DcimRearPortTemplatesCreateJSONBody WritableRearPortTemplate + +// DcimRearPortTemplatesBulkUpdateJSONBody defines parameters for DcimRearPortTemplatesBulkUpdate. +type DcimRearPortTemplatesBulkUpdateJSONBody WritableRearPortTemplate + +// DcimRearPortTemplatesPartialUpdateJSONBody defines parameters for DcimRearPortTemplatesPartialUpdate. +type DcimRearPortTemplatesPartialUpdateJSONBody PatchedWritableRearPortTemplate + +// DcimRearPortTemplatesUpdateJSONBody defines parameters for DcimRearPortTemplatesUpdate. +type DcimRearPortTemplatesUpdateJSONBody WritableRearPortTemplate + +// 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"` + + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (name) + DeviceN *[]string `json:"device__n,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `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"` + + // 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"` + + // 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"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` +} + +// DcimRearPortsBulkPartialUpdateJSONBody defines parameters for DcimRearPortsBulkPartialUpdate. +type DcimRearPortsBulkPartialUpdateJSONBody PatchedWritableRearPort + +// DcimRearPortsCreateJSONBody defines parameters for DcimRearPortsCreate. +type DcimRearPortsCreateJSONBody WritableRearPort + +// DcimRearPortsBulkUpdateJSONBody defines parameters for DcimRearPortsBulkUpdate. +type DcimRearPortsBulkUpdateJSONBody WritableRearPort + +// DcimRearPortsPartialUpdateJSONBody defines parameters for DcimRearPortsPartialUpdate. +type DcimRearPortsPartialUpdateJSONBody PatchedWritableRearPort + +// DcimRearPortsUpdateJSONBody defines parameters for DcimRearPortsUpdate. +type DcimRearPortsUpdateJSONBody WritableRearPort + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Parent region (slug) + Parent *[]string `json:"parent,omitempty"` + + // Parent region (slug) + ParentN *[]string `json:"parent__n,omitempty"` + + // Parent region (ID) + ParentId *[]openapi_types.UUID `json:"parent_id,omitempty"` + + // Parent region (ID) + ParentIdN *[]openapi_types.UUID `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"` +} + +// DcimRegionsBulkPartialUpdateJSONBody defines parameters for DcimRegionsBulkPartialUpdate. +type DcimRegionsBulkPartialUpdateJSONBody PatchedWritableRegion + +// DcimRegionsCreateJSONBody defines parameters for DcimRegionsCreate. +type DcimRegionsCreateJSONBody WritableRegion + +// DcimRegionsBulkUpdateJSONBody defines parameters for DcimRegionsBulkUpdate. +type DcimRegionsBulkUpdateJSONBody WritableRegion + +// DcimRegionsPartialUpdateJSONBody defines parameters for DcimRegionsPartialUpdate. +type DcimRegionsPartialUpdateJSONBody PatchedWritableRegion + +// DcimRegionsUpdateJSONBody defines parameters for DcimRegionsUpdate. +type DcimRegionsUpdateJSONBody WritableRegion + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` +} + +// DcimSitesBulkPartialUpdateJSONBody defines parameters for DcimSitesBulkPartialUpdate. +type DcimSitesBulkPartialUpdateJSONBody PatchedWritableSite + +// DcimSitesCreateJSONBody defines parameters for DcimSitesCreate. +type DcimSitesCreateJSONBody WritableSite + +// DcimSitesBulkUpdateJSONBody defines parameters for DcimSitesBulkUpdate. +type DcimSitesBulkUpdateJSONBody WritableSite + +// DcimSitesPartialUpdateJSONBody defines parameters for DcimSitesPartialUpdate. +type DcimSitesPartialUpdateJSONBody PatchedWritableSite + +// DcimSitesUpdateJSONBody defines parameters for DcimSitesUpdate. +type DcimSitesUpdateJSONBody WritableSite + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Master (name) + Master *[]string `json:"master,omitempty"` + + // Master (name) + MasterN *[]string `json:"master__n,omitempty"` + + // Master (ID) + MasterId *[]openapi_types.UUID `json:"master_id,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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site name (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` +} + +// DcimVirtualChassisBulkPartialUpdateJSONBody defines parameters for DcimVirtualChassisBulkPartialUpdate. +type DcimVirtualChassisBulkPartialUpdateJSONBody PatchedWritableVirtualChassis + +// DcimVirtualChassisCreateJSONBody defines parameters for DcimVirtualChassisCreate. +type DcimVirtualChassisCreateJSONBody WritableVirtualChassis + +// DcimVirtualChassisBulkUpdateJSONBody defines parameters for DcimVirtualChassisBulkUpdate. +type DcimVirtualChassisBulkUpdateJSONBody WritableVirtualChassis + +// DcimVirtualChassisPartialUpdateJSONBody defines parameters for DcimVirtualChassisPartialUpdate. +type DcimVirtualChassisPartialUpdateJSONBody PatchedWritableVirtualChassis + +// DcimVirtualChassisUpdateJSONBody defines parameters for DcimVirtualChassisUpdate. +type DcimVirtualChassisUpdateJSONBody WritableVirtualChassis + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasComputedFieldsBulkPartialUpdateJSONBody defines parameters for ExtrasComputedFieldsBulkPartialUpdate. +type ExtrasComputedFieldsBulkPartialUpdateJSONBody PatchedComputedField + +// ExtrasComputedFieldsCreateJSONBody defines parameters for ExtrasComputedFieldsCreate. +type ExtrasComputedFieldsCreateJSONBody ComputedField + +// ExtrasComputedFieldsBulkUpdateJSONBody defines parameters for ExtrasComputedFieldsBulkUpdate. +type ExtrasComputedFieldsBulkUpdateJSONBody ComputedField + +// ExtrasComputedFieldsPartialUpdateJSONBody defines parameters for ExtrasComputedFieldsPartialUpdate. +type ExtrasComputedFieldsPartialUpdateJSONBody PatchedComputedField + +// ExtrasComputedFieldsUpdateJSONBody defines parameters for ExtrasComputedFieldsUpdate. +type ExtrasComputedFieldsUpdateJSONBody ComputedField + +// 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"` + + // 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"` + + // 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"` + + // Search + Q *string `json:"q,omitempty"` +} + +// ExtrasConfigContextSchemasBulkPartialUpdateJSONBody defines parameters for ExtrasConfigContextSchemasBulkPartialUpdate. +type ExtrasConfigContextSchemasBulkPartialUpdateJSONBody PatchedConfigContextSchema + +// ExtrasConfigContextSchemasCreateJSONBody defines parameters for ExtrasConfigContextSchemasCreate. +type ExtrasConfigContextSchemasCreateJSONBody ConfigContextSchema + +// ExtrasConfigContextSchemasBulkUpdateJSONBody defines parameters for ExtrasConfigContextSchemasBulkUpdate. +type ExtrasConfigContextSchemasBulkUpdateJSONBody ConfigContextSchema + +// ExtrasConfigContextSchemasPartialUpdateJSONBody defines parameters for ExtrasConfigContextSchemasPartialUpdate. +type ExtrasConfigContextSchemasPartialUpdateJSONBody PatchedConfigContextSchema + +// ExtrasConfigContextSchemasUpdateJSONBody defines parameters for ExtrasConfigContextSchemasUpdate. +type ExtrasConfigContextSchemasUpdateJSONBody ConfigContextSchema + +// ExtrasConfigContextsListParams defines parameters for ExtrasConfigContextsList. +type ExtrasConfigContextsListParams struct { + // Cluster group (slug) + ClusterGroup *[]string `json:"cluster_group,omitempty"` + + // Cluster group (slug) + ClusterGroupN *[]string `json:"cluster_group__n,omitempty"` + + // Cluster group + ClusterGroupId *[]openapi_types.UUID `json:"cluster_group_id,omitempty"` + + // Cluster group + ClusterGroupIdN *[]openapi_types.UUID `json:"cluster_group_id__n,omitempty"` + + // Cluster + ClusterId *[]openapi_types.UUID `json:"cluster_id,omitempty"` + + // Cluster + ClusterIdN *[]openapi_types.UUID `json:"cluster_id__n,omitempty"` + + // Device Type (slug) + DeviceType *[]string `json:"device_type,omitempty"` + + // Device Type (slug) + DeviceTypeN *[]string `json:"device_type__n,omitempty"` + + // Device Type + DeviceTypeId *[]openapi_types.UUID `json:"device_type_id,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"` + + // 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"` + + // 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"` + + // Platform (slug) + Platform *[]string `json:"platform,omitempty"` + + // Platform (slug) + PlatformN *[]string `json:"platform__n,omitempty"` + + // Platform + PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + + // Platform + PlatformIdN *[]openapi_types.UUID `json:"platform_id__n,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]string `json:"region,omitempty"` + + // Region (slug) + RegionN *[]string `json:"region__n,omitempty"` + + // Region + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Role (slug) + Role *[]string `json:"role,omitempty"` + + // Role (slug) + RoleN *[]string `json:"role__n,omitempty"` + + // Role + RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + + // Role + RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + + // Tag (slug) + Tag *[]string `json:"tag,omitempty"` + + // Tag (slug) + TagN *[]string `json:"tag__n,omitempty"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant group (slug) + TenantGroup *[]string `json:"tenant_group,omitempty"` + + // Tenant group (slug) + TenantGroupN *[]string `json:"tenant_group__n,omitempty"` + + // Tenant group + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant group + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` +} + +// ExtrasConfigContextsBulkPartialUpdateJSONBody defines parameters for ExtrasConfigContextsBulkPartialUpdate. +type ExtrasConfigContextsBulkPartialUpdateJSONBody PatchedWritableConfigContext + +// ExtrasConfigContextsCreateJSONBody defines parameters for ExtrasConfigContextsCreate. +type ExtrasConfigContextsCreateJSONBody WritableConfigContext + +// ExtrasConfigContextsBulkUpdateJSONBody defines parameters for ExtrasConfigContextsBulkUpdate. +type ExtrasConfigContextsBulkUpdateJSONBody WritableConfigContext + +// ExtrasConfigContextsPartialUpdateJSONBody defines parameters for ExtrasConfigContextsPartialUpdate. +type ExtrasConfigContextsPartialUpdateJSONBody PatchedWritableConfigContext + +// ExtrasConfigContextsUpdateJSONBody defines parameters for ExtrasConfigContextsUpdate. +type ExtrasConfigContextsUpdateJSONBody WritableConfigContext + +// ExtrasContentTypesListParams defines parameters for ExtrasContentTypesList. +type ExtrasContentTypesListParams struct { + AppLabel *string `json:"app_label,omitempty"` + Id *int `json:"id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + Model *string `json:"model,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` +} + +// ExtrasCustomFieldChoicesListParams defines parameters for ExtrasCustomFieldChoicesList. +type ExtrasCustomFieldChoicesListParams struct { + // Field (name) + Field *[]string `json:"field,omitempty"` + + // Field (name) + FieldN *[]string `json:"field__n,omitempty"` + + // Field + FieldId *[]openapi_types.UUID `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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasCustomFieldChoicesBulkPartialUpdateJSONBody defines parameters for ExtrasCustomFieldChoicesBulkPartialUpdate. +type ExtrasCustomFieldChoicesBulkPartialUpdateJSONBody PatchedWritableCustomFieldChoice + +// ExtrasCustomFieldChoicesCreateJSONBody defines parameters for ExtrasCustomFieldChoicesCreate. +type ExtrasCustomFieldChoicesCreateJSONBody WritableCustomFieldChoice + +// ExtrasCustomFieldChoicesBulkUpdateJSONBody defines parameters for ExtrasCustomFieldChoicesBulkUpdate. +type ExtrasCustomFieldChoicesBulkUpdateJSONBody WritableCustomFieldChoice + +// ExtrasCustomFieldChoicesPartialUpdateJSONBody defines parameters for ExtrasCustomFieldChoicesPartialUpdate. +type ExtrasCustomFieldChoicesPartialUpdateJSONBody PatchedWritableCustomFieldChoice + +// ExtrasCustomFieldChoicesUpdateJSONBody defines parameters for ExtrasCustomFieldChoicesUpdate. +type ExtrasCustomFieldChoicesUpdateJSONBody WritableCustomFieldChoice + +// ExtrasCustomFieldsListParams defines parameters for ExtrasCustomFieldsList. +type ExtrasCustomFieldsListParams struct { + ContentTypes *[]int `json:"content_types,omitempty"` + ContentTypesN *[]int `json:"content_types__n,omitempty"` + + // Loose matches any instance of a given string; Exact matches the entire field. + FilterLogic *string `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasCustomFieldsBulkPartialUpdateJSONBody defines parameters for ExtrasCustomFieldsBulkPartialUpdate. +type ExtrasCustomFieldsBulkPartialUpdateJSONBody PatchedWritableCustomField + +// ExtrasCustomFieldsCreateJSONBody defines parameters for ExtrasCustomFieldsCreate. +type ExtrasCustomFieldsCreateJSONBody WritableCustomField + +// ExtrasCustomFieldsBulkUpdateJSONBody defines parameters for ExtrasCustomFieldsBulkUpdate. +type ExtrasCustomFieldsBulkUpdateJSONBody WritableCustomField + +// ExtrasCustomFieldsPartialUpdateJSONBody defines parameters for ExtrasCustomFieldsPartialUpdate. +type ExtrasCustomFieldsPartialUpdateJSONBody PatchedWritableCustomField + +// ExtrasCustomFieldsUpdateJSONBody defines parameters for ExtrasCustomFieldsUpdate. +type ExtrasCustomFieldsUpdateJSONBody WritableCustomField + +// 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"` + + // 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasCustomLinksBulkPartialUpdateJSONBody defines parameters for ExtrasCustomLinksBulkPartialUpdate. +type ExtrasCustomLinksBulkPartialUpdateJSONBody PatchedCustomLink + +// ExtrasCustomLinksCreateJSONBody defines parameters for ExtrasCustomLinksCreate. +type ExtrasCustomLinksCreateJSONBody CustomLink + +// ExtrasCustomLinksBulkUpdateJSONBody defines parameters for ExtrasCustomLinksBulkUpdate. +type ExtrasCustomLinksBulkUpdateJSONBody CustomLink + +// ExtrasCustomLinksPartialUpdateJSONBody defines parameters for ExtrasCustomLinksPartialUpdate. +type ExtrasCustomLinksPartialUpdateJSONBody PatchedCustomLink + +// ExtrasCustomLinksUpdateJSONBody defines parameters for ExtrasCustomLinksUpdate. +type ExtrasCustomLinksUpdateJSONBody CustomLink + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasDynamicGroupsBulkPartialUpdateJSONBody defines parameters for ExtrasDynamicGroupsBulkPartialUpdate. +type ExtrasDynamicGroupsBulkPartialUpdateJSONBody PatchedDynamicGroup + +// ExtrasDynamicGroupsCreateJSONBody defines parameters for ExtrasDynamicGroupsCreate. +type ExtrasDynamicGroupsCreateJSONBody DynamicGroup + +// ExtrasDynamicGroupsBulkUpdateJSONBody defines parameters for ExtrasDynamicGroupsBulkUpdate. +type ExtrasDynamicGroupsBulkUpdateJSONBody DynamicGroup + +// ExtrasDynamicGroupsPartialUpdateJSONBody defines parameters for ExtrasDynamicGroupsPartialUpdate. +type ExtrasDynamicGroupsPartialUpdateJSONBody PatchedDynamicGroup + +// ExtrasDynamicGroupsUpdateJSONBody defines parameters for ExtrasDynamicGroupsUpdate. +type ExtrasDynamicGroupsUpdateJSONBody DynamicGroup + +// 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"` + + // 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"` + + // 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"` + + // Search + Q *string `json:"q,omitempty"` +} + +// ExtrasExportTemplatesBulkPartialUpdateJSONBody defines parameters for ExtrasExportTemplatesBulkPartialUpdate. +type ExtrasExportTemplatesBulkPartialUpdateJSONBody PatchedExportTemplate + +// ExtrasExportTemplatesCreateJSONBody defines parameters for ExtrasExportTemplatesCreate. +type ExtrasExportTemplatesCreateJSONBody ExportTemplate + +// ExtrasExportTemplatesBulkUpdateJSONBody defines parameters for ExtrasExportTemplatesBulkUpdate. +type ExtrasExportTemplatesBulkUpdateJSONBody ExportTemplate + +// ExtrasExportTemplatesPartialUpdateJSONBody defines parameters for ExtrasExportTemplatesPartialUpdate. +type ExtrasExportTemplatesPartialUpdateJSONBody PatchedExportTemplate + +// ExtrasExportTemplatesUpdateJSONBody defines parameters for ExtrasExportTemplatesUpdate. +type ExtrasExportTemplatesUpdateJSONBody ExportTemplate + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,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"` + + // Secrets group (slug) + SecretsGroup *[]string `json:"secrets_group,omitempty"` + + // Secrets group (slug) + SecretsGroupN *[]string `json:"secrets_group__n,omitempty"` + + // Secrets group (ID) + SecretsGroupId *[]openapi_types.UUID `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"` +} + +// ExtrasGitRepositoriesBulkPartialUpdateJSONBody defines parameters for ExtrasGitRepositoriesBulkPartialUpdate. +type ExtrasGitRepositoriesBulkPartialUpdateJSONBody PatchedWritableGitRepository + +// ExtrasGitRepositoriesCreateJSONBody defines parameters for ExtrasGitRepositoriesCreate. +type ExtrasGitRepositoriesCreateJSONBody WritableGitRepository + +// ExtrasGitRepositoriesBulkUpdateJSONBody defines parameters for ExtrasGitRepositoriesBulkUpdate. +type ExtrasGitRepositoriesBulkUpdateJSONBody WritableGitRepository + +// ExtrasGitRepositoriesPartialUpdateJSONBody defines parameters for ExtrasGitRepositoriesPartialUpdate. +type ExtrasGitRepositoriesPartialUpdateJSONBody PatchedWritableGitRepository + +// ExtrasGitRepositoriesUpdateJSONBody defines parameters for ExtrasGitRepositoriesUpdate. +type ExtrasGitRepositoriesUpdateJSONBody WritableGitRepository + +// ExtrasGitRepositoriesSyncCreateJSONBody defines parameters for ExtrasGitRepositoriesSyncCreate. +type ExtrasGitRepositoriesSyncCreateJSONBody GitRepository + +// 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasGraphqlQueriesBulkPartialUpdateJSONBody defines parameters for ExtrasGraphqlQueriesBulkPartialUpdate. +type ExtrasGraphqlQueriesBulkPartialUpdateJSONBody PatchedGraphQLQuery + +// ExtrasGraphqlQueriesCreateJSONBody defines parameters for ExtrasGraphqlQueriesCreate. +type ExtrasGraphqlQueriesCreateJSONBody GraphQLQuery + +// ExtrasGraphqlQueriesBulkUpdateJSONBody defines parameters for ExtrasGraphqlQueriesBulkUpdate. +type ExtrasGraphqlQueriesBulkUpdateJSONBody GraphQLQuery + +// ExtrasGraphqlQueriesPartialUpdateJSONBody defines parameters for ExtrasGraphqlQueriesPartialUpdate. +type ExtrasGraphqlQueriesPartialUpdateJSONBody PatchedGraphQLQuery + +// ExtrasGraphqlQueriesUpdateJSONBody defines parameters for ExtrasGraphqlQueriesUpdate. +type ExtrasGraphqlQueriesUpdateJSONBody GraphQLQuery + +// ExtrasGraphqlQueriesRunCreateJSONBody defines parameters for ExtrasGraphqlQueriesRunCreate. +type ExtrasGraphqlQueriesRunCreateJSONBody GraphQLQueryInput + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` +} + +// ExtrasImageAttachmentsBulkPartialUpdateJSONBody defines parameters for ExtrasImageAttachmentsBulkPartialUpdate. +type ExtrasImageAttachmentsBulkPartialUpdateJSONBody PatchedImageAttachment + +// ExtrasImageAttachmentsCreateJSONBody defines parameters for ExtrasImageAttachmentsCreate. +type ExtrasImageAttachmentsCreateJSONBody ImageAttachment + +// ExtrasImageAttachmentsBulkUpdateJSONBody defines parameters for ExtrasImageAttachmentsBulkUpdate. +type ExtrasImageAttachmentsBulkUpdateJSONBody ImageAttachment + +// ExtrasImageAttachmentsPartialUpdateJSONBody defines parameters for ExtrasImageAttachmentsPartialUpdate. +type ExtrasImageAttachmentsPartialUpdateJSONBody PatchedImageAttachment + +// ExtrasImageAttachmentsUpdateJSONBody defines parameters for ExtrasImageAttachmentsUpdate. +type ExtrasImageAttachmentsUpdateJSONBody ImageAttachment + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` +} + +// 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"` + + // Job (slug) + JobModel *[]string `json:"job_model,omitempty"` + + // Job (slug) + JobModelN *[]string `json:"job_model__n,omitempty"` + + // Job (ID) + JobModelId *[]openapi_types.UUID `json:"job_model_id,omitempty"` + + // Job (ID) + JobModelIdN *[]openapi_types.UUID `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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// 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 + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` + + // Source of the Python code for this job - local, Git repository, or plugins + Source *string `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"` +} + +// ExtrasJobsBulkPartialUpdateJSONBody defines parameters for ExtrasJobsBulkPartialUpdate. +type ExtrasJobsBulkPartialUpdateJSONBody PatchedJob + +// ExtrasJobsBulkUpdateJSONBody defines parameters for ExtrasJobsBulkUpdate. +type ExtrasJobsBulkUpdateJSONBody Job + +// ExtrasJobsRunDeprecatedJSONBody defines parameters for ExtrasJobsRunDeprecated. +type ExtrasJobsRunDeprecatedJSONBody JobInput + +// ExtrasJobsPartialUpdateJSONBody defines parameters for ExtrasJobsPartialUpdate. +type ExtrasJobsPartialUpdateJSONBody PatchedJob + +// ExtrasJobsUpdateJSONBody defines parameters for ExtrasJobsUpdate. +type ExtrasJobsUpdateJSONBody Job + +// ExtrasJobsRunCreateJSONBody defines parameters for ExtrasJobsRunCreate. +type ExtrasJobsRunCreateJSONBody JobInput + +// ExtrasJobsVariablesListParams defines parameters for ExtrasJobsVariablesList. +type ExtrasJobsVariablesListParams struct { + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` +} + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` + + // User name + User *[]string `json:"user,omitempty"` + + // User name + UserN *[]string `json:"user__n,omitempty"` + + // User (ID) + UserId *[]openapi_types.UUID `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"` +} + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Relationship (slug) + Relationship *[]string `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"` +} + +// ExtrasRelationshipAssociationsBulkPartialUpdateJSONBody defines parameters for ExtrasRelationshipAssociationsBulkPartialUpdate. +type ExtrasRelationshipAssociationsBulkPartialUpdateJSONBody PatchedWritableRelationshipAssociation + +// ExtrasRelationshipAssociationsCreateJSONBody defines parameters for ExtrasRelationshipAssociationsCreate. +type ExtrasRelationshipAssociationsCreateJSONBody WritableRelationshipAssociation + +// ExtrasRelationshipAssociationsBulkUpdateJSONBody defines parameters for ExtrasRelationshipAssociationsBulkUpdate. +type ExtrasRelationshipAssociationsBulkUpdateJSONBody WritableRelationshipAssociation + +// ExtrasRelationshipAssociationsPartialUpdateJSONBody defines parameters for ExtrasRelationshipAssociationsPartialUpdate. +type ExtrasRelationshipAssociationsPartialUpdateJSONBody PatchedWritableRelationshipAssociation + +// ExtrasRelationshipAssociationsUpdateJSONBody defines parameters for ExtrasRelationshipAssociationsUpdate. +type ExtrasRelationshipAssociationsUpdateJSONBody WritableRelationshipAssociation + +// 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"` + + // 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"` + + // 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"` + + // Cardinality of this relationship + Type *string `json:"type,omitempty"` + + // Cardinality of this relationship + TypeN *string `json:"type__n,omitempty"` +} + +// ExtrasRelationshipsBulkPartialUpdateJSONBody defines parameters for ExtrasRelationshipsBulkPartialUpdate. +type ExtrasRelationshipsBulkPartialUpdateJSONBody PatchedRelationship + +// ExtrasRelationshipsCreateJSONBody defines parameters for ExtrasRelationshipsCreate. +type ExtrasRelationshipsCreateJSONBody Relationship + +// ExtrasRelationshipsBulkUpdateJSONBody defines parameters for ExtrasRelationshipsBulkUpdate. +type ExtrasRelationshipsBulkUpdateJSONBody Relationship + +// ExtrasRelationshipsPartialUpdateJSONBody defines parameters for ExtrasRelationshipsPartialUpdate. +type ExtrasRelationshipsPartialUpdateJSONBody PatchedRelationship + +// ExtrasRelationshipsUpdateJSONBody defines parameters for ExtrasRelationshipsUpdate. +type ExtrasRelationshipsUpdateJSONBody Relationship + +// 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"` + + // Job (slug) + JobModel *[]string `json:"job_model,omitempty"` + + // Job (slug) + JobModelN *[]string `json:"job_model__n,omitempty"` + + // Job (ID) + JobModelId *[]openapi_types.UUID `json:"job_model_id,omitempty"` + + // Job (ID) + JobModelIdN *[]openapi_types.UUID `json:"job_model_id__n,omitempty"` + LastRun *time.Time `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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasScheduledJobsApproveCreateParams defines parameters for ExtrasScheduledJobsApproveCreate. +type ExtrasScheduledJobsApproveCreateParams struct { + // force execution even if start time has passed + Force *bool `json:"force,omitempty"` +} + +// ExtrasSecretsGroupsAssociationsListParams defines parameters for ExtrasSecretsGroupsAssociationsList. +type ExtrasSecretsGroupsAssociationsListParams struct { + AccessType *[]string `json:"access_type,omitempty"` + AccessTypeN *[]string `json:"access_type__n,omitempty"` + + // Group (slug) + Group *[]string `json:"group,omitempty"` + + // Group (slug) + GroupN *[]string `json:"group__n,omitempty"` + + // Group (ID) + GroupId *[]openapi_types.UUID `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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Secret (slug) + Secret *[]string `json:"secret,omitempty"` + + // Secret (slug) + SecretN *[]string `json:"secret__n,omitempty"` + + // Secret (ID) + SecretId *[]openapi_types.UUID `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"` +} + +// ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsBulkPartialUpdate. +type ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONBody PatchedWritableSecretsGroupAssociation + +// ExtrasSecretsGroupsAssociationsCreateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsCreate. +type ExtrasSecretsGroupsAssociationsCreateJSONBody WritableSecretsGroupAssociation + +// ExtrasSecretsGroupsAssociationsBulkUpdateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsBulkUpdate. +type ExtrasSecretsGroupsAssociationsBulkUpdateJSONBody WritableSecretsGroupAssociation + +// ExtrasSecretsGroupsAssociationsPartialUpdateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsPartialUpdate. +type ExtrasSecretsGroupsAssociationsPartialUpdateJSONBody PatchedWritableSecretsGroupAssociation + +// ExtrasSecretsGroupsAssociationsUpdateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsUpdate. +type ExtrasSecretsGroupsAssociationsUpdateJSONBody WritableSecretsGroupAssociation + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasSecretsGroupsBulkPartialUpdateJSONBody defines parameters for ExtrasSecretsGroupsBulkPartialUpdate. +type ExtrasSecretsGroupsBulkPartialUpdateJSONBody PatchedSecretsGroup + +// ExtrasSecretsGroupsCreateJSONBody defines parameters for ExtrasSecretsGroupsCreate. +type ExtrasSecretsGroupsCreateJSONBody SecretsGroup + +// ExtrasSecretsGroupsBulkUpdateJSONBody defines parameters for ExtrasSecretsGroupsBulkUpdate. +type ExtrasSecretsGroupsBulkUpdateJSONBody SecretsGroup + +// ExtrasSecretsGroupsPartialUpdateJSONBody defines parameters for ExtrasSecretsGroupsPartialUpdate. +type ExtrasSecretsGroupsPartialUpdateJSONBody PatchedSecretsGroup + +// ExtrasSecretsGroupsUpdateJSONBody defines parameters for ExtrasSecretsGroupsUpdate. +type ExtrasSecretsGroupsUpdateJSONBody SecretsGroup + +// 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"` + + // 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"` + + // 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"` + + // 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"` +} + +// ExtrasSecretsBulkPartialUpdateJSONBody defines parameters for ExtrasSecretsBulkPartialUpdate. +type ExtrasSecretsBulkPartialUpdateJSONBody PatchedSecret + +// ExtrasSecretsCreateJSONBody defines parameters for ExtrasSecretsCreate. +type ExtrasSecretsCreateJSONBody Secret + +// ExtrasSecretsBulkUpdateJSONBody defines parameters for ExtrasSecretsBulkUpdate. +type ExtrasSecretsBulkUpdateJSONBody Secret + +// ExtrasSecretsPartialUpdateJSONBody defines parameters for ExtrasSecretsPartialUpdate. +type ExtrasSecretsPartialUpdateJSONBody PatchedSecret + +// ExtrasSecretsUpdateJSONBody defines parameters for ExtrasSecretsUpdate. +type ExtrasSecretsUpdateJSONBody Secret + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasStatusesBulkPartialUpdateJSONBody defines parameters for ExtrasStatusesBulkPartialUpdate. +type ExtrasStatusesBulkPartialUpdateJSONBody PatchedStatus + +// ExtrasStatusesCreateJSONBody defines parameters for ExtrasStatusesCreate. +type ExtrasStatusesCreateJSONBody Status + +// ExtrasStatusesBulkUpdateJSONBody defines parameters for ExtrasStatusesBulkUpdate. +type ExtrasStatusesBulkUpdateJSONBody Status + +// ExtrasStatusesPartialUpdateJSONBody defines parameters for ExtrasStatusesPartialUpdate. +type ExtrasStatusesPartialUpdateJSONBody PatchedStatus + +// ExtrasStatusesUpdateJSONBody defines parameters for ExtrasStatusesUpdate. +type ExtrasStatusesUpdateJSONBody Status + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// ExtrasTagsBulkPartialUpdateJSONBody defines parameters for ExtrasTagsBulkPartialUpdate. +type ExtrasTagsBulkPartialUpdateJSONBody PatchedTagSerializerVersion13 + +// ExtrasTagsCreateJSONBody defines parameters for ExtrasTagsCreate. +type ExtrasTagsCreateJSONBody TagSerializerVersion13 + +// ExtrasTagsBulkUpdateJSONBody defines parameters for ExtrasTagsBulkUpdate. +type ExtrasTagsBulkUpdateJSONBody TagSerializerVersion13 + +// ExtrasTagsPartialUpdateJSONBody defines parameters for ExtrasTagsPartialUpdate. +type ExtrasTagsPartialUpdateJSONBody PatchedTagSerializerVersion13 + +// ExtrasTagsUpdateJSONBody defines parameters for ExtrasTagsUpdate. +type ExtrasTagsUpdateJSONBody TagSerializerVersion13 + +// 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"` + + // 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"` + + // 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"` + + // Search + Q *string `json:"q,omitempty"` + TypeCreate *bool `json:"type_create,omitempty"` + TypeDelete *bool `json:"type_delete,omitempty"` + TypeUpdate *bool `json:"type_update,omitempty"` +} + +// ExtrasWebhooksBulkPartialUpdateJSONBody defines parameters for ExtrasWebhooksBulkPartialUpdate. +type ExtrasWebhooksBulkPartialUpdateJSONBody PatchedWebhook + +// ExtrasWebhooksCreateJSONBody defines parameters for ExtrasWebhooksCreate. +type ExtrasWebhooksCreateJSONBody Webhook + +// ExtrasWebhooksBulkUpdateJSONBody defines parameters for ExtrasWebhooksBulkUpdate. +type ExtrasWebhooksBulkUpdateJSONBody Webhook + +// ExtrasWebhooksPartialUpdateJSONBody defines parameters for ExtrasWebhooksPartialUpdate. +type ExtrasWebhooksPartialUpdateJSONBody PatchedWebhook + +// ExtrasWebhooksUpdateJSONBody defines parameters for ExtrasWebhooksUpdate. +type ExtrasWebhooksUpdateJSONBody Webhook + +// GraphqlCreateJSONBody defines parameters for GraphqlCreate. +type GraphqlCreateJSONBody GraphQLAPI + +// 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"` + + // 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Prefix + Prefix *string `json:"prefix,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // RIR (slug) + Rir *[]string `json:"rir,omitempty"` + + // RIR (slug) + RirN *[]string `json:"rir__n,omitempty"` + + // RIR (ID) + RirId *[]openapi_types.UUID `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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` +} + +// IpamAggregatesBulkPartialUpdateJSONBody defines parameters for IpamAggregatesBulkPartialUpdate. +type IpamAggregatesBulkPartialUpdateJSONBody PatchedWritableAggregate + +// IpamAggregatesCreateJSONBody defines parameters for IpamAggregatesCreate. +type IpamAggregatesCreateJSONBody WritableAggregate + +// IpamAggregatesBulkUpdateJSONBody defines parameters for IpamAggregatesBulkUpdate. +type IpamAggregatesBulkUpdateJSONBody WritableAggregate + +// IpamAggregatesPartialUpdateJSONBody defines parameters for IpamAggregatesPartialUpdate. +type IpamAggregatesPartialUpdateJSONBody PatchedWritableAggregate + +// IpamAggregatesUpdateJSONBody defines parameters for IpamAggregatesUpdate. +type IpamAggregatesUpdateJSONBody WritableAggregate + +// IpamIpAddressesListParams defines parameters for IpamIpAddressesList. +type IpamIpAddressesListParams struct { + // Address + Address *[]string `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"` + + // Device (name) + Device *[]string `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"` + + // 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"` + + // Interface (name) + Interface *[]string `json:"interface,omitempty"` + + // Interface (name) + InterfaceN *[]string `json:"interface__n,omitempty"` + + // Interface (ID) + InterfaceId *[]openapi_types.UUID `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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Mask length + MaskLength *float32 `json:"mask_length,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Parent prefix + Parent *string `json:"parent,omitempty"` + + // VRF (RD) + PresentInVrf *string `json:"present_in_vrf,omitempty"` + + // VRF + PresentInVrfId *openapi_types.UUID `json:"present_in_vrf_id,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // The functional role of this IP + Role *[]string `json:"role,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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + + // Virtual machine (name) + VirtualMachine *[]string `json:"virtual_machine,omitempty"` + + // Virtual machine (ID) + VirtualMachineId *[]openapi_types.UUID `json:"virtual_machine_id,omitempty"` + + // VM interface (name) + Vminterface *[]string `json:"vminterface,omitempty"` + + // VM interface (name) + VminterfaceN *[]string `json:"vminterface__n,omitempty"` + + // VM interface (ID) + VminterfaceId *[]openapi_types.UUID `json:"vminterface_id,omitempty"` + + // VM interface (ID) + VminterfaceIdN *[]openapi_types.UUID `json:"vminterface_id__n,omitempty"` + + // VRF (RD) + Vrf *[]string `json:"vrf,omitempty"` + + // VRF (RD) + VrfN *[]string `json:"vrf__n,omitempty"` + + // VRF + VrfId *[]openapi_types.UUID `json:"vrf_id,omitempty"` + + // VRF + VrfIdN *[]openapi_types.UUID `json:"vrf_id__n,omitempty"` +} + +// IpamIpAddressesBulkPartialUpdateJSONBody defines parameters for IpamIpAddressesBulkPartialUpdate. +type IpamIpAddressesBulkPartialUpdateJSONBody PatchedWritableIPAddress + +// IpamIpAddressesCreateJSONBody defines parameters for IpamIpAddressesCreate. +type IpamIpAddressesCreateJSONBody WritableIPAddress + +// IpamIpAddressesBulkUpdateJSONBody defines parameters for IpamIpAddressesBulkUpdate. +type IpamIpAddressesBulkUpdateJSONBody WritableIPAddress + +// IpamIpAddressesPartialUpdateJSONBody defines parameters for IpamIpAddressesPartialUpdate. +type IpamIpAddressesPartialUpdateJSONBody PatchedWritableIPAddress + +// IpamIpAddressesUpdateJSONBody defines parameters for IpamIpAddressesUpdate. +type IpamIpAddressesUpdateJSONBody WritableIPAddress + +// 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"` + + // 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // mask_length + MaskLength *float32 `json:"mask_length,omitempty"` + + // mask_length__gte + MaskLengthGte *float32 `json:"mask_length__gte,omitempty"` + + // mask_length__lte + MaskLengthLte *float32 `json:"mask_length__lte,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Prefix + Prefix *string `json:"prefix,omitempty"` + + // VRF (RD) + PresentInVrf *string `json:"present_in_vrf,omitempty"` + + // VRF + PresentInVrfId *openapi_types.UUID `json:"present_in_vrf_id,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Role (slug) + Role *[]string `json:"role,omitempty"` + + // Role (slug) + RoleN *[]string `json:"role__n,omitempty"` + + // Role (ID) + RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + + // Role (ID) + RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + + // VLAN (ID) + VlanId *[]openapi_types.UUID `json:"vlan_id,omitempty"` + + // VLAN (ID) + VlanIdN *[]openapi_types.UUID `json:"vlan_id__n,omitempty"` + + // VLAN number (1-4095) + VlanVid *int `json:"vlan_vid,omitempty"` + + // VRF (RD) + Vrf *[]string `json:"vrf,omitempty"` + + // VRF (RD) + VrfN *[]string `json:"vrf__n,omitempty"` + + // VRF + VrfId *[]openapi_types.UUID `json:"vrf_id,omitempty"` + + // VRF + VrfIdN *[]openapi_types.UUID `json:"vrf_id__n,omitempty"` + + // Within prefix + Within *string `json:"within,omitempty"` + + // Within and including prefix + WithinInclude *string `json:"within_include,omitempty"` +} + +// IpamPrefixesBulkPartialUpdateJSONBody defines parameters for IpamPrefixesBulkPartialUpdate. +type IpamPrefixesBulkPartialUpdateJSONBody PatchedWritablePrefix + +// IpamPrefixesCreateJSONBody defines parameters for IpamPrefixesCreate. +type IpamPrefixesCreateJSONBody WritablePrefix + +// IpamPrefixesBulkUpdateJSONBody defines parameters for IpamPrefixesBulkUpdate. +type IpamPrefixesBulkUpdateJSONBody WritablePrefix + +// IpamPrefixesPartialUpdateJSONBody defines parameters for IpamPrefixesPartialUpdate. +type IpamPrefixesPartialUpdateJSONBody PatchedWritablePrefix + +// IpamPrefixesUpdateJSONBody defines parameters for IpamPrefixesUpdate. +type IpamPrefixesUpdateJSONBody WritablePrefix + +// IpamPrefixesAvailableIpsListParams defines parameters for IpamPrefixesAvailableIpsList. +type IpamPrefixesAvailableIpsListParams struct { + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` +} + +// IpamPrefixesAvailablePrefixesListParams defines parameters for IpamPrefixesAvailablePrefixesList. +type IpamPrefixesAvailablePrefixesListParams struct { + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` +} + +// IpamPrefixesAvailablePrefixesCreateJSONBody defines parameters for IpamPrefixesAvailablePrefixesCreate. +type IpamPrefixesAvailablePrefixesCreateJSONBody PrefixLength + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// IpamRirsBulkPartialUpdateJSONBody defines parameters for IpamRirsBulkPartialUpdate. +type IpamRirsBulkPartialUpdateJSONBody PatchedRIR + +// IpamRirsCreateJSONBody defines parameters for IpamRirsCreate. +type IpamRirsCreateJSONBody RIR + +// IpamRirsBulkUpdateJSONBody defines parameters for IpamRirsBulkUpdate. +type IpamRirsBulkUpdateJSONBody RIR + +// IpamRirsPartialUpdateJSONBody defines parameters for IpamRirsPartialUpdate. +type IpamRirsPartialUpdateJSONBody PatchedRIR + +// IpamRirsUpdateJSONBody defines parameters for IpamRirsUpdate. +type IpamRirsUpdateJSONBody RIR + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// IpamRolesBulkPartialUpdateJSONBody defines parameters for IpamRolesBulkPartialUpdate. +type IpamRolesBulkPartialUpdateJSONBody PatchedRole + +// IpamRolesCreateJSONBody defines parameters for IpamRolesCreate. +type IpamRolesCreateJSONBody Role + +// IpamRolesBulkUpdateJSONBody defines parameters for IpamRolesBulkUpdate. +type IpamRolesBulkUpdateJSONBody Role + +// IpamRolesPartialUpdateJSONBody defines parameters for IpamRolesPartialUpdate. +type IpamRolesPartialUpdateJSONBody PatchedRole + +// IpamRolesUpdateJSONBody defines parameters for IpamRolesUpdate. +type IpamRolesUpdateJSONBody Role + +// 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"` + + // Export VRF (RD) + ExportingVrf *[]string `json:"exporting_vrf,omitempty"` + + // Export VRF (RD) + ExportingVrfN *[]string `json:"exporting_vrf__n,omitempty"` + + // Exporting VRF + ExportingVrfId *[]openapi_types.UUID `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"` + + // Import VRF (RD) + ImportingVrf *[]string `json:"importing_vrf,omitempty"` + + // Import VRF (RD) + ImportingVrfN *[]string `json:"importing_vrf__n,omitempty"` + + // Importing VRF + ImportingVrfId *[]openapi_types.UUID `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` +} + +// IpamRouteTargetsBulkPartialUpdateJSONBody defines parameters for IpamRouteTargetsBulkPartialUpdate. +type IpamRouteTargetsBulkPartialUpdateJSONBody PatchedWritableRouteTarget + +// IpamRouteTargetsCreateJSONBody defines parameters for IpamRouteTargetsCreate. +type IpamRouteTargetsCreateJSONBody WritableRouteTarget + +// IpamRouteTargetsBulkUpdateJSONBody defines parameters for IpamRouteTargetsBulkUpdate. +type IpamRouteTargetsBulkUpdateJSONBody WritableRouteTarget + +// IpamRouteTargetsPartialUpdateJSONBody defines parameters for IpamRouteTargetsPartialUpdate. +type IpamRouteTargetsPartialUpdateJSONBody PatchedWritableRouteTarget + +// IpamRouteTargetsUpdateJSONBody defines parameters for IpamRouteTargetsUpdate. +type IpamRouteTargetsUpdateJSONBody WritableRouteTarget + +// 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"` + + // Device (name) + Device *[]string `json:"device,omitempty"` + + // Device (name) + DeviceN *[]string `json:"device__n,omitempty"` + + // Device (ID) + DeviceId *[]openapi_types.UUID `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"` + + // 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"` + + // 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"` + + // Search + Q *string `json:"q,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Virtual machine (name) + VirtualMachine *[]string `json:"virtual_machine,omitempty"` + + // Virtual machine (name) + VirtualMachineN *[]string `json:"virtual_machine__n,omitempty"` + + // Virtual machine (ID) + VirtualMachineId *[]openapi_types.UUID `json:"virtual_machine_id,omitempty"` + + // Virtual machine (ID) + VirtualMachineIdN *[]openapi_types.UUID `json:"virtual_machine_id__n,omitempty"` +} + +// IpamServicesBulkPartialUpdateJSONBody defines parameters for IpamServicesBulkPartialUpdate. +type IpamServicesBulkPartialUpdateJSONBody PatchedWritableService + +// IpamServicesCreateJSONBody defines parameters for IpamServicesCreate. +type IpamServicesCreateJSONBody WritableService + +// IpamServicesBulkUpdateJSONBody defines parameters for IpamServicesBulkUpdate. +type IpamServicesBulkUpdateJSONBody WritableService + +// IpamServicesPartialUpdateJSONBody defines parameters for IpamServicesPartialUpdate. +type IpamServicesPartialUpdateJSONBody PatchedWritableService + +// IpamServicesUpdateJSONBody defines parameters for IpamServicesUpdate. +type IpamServicesUpdateJSONBody WritableService + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,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"` +} + +// IpamVlanGroupsBulkPartialUpdateJSONBody defines parameters for IpamVlanGroupsBulkPartialUpdate. +type IpamVlanGroupsBulkPartialUpdateJSONBody PatchedWritableVLANGroup + +// IpamVlanGroupsCreateJSONBody defines parameters for IpamVlanGroupsCreate. +type IpamVlanGroupsCreateJSONBody WritableVLANGroup + +// IpamVlanGroupsBulkUpdateJSONBody defines parameters for IpamVlanGroupsBulkUpdate. +type IpamVlanGroupsBulkUpdateJSONBody WritableVLANGroup + +// IpamVlanGroupsPartialUpdateJSONBody defines parameters for IpamVlanGroupsPartialUpdate. +type IpamVlanGroupsPartialUpdateJSONBody PatchedWritableVLANGroup + +// IpamVlanGroupsUpdateJSONBody defines parameters for IpamVlanGroupsUpdate. +type IpamVlanGroupsUpdateJSONBody WritableVLANGroup + +// 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"` + + // Group + Group *[]string `json:"group,omitempty"` + + // Group + GroupN *[]string `json:"group__n,omitempty"` + + // Group (ID) + GroupId *[]openapi_types.UUID `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Role (slug) + Role *[]string `json:"role,omitempty"` + + // Role (slug) + RoleN *[]string `json:"role__n,omitempty"` + + // Role (ID) + RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + + // Role (ID) + RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_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"` +} + +// IpamVlansBulkPartialUpdateJSONBody defines parameters for IpamVlansBulkPartialUpdate. +type IpamVlansBulkPartialUpdateJSONBody PatchedWritableVLAN + +// IpamVlansCreateJSONBody defines parameters for IpamVlansCreate. +type IpamVlansCreateJSONBody WritableVLAN + +// IpamVlansBulkUpdateJSONBody defines parameters for IpamVlansBulkUpdate. +type IpamVlansBulkUpdateJSONBody WritableVLAN + +// IpamVlansPartialUpdateJSONBody defines parameters for IpamVlansPartialUpdate. +type IpamVlansPartialUpdateJSONBody PatchedWritableVLAN + +// IpamVlansUpdateJSONBody defines parameters for IpamVlansUpdate. +type IpamVlansUpdateJSONBody WritableVLAN + +// 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"` + + // Export target (name) + ExportTarget *[]string `json:"export_target,omitempty"` + + // Export target (name) + ExportTargetN *[]string `json:"export_target__n,omitempty"` + + // Export target + ExportTargetId *[]openapi_types.UUID `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"` + + // Import target (name) + ImportTarget *[]string `json:"import_target,omitempty"` + + // Import target (name) + ImportTargetN *[]string `json:"import_target__n,omitempty"` + + // Import target + ImportTargetId *[]openapi_types.UUID `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` +} + +// IpamVrfsBulkPartialUpdateJSONBody defines parameters for IpamVrfsBulkPartialUpdate. +type IpamVrfsBulkPartialUpdateJSONBody PatchedWritableVRF + +// IpamVrfsCreateJSONBody defines parameters for IpamVrfsCreate. +type IpamVrfsCreateJSONBody WritableVRF + +// IpamVrfsBulkUpdateJSONBody defines parameters for IpamVrfsBulkUpdate. +type IpamVrfsBulkUpdateJSONBody WritableVRF + +// IpamVrfsPartialUpdateJSONBody defines parameters for IpamVrfsPartialUpdate. +type IpamVrfsPartialUpdateJSONBody PatchedWritableVRF + +// IpamVrfsUpdateJSONBody defines parameters for IpamVrfsUpdate. +type IpamVrfsUpdateJSONBody WritableVRF + +// 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"` + + // Number of results to return per page. + Limit *int `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"` +} + +// PluginsChatopsAccessgrantBulkPartialUpdateJSONBody defines parameters for PluginsChatopsAccessgrantBulkPartialUpdate. +type PluginsChatopsAccessgrantBulkPartialUpdateJSONBody PatchedAccessGrant + +// PluginsChatopsAccessgrantCreateJSONBody defines parameters for PluginsChatopsAccessgrantCreate. +type PluginsChatopsAccessgrantCreateJSONBody AccessGrant + +// PluginsChatopsAccessgrantBulkUpdateJSONBody defines parameters for PluginsChatopsAccessgrantBulkUpdate. +type PluginsChatopsAccessgrantBulkUpdateJSONBody AccessGrant + +// PluginsChatopsAccessgrantPartialUpdateJSONBody defines parameters for PluginsChatopsAccessgrantPartialUpdate. +type PluginsChatopsAccessgrantPartialUpdateJSONBody PatchedAccessGrant + +// PluginsChatopsAccessgrantUpdateJSONBody defines parameters for PluginsChatopsAccessgrantUpdate. +type PluginsChatopsAccessgrantUpdateJSONBody AccessGrant + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + Platform *string `json:"platform,omitempty"` +} + +// PluginsChatopsCommandtokenBulkPartialUpdateJSONBody defines parameters for PluginsChatopsCommandtokenBulkPartialUpdate. +type PluginsChatopsCommandtokenBulkPartialUpdateJSONBody PatchedCommandToken + +// PluginsChatopsCommandtokenCreateJSONBody defines parameters for PluginsChatopsCommandtokenCreate. +type PluginsChatopsCommandtokenCreateJSONBody CommandToken + +// PluginsChatopsCommandtokenBulkUpdateJSONBody defines parameters for PluginsChatopsCommandtokenBulkUpdate. +type PluginsChatopsCommandtokenBulkUpdateJSONBody CommandToken + +// PluginsChatopsCommandtokenPartialUpdateJSONBody defines parameters for PluginsChatopsCommandtokenPartialUpdate. +type PluginsChatopsCommandtokenPartialUpdateJSONBody PatchedCommandToken + +// PluginsChatopsCommandtokenUpdateJSONBody defines parameters for PluginsChatopsCommandtokenUpdate. +type PluginsChatopsCommandtokenUpdateJSONBody CommandToken + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` +} + +// PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate. +type PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONBody PatchedCircuitMaintenanceCircuitImpact + +// PluginsCircuitMaintenanceCircuitimpactCreateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactCreate. +type PluginsCircuitMaintenanceCircuitimpactCreateJSONBody CircuitMaintenanceCircuitImpact + +// PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactBulkUpdate. +type PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONBody CircuitMaintenanceCircuitImpact + +// PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactPartialUpdate. +type PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONBody PatchedCircuitMaintenanceCircuitImpact + +// PluginsCircuitMaintenanceCircuitimpactUpdateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactUpdate. +type PluginsCircuitMaintenanceCircuitimpactUpdateJSONBody CircuitMaintenanceCircuitImpact + +// PluginsCircuitMaintenanceMaintenanceListParams defines parameters for PluginsCircuitMaintenanceMaintenanceList. +type PluginsCircuitMaintenanceMaintenanceListParams struct { + Ack *bool `json:"ack,omitempty"` + + // Circuit + Circuit *[]string `json:"circuit,omitempty"` + EndTime *time.Time `json:"end_time,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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Provider (slug) + Provider *[]string `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"` +} + +// PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate. +type PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONBody PatchedCircuitMaintenance + +// PluginsCircuitMaintenanceMaintenanceCreateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenanceCreate. +type PluginsCircuitMaintenanceMaintenanceCreateJSONBody CircuitMaintenance + +// PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenanceBulkUpdate. +type PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONBody CircuitMaintenance + +// PluginsCircuitMaintenanceMaintenancePartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenancePartialUpdate. +type PluginsCircuitMaintenanceMaintenancePartialUpdateJSONBody PatchedCircuitMaintenance + +// PluginsCircuitMaintenanceMaintenanceUpdateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenanceUpdate. +type PluginsCircuitMaintenanceMaintenanceUpdateJSONBody CircuitMaintenance + +// PluginsCircuitMaintenanceNoteListParams defines parameters for PluginsCircuitMaintenanceNoteList. +type PluginsCircuitMaintenanceNoteListParams struct { + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` +} + +// PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceNoteBulkPartialUpdate. +type PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONBody PatchedNote + +// PluginsCircuitMaintenanceNoteCreateJSONBody defines parameters for PluginsCircuitMaintenanceNoteCreate. +type PluginsCircuitMaintenanceNoteCreateJSONBody Note + +// PluginsCircuitMaintenanceNoteBulkUpdateJSONBody defines parameters for PluginsCircuitMaintenanceNoteBulkUpdate. +type PluginsCircuitMaintenanceNoteBulkUpdateJSONBody Note + +// PluginsCircuitMaintenanceNotePartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceNotePartialUpdate. +type PluginsCircuitMaintenanceNotePartialUpdateJSONBody PatchedNote + +// PluginsCircuitMaintenanceNoteUpdateJSONBody defines parameters for PluginsCircuitMaintenanceNoteUpdate. +type PluginsCircuitMaintenanceNoteUpdateJSONBody Note + +// PluginsCircuitMaintenanceNotificationsourceListParams defines parameters for PluginsCircuitMaintenanceNotificationsourceList. +type PluginsCircuitMaintenanceNotificationsourceListParams struct { + AttachAllProviders *bool `json:"attach_all_providers,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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate. +type PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONBody PatchedMinMaxValidationRule + +// PluginsDataValidationEngineRulesMinMaxCreateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxCreate. +type PluginsDataValidationEngineRulesMinMaxCreateJSONBody MinMaxValidationRule + +// PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxBulkUpdate. +type PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONBody MinMaxValidationRule + +// PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxPartialUpdate. +type PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONBody PatchedMinMaxValidationRule + +// PluginsDataValidationEngineRulesMinMaxUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxUpdate. +type PluginsDataValidationEngineRulesMinMaxUpdateJSONBody MinMaxValidationRule + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexBulkPartialUpdate. +type PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONBody PatchedRegularExpressionValidationRule + +// PluginsDataValidationEngineRulesRegexCreateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexCreate. +type PluginsDataValidationEngineRulesRegexCreateJSONBody RegularExpressionValidationRule + +// PluginsDataValidationEngineRulesRegexBulkUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexBulkUpdate. +type PluginsDataValidationEngineRulesRegexBulkUpdateJSONBody RegularExpressionValidationRule + +// PluginsDataValidationEngineRulesRegexPartialUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexPartialUpdate. +type PluginsDataValidationEngineRulesRegexPartialUpdateJSONBody PatchedRegularExpressionValidationRule + +// PluginsDataValidationEngineRulesRegexUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexUpdate. +type PluginsDataValidationEngineRulesRegexUpdateJSONBody RegularExpressionValidationRule + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Platform (slug) + Platform *[]string `json:"platform,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Device Role (slug) + Role *[]string `json:"role,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Overall status of the task + Status *string `json:"status,omitempty"` +} + +// PluginsDeviceOnboardingOnboardingCreateJSONBody defines parameters for PluginsDeviceOnboardingOnboardingCreate. +type PluginsDeviceOnboardingOnboardingCreateJSONBody OnboardingTask + +// PluginsGoldenConfigComplianceFeatureListParams defines parameters for PluginsGoldenConfigComplianceFeatureList. +type PluginsGoldenConfigComplianceFeatureListParams struct { + Id *openapi_types.UUID `json:"id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + Name *string `json:"name,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` +} + +// PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceFeatureBulkPartialUpdate. +type PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONBody PatchedComplianceFeature + +// PluginsGoldenConfigComplianceFeatureCreateJSONBody defines parameters for PluginsGoldenConfigComplianceFeatureCreate. +type PluginsGoldenConfigComplianceFeatureCreateJSONBody ComplianceFeature + +// PluginsGoldenConfigComplianceFeatureBulkUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceFeatureBulkUpdate. +type PluginsGoldenConfigComplianceFeatureBulkUpdateJSONBody ComplianceFeature + +// PluginsGoldenConfigComplianceFeaturePartialUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceFeaturePartialUpdate. +type PluginsGoldenConfigComplianceFeaturePartialUpdateJSONBody PatchedComplianceFeature + +// PluginsGoldenConfigComplianceFeatureUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceFeatureUpdate. +type PluginsGoldenConfigComplianceFeatureUpdateJSONBody ComplianceFeature + +// PluginsGoldenConfigComplianceRuleListParams defines parameters for PluginsGoldenConfigComplianceRuleList. +type PluginsGoldenConfigComplianceRuleListParams struct { + Feature *openapi_types.UUID `json:"feature,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Platform (slug) + Platform *[]string `json:"platform,omitempty"` + + // Platform (ID) + PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + + // Search + Q *string `json:"q,omitempty"` +} + +// PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceRuleBulkPartialUpdate. +type PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONBody PatchedComplianceRule + +// PluginsGoldenConfigComplianceRuleCreateJSONBody defines parameters for PluginsGoldenConfigComplianceRuleCreate. +type PluginsGoldenConfigComplianceRuleCreateJSONBody ComplianceRule + +// PluginsGoldenConfigComplianceRuleBulkUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceRuleBulkUpdate. +type PluginsGoldenConfigComplianceRuleBulkUpdateJSONBody ComplianceRule + +// PluginsGoldenConfigComplianceRulePartialUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceRulePartialUpdate. +type PluginsGoldenConfigComplianceRulePartialUpdateJSONBody PatchedComplianceRule + +// PluginsGoldenConfigComplianceRuleUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceRuleUpdate. +type PluginsGoldenConfigComplianceRuleUpdateJSONBody ComplianceRule + +// PluginsGoldenConfigConfigComplianceListParams defines parameters for PluginsGoldenConfigConfigComplianceList. +type PluginsGoldenConfigConfigComplianceListParams struct { + // Device Name + Device *[]string `json:"device,omitempty"` + + // Device ID + DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + + // Device Status + DeviceStatus *[]openapi_types.UUID `json:"device_status,omitempty"` + + // Device Status + DeviceStatusId *[]openapi_types.UUID `json:"device_status_id,omitempty"` + + // DeviceType (slug) + DeviceType *[]string `json:"device_type,omitempty"` + + // Device type (ID) + DeviceTypeId *[]openapi_types.UUID `json:"device_type_id,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Manufacturer (slug) + Manufacturer *[]string `json:"manufacturer,omitempty"` + + // Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Platform (slug) + Platform *[]string `json:"platform,omitempty"` + + // Platform (ID) + PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Rack (name) + Rack *[]string `json:"rack,omitempty"` + + // Rack group (slug) + RackGroup *[]string `json:"rack_group,omitempty"` + + // Rack group (ID) + RackGroupId *[]openapi_types.UUID `json:"rack_group_id,omitempty"` + + // Rack (ID) + RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Role (slug) + Role *[]string `json:"role,omitempty"` + + // Role (ID) + RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` +} + +// PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigComplianceBulkPartialUpdate. +type PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONBody PatchedConfigCompliance + +// PluginsGoldenConfigConfigComplianceCreateJSONBody defines parameters for PluginsGoldenConfigConfigComplianceCreate. +type PluginsGoldenConfigConfigComplianceCreateJSONBody ConfigCompliance + +// PluginsGoldenConfigConfigComplianceBulkUpdateJSONBody defines parameters for PluginsGoldenConfigConfigComplianceBulkUpdate. +type PluginsGoldenConfigConfigComplianceBulkUpdateJSONBody ConfigCompliance + +// PluginsGoldenConfigConfigCompliancePartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigCompliancePartialUpdate. +type PluginsGoldenConfigConfigCompliancePartialUpdateJSONBody PatchedConfigCompliance + +// PluginsGoldenConfigConfigComplianceUpdateJSONBody defines parameters for PluginsGoldenConfigConfigComplianceUpdate. +type PluginsGoldenConfigConfigComplianceUpdateJSONBody ConfigCompliance + +// PluginsGoldenConfigConfigRemoveListParams defines parameters for PluginsGoldenConfigConfigRemoveList. +type PluginsGoldenConfigConfigRemoveListParams struct { + Id *openapi_types.UUID `json:"id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + Name *string `json:"name,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Platform (slug) + Platform *[]string `json:"platform,omitempty"` + + // Platform (ID) + PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + + // Search + Q *string `json:"q,omitempty"` +} + +// PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigRemoveBulkPartialUpdate. +type PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONBody PatchedConfigRemove + +// PluginsGoldenConfigConfigRemoveCreateJSONBody defines parameters for PluginsGoldenConfigConfigRemoveCreate. +type PluginsGoldenConfigConfigRemoveCreateJSONBody ConfigRemove + +// PluginsGoldenConfigConfigRemoveBulkUpdateJSONBody defines parameters for PluginsGoldenConfigConfigRemoveBulkUpdate. +type PluginsGoldenConfigConfigRemoveBulkUpdateJSONBody ConfigRemove + +// PluginsGoldenConfigConfigRemovePartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigRemovePartialUpdate. +type PluginsGoldenConfigConfigRemovePartialUpdateJSONBody PatchedConfigRemove + +// PluginsGoldenConfigConfigRemoveUpdateJSONBody defines parameters for PluginsGoldenConfigConfigRemoveUpdate. +type PluginsGoldenConfigConfigRemoveUpdateJSONBody ConfigRemove + +// PluginsGoldenConfigConfigReplaceListParams defines parameters for PluginsGoldenConfigConfigReplaceList. +type PluginsGoldenConfigConfigReplaceListParams struct { + Id *openapi_types.UUID `json:"id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + Name *string `json:"name,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Platform (slug) + Platform *[]string `json:"platform,omitempty"` + + // Platform (ID) + PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + + // Search + Q *string `json:"q,omitempty"` +} + +// PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigReplaceBulkPartialUpdate. +type PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONBody PatchedConfigReplace + +// PluginsGoldenConfigConfigReplaceCreateJSONBody defines parameters for PluginsGoldenConfigConfigReplaceCreate. +type PluginsGoldenConfigConfigReplaceCreateJSONBody ConfigReplace + +// PluginsGoldenConfigConfigReplaceBulkUpdateJSONBody defines parameters for PluginsGoldenConfigConfigReplaceBulkUpdate. +type PluginsGoldenConfigConfigReplaceBulkUpdateJSONBody ConfigReplace + +// PluginsGoldenConfigConfigReplacePartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigReplacePartialUpdate. +type PluginsGoldenConfigConfigReplacePartialUpdateJSONBody PatchedConfigReplace + +// PluginsGoldenConfigConfigReplaceUpdateJSONBody defines parameters for PluginsGoldenConfigConfigReplaceUpdate. +type PluginsGoldenConfigConfigReplaceUpdateJSONBody ConfigReplace + +// PluginsGoldenConfigGoldenConfigSettingsListParams defines parameters for PluginsGoldenConfigGoldenConfigSettingsList. +type PluginsGoldenConfigGoldenConfigSettingsListParams struct { + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` +} + +// PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate. +type PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONBody PatchedGoldenConfigSetting + +// PluginsGoldenConfigGoldenConfigSettingsCreateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsCreate. +type PluginsGoldenConfigGoldenConfigSettingsCreateJSONBody GoldenConfigSetting + +// PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsBulkUpdate. +type PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONBody GoldenConfigSetting + +// PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsPartialUpdate. +type PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONBody PatchedGoldenConfigSetting + +// PluginsGoldenConfigGoldenConfigSettingsUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsUpdate. +type PluginsGoldenConfigGoldenConfigSettingsUpdateJSONBody GoldenConfigSetting + +// PluginsGoldenConfigGoldenConfigListParams defines parameters for PluginsGoldenConfigGoldenConfigList. +type PluginsGoldenConfigGoldenConfigListParams struct { + // Device Name + Device *[]string `json:"device,omitempty"` + + // Device ID + DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + + // Device Status + DeviceStatus *[]openapi_types.UUID `json:"device_status,omitempty"` + + // Device Status + DeviceStatusId *[]openapi_types.UUID `json:"device_status_id,omitempty"` + + // DeviceType (slug) + DeviceType *[]string `json:"device_type,omitempty"` + + // Device type (ID) + DeviceTypeId *[]openapi_types.UUID `json:"device_type_id,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Manufacturer (slug) + Manufacturer *[]string `json:"manufacturer,omitempty"` + + // Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Platform (slug) + Platform *[]string `json:"platform,omitempty"` + + // Platform (ID) + PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Rack (name) + Rack *[]string `json:"rack,omitempty"` + + // Rack group (slug) + RackGroup *[]string `json:"rack_group,omitempty"` + + // Rack group (ID) + RackGroupId *[]openapi_types.UUID `json:"rack_group_id,omitempty"` + + // Rack (ID) + RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Role (slug) + Role *[]string `json:"role,omitempty"` + + // Role (ID) + RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + + // Site name (slug) + Site *[]string `json:"site,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` +} + +// PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigBulkPartialUpdate. +type PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONBody PatchedGoldenConfig + +// PluginsGoldenConfigGoldenConfigCreateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigCreate. +type PluginsGoldenConfigGoldenConfigCreateJSONBody GoldenConfig + +// PluginsGoldenConfigGoldenConfigBulkUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigBulkUpdate. +type PluginsGoldenConfigGoldenConfigBulkUpdateJSONBody GoldenConfig + +// PluginsGoldenConfigGoldenConfigPartialUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigPartialUpdate. +type PluginsGoldenConfigGoldenConfigPartialUpdateJSONBody PatchedGoldenConfig + +// PluginsGoldenConfigGoldenConfigUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigUpdate. +type PluginsGoldenConfigGoldenConfigUpdateJSONBody GoldenConfig + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + Name *string `json:"name,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"` + + // Search + Q *string `json:"q,omitempty"` + Type *string `json:"type,omitempty"` +} + +// PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONBody PatchedWritableContactLCM + +// PluginsNautobotDeviceLifecycleMgmtContactCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactCreate. +type PluginsNautobotDeviceLifecycleMgmtContactCreateJSONBody WritableContactLCM + +// PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate. +type PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONBody WritableContactLCM + +// PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONBody PatchedWritableContactLCM + +// PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactUpdate. +type PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONBody WritableContactLCM + +// 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"` + + // Expired + Expired *bool `json:"expired,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + Name *string `json:"name,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Provider + Provider *[]string `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"` +} + +// PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONBody PatchedWritableContractLCM + +// PluginsNautobotDeviceLifecycleMgmtContractCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractCreate. +type PluginsNautobotDeviceLifecycleMgmtContractCreateJSONBody WritableContractLCM + +// PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate. +type PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONBody WritableContractLCM + +// PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONBody PatchedWritableContractLCM + +// PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractUpdate. +type PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONBody WritableContractLCM + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + Link *string `json:"link,omitempty"` + Name *string `json:"name,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"` + + // Search + Q *string `json:"q,omitempty"` + Severity *string `json:"severity,omitempty"` + Status *[]openapi_types.UUID `json:"status,omitempty"` + Tag *[]string `json:"tag,omitempty"` +} + +// PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONBody PatchedCVELCM + +// PluginsNautobotDeviceLifecycleMgmtCveCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCveCreate. +type PluginsNautobotDeviceLifecycleMgmtCveCreateJSONBody CVELCM + +// PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate. +type PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONBody CVELCM + +// PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONBody PatchedCVELCM + +// PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCveUpdate. +type PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONBody CVELCM + +// PluginsNautobotDeviceLifecycleMgmtHardwareListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareList. +type PluginsNautobotDeviceLifecycleMgmtHardwareListParams struct { + // Device Type (Slug) + DeviceType *[]string `json:"device_type,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"` + + // Expired + Expired *bool `json:"expired,omitempty"` + + // Inventory Part ID + InventoryItem *[]string `json:"inventory_item,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` +} + +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONBody PatchedWritableHardwareLCM + +// PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareCreate. +type PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONBody WritableHardwareLCM + +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate. +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONBody WritableHardwareLCM + +// PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONBody PatchedWritableHardwareLCM + +// PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareUpdate. +type PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONBody WritableHardwareLCM + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + Name *string `json:"name,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"` + + // Search + Q *string `json:"q,omitempty"` +} + +// PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONBody PatchedProviderLCM + +// PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderCreate. +type PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONBody ProviderLCM + +// PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate. +type PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONBody ProviderLCM + +// PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONBody PatchedProviderLCM + +// PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderUpdate. +type PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONBody ProviderLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageList. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams struct { + DefaultImage *bool `json:"default_image,omitempty"` + + // Device ID + DeviceId *string `json:"device_id,omitempty"` + + // Device Name + DeviceName *string `json:"device_name,omitempty"` + + // Device Types (model) + DeviceTypes *[]string `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"` + + // InventoryItem ID + InventoryItemId *string `json:"inventory_item_id,omitempty"` + + // Inventory Items (name) + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + + // Inventory Items + InventoryItemsId *[]openapi_types.UUID `json:"inventory_items_id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Object Tags (slug) + ObjectTags *[]string `json:"object_tags,omitempty"` + + // Object Tags + ObjectTagsId *[]openapi_types.UUID `json:"object_tags_id,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Software + Software *[]openapi_types.UUID `json:"software,omitempty"` + + // Software (version) + SoftwareVersion *[]string `json:"software_version,omitempty"` +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONBody PatchedWritableSoftwareImageLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONBody WritableSoftwareImageLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONBody WritableSoftwareImageLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONBody PatchedWritableSoftwareImageLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONBody WritableSoftwareImageLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwareListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareList. +type PluginsNautobotDeviceLifecycleMgmtSoftwareListParams struct { + Alias *string `json:"alias,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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + LongTermSupport *bool `json:"long_term_support,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + PreRelease *bool `json:"pre_release,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"` +} + +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONBody PatchedWritableSoftwareLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareCreate. +type PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONBody WritableSoftwareLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate. +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONBody WritableSoftwareLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONBody PatchedWritableSoftwareLCM + +// PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate. +type PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONBody WritableSoftwareLCM + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams struct { + // Device ID + DeviceId *string `json:"device_id,omitempty"` + + // Device Name + DeviceName *string `json:"device_name,omitempty"` + + // Device Roles (slug) + DeviceRoles *[]string `json:"device_roles,omitempty"` + + // Device Roles + DeviceRolesId *[]openapi_types.UUID `json:"device_roles_id,omitempty"` + + // Device Types (model) + DeviceTypes *[]string `json:"device_types,omitempty"` + + // Device Types + DeviceTypesId *[]openapi_types.UUID `json:"device_types_id,omitempty"` + + // Devices (name) + Devices *[]string `json:"devices,omitempty"` + + // Devices + DevicesId *[]openapi_types.UUID `json:"devices_id,omitempty"` + EndAfter *time.Time `json:"end_after,omitempty"` + EndBefore *time.Time `json:"end_before,omitempty"` + + // InventoryItem ID + InventoryItemId *string `json:"inventory_item_id,omitempty"` + + // Inventory Items (name) + InventoryItems *[]string `json:"inventory_items,omitempty"` + + // Inventory Items + InventoryItemsId *[]openapi_types.UUID `json:"inventory_items_id,omitempty"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Object Tags (slug) + ObjectTags *[]string `json:"object_tags,omitempty"` + + // Object Tags + ObjectTagsId *[]openapi_types.UUID `json:"object_tags_id,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + Preferred *bool `json:"preferred,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Software + Software *[]openapi_types.UUID `json:"software,omitempty"` + StartAfter *time.Time `json:"start_after,omitempty"` + StartBefore *time.Time `json:"start_before,omitempty"` + + // Currently valid + Valid *bool `json:"valid,omitempty"` +} + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONBody PatchedWritableValidatedSoftwareLCM + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONBody WritableValidatedSoftwareLCM + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONBody WritableValidatedSoftwareLCM + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONBody PatchedWritableValidatedSoftwareLCM + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONBody WritableValidatedSoftwareLCM + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONBody PatchedVulnerabilityLCM + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONBody VulnerabilityLCM + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONBody PatchedVulnerabilityLCM + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONBody VulnerabilityLCM + +// SwaggerJsonRetrieveParams defines parameters for SwaggerJsonRetrieve. +type SwaggerJsonRetrieveParams struct { + Lang *SwaggerJsonRetrieveParamsLang `json:"lang,omitempty"` +} + +// SwaggerJsonRetrieveParamsLang defines parameters for SwaggerJsonRetrieve. +type SwaggerJsonRetrieveParamsLang string + +// SwaggerYamlRetrieveParams defines parameters for SwaggerYamlRetrieve. +type SwaggerYamlRetrieveParams struct { + Lang *SwaggerYamlRetrieveParamsLang `json:"lang,omitempty"` +} + +// SwaggerYamlRetrieveParamsLang defines parameters for SwaggerYamlRetrieve. +type SwaggerYamlRetrieveParamsLang string + +// SwaggerRetrieveParams defines parameters for SwaggerRetrieve. +type SwaggerRetrieveParams struct { + Format *SwaggerRetrieveParamsFormat `json:"format,omitempty"` + Lang *SwaggerRetrieveParamsLang `json:"lang,omitempty"` +} + +// SwaggerRetrieveParamsFormat defines parameters for SwaggerRetrieve. +type SwaggerRetrieveParamsFormat string + +// SwaggerRetrieveParamsLang defines parameters for SwaggerRetrieve. +type SwaggerRetrieveParamsLang string + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Tenant group group (slug) + Parent *[]string `json:"parent,omitempty"` + + // Tenant group group (slug) + ParentN *[]string `json:"parent__n,omitempty"` + + // Tenant group (ID) + ParentId *[]openapi_types.UUID `json:"parent_id,omitempty"` + + // Tenant group (ID) + ParentIdN *[]openapi_types.UUID `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"` +} + +// TenancyTenantGroupsBulkPartialUpdateJSONBody defines parameters for TenancyTenantGroupsBulkPartialUpdate. +type TenancyTenantGroupsBulkPartialUpdateJSONBody PatchedWritableTenantGroup + +// TenancyTenantGroupsCreateJSONBody defines parameters for TenancyTenantGroupsCreate. +type TenancyTenantGroupsCreateJSONBody WritableTenantGroup + +// TenancyTenantGroupsBulkUpdateJSONBody defines parameters for TenancyTenantGroupsBulkUpdate. +type TenancyTenantGroupsBulkUpdateJSONBody WritableTenantGroup + +// TenancyTenantGroupsPartialUpdateJSONBody defines parameters for TenancyTenantGroupsPartialUpdate. +type TenancyTenantGroupsPartialUpdateJSONBody PatchedWritableTenantGroup + +// TenancyTenantGroupsUpdateJSONBody defines parameters for TenancyTenantGroupsUpdate. +type TenancyTenantGroupsUpdateJSONBody WritableTenantGroup + +// 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"` + + // Tenant group (slug) + Group *[]openapi_types.UUID `json:"group,omitempty"` + + // Tenant group (slug) + GroupN *[]openapi_types.UUID `json:"group__n,omitempty"` + + // Tenant group (ID) + GroupId *[]openapi_types.UUID `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` +} + +// TenancyTenantsBulkPartialUpdateJSONBody defines parameters for TenancyTenantsBulkPartialUpdate. +type TenancyTenantsBulkPartialUpdateJSONBody PatchedWritableTenant + +// TenancyTenantsCreateJSONBody defines parameters for TenancyTenantsCreate. +type TenancyTenantsCreateJSONBody WritableTenant + +// TenancyTenantsBulkUpdateJSONBody defines parameters for TenancyTenantsBulkUpdate. +type TenancyTenantsBulkUpdateJSONBody WritableTenant + +// TenancyTenantsPartialUpdateJSONBody defines parameters for TenancyTenantsPartialUpdate. +type TenancyTenantsPartialUpdateJSONBody PatchedWritableTenant + +// TenancyTenantsUpdateJSONBody defines parameters for TenancyTenantsUpdate. +type TenancyTenantsUpdateJSONBody WritableTenant + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` +} + +// UsersGroupsBulkPartialUpdateJSONBody defines parameters for UsersGroupsBulkPartialUpdate. +type UsersGroupsBulkPartialUpdateJSONBody PatchedGroup + +// UsersGroupsCreateJSONBody defines parameters for UsersGroupsCreate. +type UsersGroupsCreateJSONBody Group + +// UsersGroupsBulkUpdateJSONBody defines parameters for UsersGroupsBulkUpdate. +type UsersGroupsBulkUpdateJSONBody Group + +// UsersGroupsPartialUpdateJSONBody defines parameters for UsersGroupsPartialUpdate. +type UsersGroupsPartialUpdateJSONBody PatchedGroup + +// UsersGroupsUpdateJSONBody defines parameters for UsersGroupsUpdate. +type UsersGroupsUpdateJSONBody Group + +// UsersPermissionsListParams defines parameters for UsersPermissionsList. +type UsersPermissionsListParams struct { + Enabled *bool `json:"enabled,omitempty"` + + // Group (name) + Group *[]string `json:"group,omitempty"` + + // Group (name) + GroupN *[]string `json:"group__n,omitempty"` + + // Group + GroupId *[]int `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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // User (name) + User *[]string `json:"user,omitempty"` + + // User (name) + UserN *[]string `json:"user__n,omitempty"` + + // User + UserId *[]openapi_types.UUID `json:"user_id,omitempty"` + + // User + UserIdN *[]openapi_types.UUID `json:"user_id__n,omitempty"` +} + +// UsersPermissionsBulkPartialUpdateJSONBody defines parameters for UsersPermissionsBulkPartialUpdate. +type UsersPermissionsBulkPartialUpdateJSONBody PatchedWritableObjectPermission + +// UsersPermissionsCreateJSONBody defines parameters for UsersPermissionsCreate. +type UsersPermissionsCreateJSONBody WritableObjectPermission + +// UsersPermissionsBulkUpdateJSONBody defines parameters for UsersPermissionsBulkUpdate. +type UsersPermissionsBulkUpdateJSONBody WritableObjectPermission + +// UsersPermissionsPartialUpdateJSONBody defines parameters for UsersPermissionsPartialUpdate. +type UsersPermissionsPartialUpdateJSONBody PatchedWritableObjectPermission + +// UsersPermissionsUpdateJSONBody defines parameters for UsersPermissionsUpdate. +type UsersPermissionsUpdateJSONBody WritableObjectPermission + +// 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// UsersTokensBulkPartialUpdateJSONBody defines parameters for UsersTokensBulkPartialUpdate. +type UsersTokensBulkPartialUpdateJSONBody PatchedToken + +// UsersTokensCreateJSONBody defines parameters for UsersTokensCreate. +type UsersTokensCreateJSONBody Token + +// UsersTokensBulkUpdateJSONBody defines parameters for UsersTokensBulkUpdate. +type UsersTokensBulkUpdateJSONBody Token + +// UsersTokensPartialUpdateJSONBody defines parameters for UsersTokensPartialUpdate. +type UsersTokensPartialUpdateJSONBody PatchedToken + +// UsersTokensUpdateJSONBody defines parameters for UsersTokensUpdate. +type UsersTokensUpdateJSONBody Token + +// 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"` + + // Group (name) + Group *[]string `json:"group,omitempty"` + + // Group (name) + GroupN *[]string `json:"group__n,omitempty"` + + // Group + GroupId *[]int `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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// UsersUsersBulkPartialUpdateJSONBody defines parameters for UsersUsersBulkPartialUpdate. +type UsersUsersBulkPartialUpdateJSONBody PatchedWritableUser + +// UsersUsersCreateJSONBody defines parameters for UsersUsersCreate. +type UsersUsersCreateJSONBody WritableUser + +// UsersUsersBulkUpdateJSONBody defines parameters for UsersUsersBulkUpdate. +type UsersUsersBulkUpdateJSONBody WritableUser + +// UsersUsersPartialUpdateJSONBody defines parameters for UsersUsersPartialUpdate. +type UsersUsersPartialUpdateJSONBody PatchedWritableUser + +// UsersUsersUpdateJSONBody defines parameters for UsersUsersUpdate. +type UsersUsersUpdateJSONBody WritableUser + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// VirtualizationClusterGroupsBulkPartialUpdateJSONBody defines parameters for VirtualizationClusterGroupsBulkPartialUpdate. +type VirtualizationClusterGroupsBulkPartialUpdateJSONBody PatchedClusterGroup + +// VirtualizationClusterGroupsCreateJSONBody defines parameters for VirtualizationClusterGroupsCreate. +type VirtualizationClusterGroupsCreateJSONBody ClusterGroup + +// VirtualizationClusterGroupsBulkUpdateJSONBody defines parameters for VirtualizationClusterGroupsBulkUpdate. +type VirtualizationClusterGroupsBulkUpdateJSONBody ClusterGroup + +// VirtualizationClusterGroupsPartialUpdateJSONBody defines parameters for VirtualizationClusterGroupsPartialUpdate. +type VirtualizationClusterGroupsPartialUpdateJSONBody PatchedClusterGroup + +// VirtualizationClusterGroupsUpdateJSONBody defines parameters for VirtualizationClusterGroupsUpdate. +type VirtualizationClusterGroupsUpdateJSONBody ClusterGroup + +// 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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `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"` +} + +// VirtualizationClusterTypesBulkPartialUpdateJSONBody defines parameters for VirtualizationClusterTypesBulkPartialUpdate. +type VirtualizationClusterTypesBulkPartialUpdateJSONBody PatchedClusterType + +// VirtualizationClusterTypesCreateJSONBody defines parameters for VirtualizationClusterTypesCreate. +type VirtualizationClusterTypesCreateJSONBody ClusterType + +// VirtualizationClusterTypesBulkUpdateJSONBody defines parameters for VirtualizationClusterTypesBulkUpdate. +type VirtualizationClusterTypesBulkUpdateJSONBody ClusterType + +// VirtualizationClusterTypesPartialUpdateJSONBody defines parameters for VirtualizationClusterTypesPartialUpdate. +type VirtualizationClusterTypesPartialUpdateJSONBody PatchedClusterType + +// VirtualizationClusterTypesUpdateJSONBody defines parameters for VirtualizationClusterTypesUpdate. +type VirtualizationClusterTypesUpdateJSONBody ClusterType + +// 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"` + + // Parent group (slug) + Group *[]string `json:"group,omitempty"` + + // Parent group (slug) + GroupN *[]string `json:"group__n,omitempty"` + + // Parent group (ID) + GroupId *[]openapi_types.UUID `json:"group_id,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"` + + // 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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + + // Site (ID) + SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + + // Tenant (ID) + TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + + // Cluster type (slug) + Type *[]string `json:"type,omitempty"` + + // Cluster type (slug) + TypeN *[]string `json:"type__n,omitempty"` + + // Cluster type (ID) + TypeId *[]openapi_types.UUID `json:"type_id,omitempty"` + + // Cluster type (ID) + TypeIdN *[]openapi_types.UUID `json:"type_id__n,omitempty"` +} + +// VirtualizationClustersBulkPartialUpdateJSONBody defines parameters for VirtualizationClustersBulkPartialUpdate. +type VirtualizationClustersBulkPartialUpdateJSONBody PatchedWritableCluster + +// VirtualizationClustersCreateJSONBody defines parameters for VirtualizationClustersCreate. +type VirtualizationClustersCreateJSONBody WritableCluster + +// VirtualizationClustersBulkUpdateJSONBody defines parameters for VirtualizationClustersBulkUpdate. +type VirtualizationClustersBulkUpdateJSONBody WritableCluster + +// VirtualizationClustersPartialUpdateJSONBody defines parameters for VirtualizationClustersPartialUpdate. +type VirtualizationClustersPartialUpdateJSONBody PatchedWritableCluster + +// VirtualizationClustersUpdateJSONBody defines parameters for VirtualizationClustersUpdate. +type VirtualizationClustersUpdateJSONBody WritableCluster + +// VirtualizationInterfacesListParams defines parameters for VirtualizationInterfacesList. +type VirtualizationInterfacesListParams struct { + // Cluster + Cluster *[]string `json:"cluster,omitempty"` + + // Cluster + ClusterN *[]string `json:"cluster__n,omitempty"` + + // Cluster (ID) + ClusterId *[]openapi_types.UUID `json:"cluster_id,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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // MAC address + MacAddress *[]string `json:"mac_address,omitempty"` + + // MAC address + MacAddressIc *[]string `json:"mac_address__ic,omitempty"` + + // MAC address + MacAddressIe *[]string `json:"mac_address__ie,omitempty"` + + // MAC address + MacAddressIew *[]string `json:"mac_address__iew,omitempty"` + + // MAC address + MacAddressIre *[]string `json:"mac_address__ire,omitempty"` + + // MAC address + MacAddressIsw *[]string `json:"mac_address__isw,omitempty"` + + // MAC address + MacAddressN *[]string `json:"mac_address__n,omitempty"` + + // MAC address + MacAddressNic *[]string `json:"mac_address__nic,omitempty"` + + // MAC address + MacAddressNie *[]string `json:"mac_address__nie,omitempty"` + + // MAC address + MacAddressNiew *[]string `json:"mac_address__niew,omitempty"` + + // MAC address + MacAddressNire *[]string `json:"mac_address__nire,omitempty"` + + // MAC address + MacAddressNisw *[]string `json:"mac_address__nisw,omitempty"` + + // MAC address + MacAddressNre *[]string `json:"mac_address__nre,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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + Tag *[]string `json:"tag,omitempty"` + TagN *[]string `json:"tag__n,omitempty"` + + // Virtual machine + VirtualMachine *[]string `json:"virtual_machine,omitempty"` + + // Virtual machine + VirtualMachineN *[]string `json:"virtual_machine__n,omitempty"` + + // Virtual machine (ID) + VirtualMachineId *[]openapi_types.UUID `json:"virtual_machine_id,omitempty"` + + // Virtual machine (ID) + VirtualMachineIdN *[]openapi_types.UUID `json:"virtual_machine_id__n,omitempty"` +} + +// VirtualizationInterfacesBulkPartialUpdateJSONBody defines parameters for VirtualizationInterfacesBulkPartialUpdate. +type VirtualizationInterfacesBulkPartialUpdateJSONBody PatchedWritableVMInterface + +// VirtualizationInterfacesCreateJSONBody defines parameters for VirtualizationInterfacesCreate. +type VirtualizationInterfacesCreateJSONBody WritableVMInterface + +// VirtualizationInterfacesBulkUpdateJSONBody defines parameters for VirtualizationInterfacesBulkUpdate. +type VirtualizationInterfacesBulkUpdateJSONBody WritableVMInterface + +// VirtualizationInterfacesPartialUpdateJSONBody defines parameters for VirtualizationInterfacesPartialUpdate. +type VirtualizationInterfacesPartialUpdateJSONBody PatchedWritableVMInterface + +// VirtualizationInterfacesUpdateJSONBody defines parameters for VirtualizationInterfacesUpdate. +type VirtualizationInterfacesUpdateJSONBody WritableVMInterface + +// VirtualizationVirtualMachinesListParams defines parameters for VirtualizationVirtualMachinesList. +type VirtualizationVirtualMachinesListParams struct { + Cluster *openapi_types.UUID `json:"cluster,omitempty"` + ClusterN *openapi_types.UUID `json:"cluster__n,omitempty"` + + // Cluster group (slug) + ClusterGroup *[]string `json:"cluster_group,omitempty"` + + // Cluster group (slug) + ClusterGroupN *[]string `json:"cluster_group__n,omitempty"` + + // Cluster group (ID) + ClusterGroupId *[]openapi_types.UUID `json:"cluster_group_id,omitempty"` + + // Cluster group (ID) + ClusterGroupIdN *[]openapi_types.UUID `json:"cluster_group_id__n,omitempty"` + + // Cluster (ID) + ClusterId *[]openapi_types.UUID `json:"cluster_id,omitempty"` + + // Cluster (ID) + ClusterIdN *[]openapi_types.UUID `json:"cluster_id__n,omitempty"` + + // Cluster type (slug) + ClusterType *[]string `json:"cluster_type,omitempty"` + + // Cluster type (slug) + ClusterTypeN *[]string `json:"cluster_type__n,omitempty"` + + // Cluster type (ID) + ClusterTypeId *[]openapi_types.UUID `json:"cluster_type_id,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"` + + // 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"` + + // Number of results to return per page. + Limit *int `json:"limit,omitempty"` + + // Has local config context data + LocalContextData *bool `json:"local_context_data,omitempty"` + + // Schema (slug) + LocalContextSchema *[]string `json:"local_context_schema,omitempty"` + + // Schema (slug) + LocalContextSchemaN *[]string `json:"local_context_schema__n,omitempty"` + + // Schema (ID) + LocalContextSchemaId *[]openapi_types.UUID `json:"local_context_schema_id,omitempty"` + + // Schema (ID) + LocalContextSchemaIdN *[]openapi_types.UUID `json:"local_context_schema_id__n,omitempty"` + + // MAC address + MacAddress *[]string `json:"mac_address,omitempty"` + + // MAC address + MacAddressIc *[]string `json:"mac_address__ic,omitempty"` + + // MAC address + MacAddressIe *[]string `json:"mac_address__ie,omitempty"` + + // MAC address + MacAddressIew *[]string `json:"mac_address__iew,omitempty"` + + // MAC address + MacAddressIre *[]string `json:"mac_address__ire,omitempty"` + + // MAC address + MacAddressIsw *[]string `json:"mac_address__isw,omitempty"` + + // MAC address + MacAddressN *[]string `json:"mac_address__n,omitempty"` + + // MAC address + MacAddressNic *[]string `json:"mac_address__nic,omitempty"` + + // MAC address + MacAddressNie *[]string `json:"mac_address__nie,omitempty"` + + // MAC address + MacAddressNiew *[]string `json:"mac_address__niew,omitempty"` + + // MAC address + MacAddressNire *[]string `json:"mac_address__nire,omitempty"` + + // MAC address + MacAddressNisw *[]string `json:"mac_address__nisw,omitempty"` + + // MAC address + MacAddressNre *[]string `json:"mac_address__nre,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"` + + // The initial index from which to return the results. + Offset *int `json:"offset,omitempty"` + + // Platform (slug) + Platform *[]string `json:"platform,omitempty"` + + // Platform (slug) + PlatformN *[]string `json:"platform__n,omitempty"` + + // Platform (ID) + PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + + // Platform (ID) + PlatformIdN *[]openapi_types.UUID `json:"platform_id__n,omitempty"` + + // Search + Q *string `json:"q,omitempty"` + + // Region (slug) + Region *[]openapi_types.UUID `json:"region,omitempty"` + + // Region (slug) + RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + + // Region (ID) + RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + + // Region (ID) + RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + + // Role (slug) + Role *[]string `json:"role,omitempty"` + + // Role (slug) + RoleN *[]string `json:"role__n,omitempty"` + + // Role (ID) + RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + + // Role (ID) + RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + + // Site (slug) + Site *[]string `json:"site,omitempty"` + + // Site (slug) + SiteN *[]string `json:"site__n,omitempty"` + + // Site (ID) + SiteId *[]openapi_types.UUID `json:"site_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"` + + // Tenant (slug) + Tenant *[]string `json:"tenant,omitempty"` + + // Tenant (slug) + TenantN *[]string `json:"tenant__n,omitempty"` + + // Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + + // Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + + // Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + + // Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + + // Tenant (ID) + TenantId *[]openapi_types.UUID `json:"tenant_id,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"` +} + +// VirtualizationVirtualMachinesBulkPartialUpdateJSONBody defines parameters for VirtualizationVirtualMachinesBulkPartialUpdate. +type VirtualizationVirtualMachinesBulkPartialUpdateJSONBody PatchedWritableVirtualMachineWithConfigContext + +// VirtualizationVirtualMachinesCreateJSONBody defines parameters for VirtualizationVirtualMachinesCreate. +type VirtualizationVirtualMachinesCreateJSONBody WritableVirtualMachineWithConfigContext + +// VirtualizationVirtualMachinesBulkUpdateJSONBody defines parameters for VirtualizationVirtualMachinesBulkUpdate. +type VirtualizationVirtualMachinesBulkUpdateJSONBody WritableVirtualMachineWithConfigContext + +// VirtualizationVirtualMachinesPartialUpdateJSONBody defines parameters for VirtualizationVirtualMachinesPartialUpdate. +type VirtualizationVirtualMachinesPartialUpdateJSONBody PatchedWritableVirtualMachineWithConfigContext + +// VirtualizationVirtualMachinesUpdateJSONBody defines parameters for VirtualizationVirtualMachinesUpdate. +type VirtualizationVirtualMachinesUpdateJSONBody WritableVirtualMachineWithConfigContext + +// CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsBulkPartialUpdate for application/json ContentType. +type CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody CircuitsCircuitTerminationsBulkPartialUpdateJSONBody + +// CircuitsCircuitTerminationsCreateJSONRequestBody defines body for CircuitsCircuitTerminationsCreate for application/json ContentType. +type CircuitsCircuitTerminationsCreateJSONRequestBody CircuitsCircuitTerminationsCreateJSONBody + +// CircuitsCircuitTerminationsBulkUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsBulkUpdate for application/json ContentType. +type CircuitsCircuitTerminationsBulkUpdateJSONRequestBody CircuitsCircuitTerminationsBulkUpdateJSONBody + +// CircuitsCircuitTerminationsPartialUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsPartialUpdate for application/json ContentType. +type CircuitsCircuitTerminationsPartialUpdateJSONRequestBody CircuitsCircuitTerminationsPartialUpdateJSONBody + +// CircuitsCircuitTerminationsUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsUpdate for application/json ContentType. +type CircuitsCircuitTerminationsUpdateJSONRequestBody CircuitsCircuitTerminationsUpdateJSONBody + +// CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody defines body for CircuitsCircuitTypesBulkPartialUpdate for application/json ContentType. +type CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody CircuitsCircuitTypesBulkPartialUpdateJSONBody + +// CircuitsCircuitTypesCreateJSONRequestBody defines body for CircuitsCircuitTypesCreate for application/json ContentType. +type CircuitsCircuitTypesCreateJSONRequestBody CircuitsCircuitTypesCreateJSONBody + +// CircuitsCircuitTypesBulkUpdateJSONRequestBody defines body for CircuitsCircuitTypesBulkUpdate for application/json ContentType. +type CircuitsCircuitTypesBulkUpdateJSONRequestBody CircuitsCircuitTypesBulkUpdateJSONBody + +// CircuitsCircuitTypesPartialUpdateJSONRequestBody defines body for CircuitsCircuitTypesPartialUpdate for application/json ContentType. +type CircuitsCircuitTypesPartialUpdateJSONRequestBody CircuitsCircuitTypesPartialUpdateJSONBody + +// CircuitsCircuitTypesUpdateJSONRequestBody defines body for CircuitsCircuitTypesUpdate for application/json ContentType. +type CircuitsCircuitTypesUpdateJSONRequestBody CircuitsCircuitTypesUpdateJSONBody + +// CircuitsCircuitsBulkPartialUpdateJSONRequestBody defines body for CircuitsCircuitsBulkPartialUpdate for application/json ContentType. +type CircuitsCircuitsBulkPartialUpdateJSONRequestBody CircuitsCircuitsBulkPartialUpdateJSONBody + +// CircuitsCircuitsCreateJSONRequestBody defines body for CircuitsCircuitsCreate for application/json ContentType. +type CircuitsCircuitsCreateJSONRequestBody CircuitsCircuitsCreateJSONBody + +// CircuitsCircuitsBulkUpdateJSONRequestBody defines body for CircuitsCircuitsBulkUpdate for application/json ContentType. +type CircuitsCircuitsBulkUpdateJSONRequestBody CircuitsCircuitsBulkUpdateJSONBody + +// CircuitsCircuitsPartialUpdateJSONRequestBody defines body for CircuitsCircuitsPartialUpdate for application/json ContentType. +type CircuitsCircuitsPartialUpdateJSONRequestBody CircuitsCircuitsPartialUpdateJSONBody + +// CircuitsCircuitsUpdateJSONRequestBody defines body for CircuitsCircuitsUpdate for application/json ContentType. +type CircuitsCircuitsUpdateJSONRequestBody CircuitsCircuitsUpdateJSONBody + +// CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody defines body for CircuitsProviderNetworksBulkPartialUpdate for application/json ContentType. +type CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody CircuitsProviderNetworksBulkPartialUpdateJSONBody + +// CircuitsProviderNetworksCreateJSONRequestBody defines body for CircuitsProviderNetworksCreate for application/json ContentType. +type CircuitsProviderNetworksCreateJSONRequestBody CircuitsProviderNetworksCreateJSONBody + +// CircuitsProviderNetworksBulkUpdateJSONRequestBody defines body for CircuitsProviderNetworksBulkUpdate for application/json ContentType. +type CircuitsProviderNetworksBulkUpdateJSONRequestBody CircuitsProviderNetworksBulkUpdateJSONBody + +// CircuitsProviderNetworksPartialUpdateJSONRequestBody defines body for CircuitsProviderNetworksPartialUpdate for application/json ContentType. +type CircuitsProviderNetworksPartialUpdateJSONRequestBody CircuitsProviderNetworksPartialUpdateJSONBody + +// CircuitsProviderNetworksUpdateJSONRequestBody defines body for CircuitsProviderNetworksUpdate for application/json ContentType. +type CircuitsProviderNetworksUpdateJSONRequestBody CircuitsProviderNetworksUpdateJSONBody + +// CircuitsProvidersBulkPartialUpdateJSONRequestBody defines body for CircuitsProvidersBulkPartialUpdate for application/json ContentType. +type CircuitsProvidersBulkPartialUpdateJSONRequestBody CircuitsProvidersBulkPartialUpdateJSONBody + +// CircuitsProvidersCreateJSONRequestBody defines body for CircuitsProvidersCreate for application/json ContentType. +type CircuitsProvidersCreateJSONRequestBody CircuitsProvidersCreateJSONBody + +// CircuitsProvidersBulkUpdateJSONRequestBody defines body for CircuitsProvidersBulkUpdate for application/json ContentType. +type CircuitsProvidersBulkUpdateJSONRequestBody CircuitsProvidersBulkUpdateJSONBody + +// CircuitsProvidersPartialUpdateJSONRequestBody defines body for CircuitsProvidersPartialUpdate for application/json ContentType. +type CircuitsProvidersPartialUpdateJSONRequestBody CircuitsProvidersPartialUpdateJSONBody + +// CircuitsProvidersUpdateJSONRequestBody defines body for CircuitsProvidersUpdate for application/json ContentType. +type CircuitsProvidersUpdateJSONRequestBody CircuitsProvidersUpdateJSONBody + +// DcimCablesBulkPartialUpdateJSONRequestBody defines body for DcimCablesBulkPartialUpdate for application/json ContentType. +type DcimCablesBulkPartialUpdateJSONRequestBody DcimCablesBulkPartialUpdateJSONBody + +// DcimCablesCreateJSONRequestBody defines body for DcimCablesCreate for application/json ContentType. +type DcimCablesCreateJSONRequestBody DcimCablesCreateJSONBody + +// DcimCablesBulkUpdateJSONRequestBody defines body for DcimCablesBulkUpdate for application/json ContentType. +type DcimCablesBulkUpdateJSONRequestBody DcimCablesBulkUpdateJSONBody + +// DcimCablesPartialUpdateJSONRequestBody defines body for DcimCablesPartialUpdate for application/json ContentType. +type DcimCablesPartialUpdateJSONRequestBody DcimCablesPartialUpdateJSONBody + +// DcimCablesUpdateJSONRequestBody defines body for DcimCablesUpdate for application/json ContentType. +type DcimCablesUpdateJSONRequestBody DcimCablesUpdateJSONBody + +// DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimConsolePortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody DcimConsolePortTemplatesBulkPartialUpdateJSONBody + +// DcimConsolePortTemplatesCreateJSONRequestBody defines body for DcimConsolePortTemplatesCreate for application/json ContentType. +type DcimConsolePortTemplatesCreateJSONRequestBody DcimConsolePortTemplatesCreateJSONBody + +// DcimConsolePortTemplatesBulkUpdateJSONRequestBody defines body for DcimConsolePortTemplatesBulkUpdate for application/json ContentType. +type DcimConsolePortTemplatesBulkUpdateJSONRequestBody DcimConsolePortTemplatesBulkUpdateJSONBody + +// DcimConsolePortTemplatesPartialUpdateJSONRequestBody defines body for DcimConsolePortTemplatesPartialUpdate for application/json ContentType. +type DcimConsolePortTemplatesPartialUpdateJSONRequestBody DcimConsolePortTemplatesPartialUpdateJSONBody + +// DcimConsolePortTemplatesUpdateJSONRequestBody defines body for DcimConsolePortTemplatesUpdate for application/json ContentType. +type DcimConsolePortTemplatesUpdateJSONRequestBody DcimConsolePortTemplatesUpdateJSONBody + +// DcimConsolePortsBulkPartialUpdateJSONRequestBody defines body for DcimConsolePortsBulkPartialUpdate for application/json ContentType. +type DcimConsolePortsBulkPartialUpdateJSONRequestBody DcimConsolePortsBulkPartialUpdateJSONBody + +// DcimConsolePortsCreateJSONRequestBody defines body for DcimConsolePortsCreate for application/json ContentType. +type DcimConsolePortsCreateJSONRequestBody DcimConsolePortsCreateJSONBody + +// DcimConsolePortsBulkUpdateJSONRequestBody defines body for DcimConsolePortsBulkUpdate for application/json ContentType. +type DcimConsolePortsBulkUpdateJSONRequestBody DcimConsolePortsBulkUpdateJSONBody + +// DcimConsolePortsPartialUpdateJSONRequestBody defines body for DcimConsolePortsPartialUpdate for application/json ContentType. +type DcimConsolePortsPartialUpdateJSONRequestBody DcimConsolePortsPartialUpdateJSONBody + +// DcimConsolePortsUpdateJSONRequestBody defines body for DcimConsolePortsUpdate for application/json ContentType. +type DcimConsolePortsUpdateJSONRequestBody DcimConsolePortsUpdateJSONBody + +// DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody + +// DcimConsoleServerPortTemplatesCreateJSONRequestBody defines body for DcimConsoleServerPortTemplatesCreate for application/json ContentType. +type DcimConsoleServerPortTemplatesCreateJSONRequestBody DcimConsoleServerPortTemplatesCreateJSONBody + +// DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesBulkUpdate for application/json ContentType. +type DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody DcimConsoleServerPortTemplatesBulkUpdateJSONBody + +// DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesPartialUpdate for application/json ContentType. +type DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody DcimConsoleServerPortTemplatesPartialUpdateJSONBody + +// DcimConsoleServerPortTemplatesUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesUpdate for application/json ContentType. +type DcimConsoleServerPortTemplatesUpdateJSONRequestBody DcimConsoleServerPortTemplatesUpdateJSONBody + +// DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortsBulkPartialUpdate for application/json ContentType. +type DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody DcimConsoleServerPortsBulkPartialUpdateJSONBody + +// DcimConsoleServerPortsCreateJSONRequestBody defines body for DcimConsoleServerPortsCreate for application/json ContentType. +type DcimConsoleServerPortsCreateJSONRequestBody DcimConsoleServerPortsCreateJSONBody + +// DcimConsoleServerPortsBulkUpdateJSONRequestBody defines body for DcimConsoleServerPortsBulkUpdate for application/json ContentType. +type DcimConsoleServerPortsBulkUpdateJSONRequestBody DcimConsoleServerPortsBulkUpdateJSONBody + +// DcimConsoleServerPortsPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortsPartialUpdate for application/json ContentType. +type DcimConsoleServerPortsPartialUpdateJSONRequestBody DcimConsoleServerPortsPartialUpdateJSONBody + +// DcimConsoleServerPortsUpdateJSONRequestBody defines body for DcimConsoleServerPortsUpdate for application/json ContentType. +type DcimConsoleServerPortsUpdateJSONRequestBody DcimConsoleServerPortsUpdateJSONBody + +// DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesBulkPartialUpdate for application/json ContentType. +type DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody DcimDeviceBayTemplatesBulkPartialUpdateJSONBody + +// DcimDeviceBayTemplatesCreateJSONRequestBody defines body for DcimDeviceBayTemplatesCreate for application/json ContentType. +type DcimDeviceBayTemplatesCreateJSONRequestBody DcimDeviceBayTemplatesCreateJSONBody + +// DcimDeviceBayTemplatesBulkUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesBulkUpdate for application/json ContentType. +type DcimDeviceBayTemplatesBulkUpdateJSONRequestBody DcimDeviceBayTemplatesBulkUpdateJSONBody + +// DcimDeviceBayTemplatesPartialUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesPartialUpdate for application/json ContentType. +type DcimDeviceBayTemplatesPartialUpdateJSONRequestBody DcimDeviceBayTemplatesPartialUpdateJSONBody + +// DcimDeviceBayTemplatesUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesUpdate for application/json ContentType. +type DcimDeviceBayTemplatesUpdateJSONRequestBody DcimDeviceBayTemplatesUpdateJSONBody + +// DcimDeviceBaysBulkPartialUpdateJSONRequestBody defines body for DcimDeviceBaysBulkPartialUpdate for application/json ContentType. +type DcimDeviceBaysBulkPartialUpdateJSONRequestBody DcimDeviceBaysBulkPartialUpdateJSONBody + +// DcimDeviceBaysCreateJSONRequestBody defines body for DcimDeviceBaysCreate for application/json ContentType. +type DcimDeviceBaysCreateJSONRequestBody DcimDeviceBaysCreateJSONBody + +// DcimDeviceBaysBulkUpdateJSONRequestBody defines body for DcimDeviceBaysBulkUpdate for application/json ContentType. +type DcimDeviceBaysBulkUpdateJSONRequestBody DcimDeviceBaysBulkUpdateJSONBody + +// DcimDeviceBaysPartialUpdateJSONRequestBody defines body for DcimDeviceBaysPartialUpdate for application/json ContentType. +type DcimDeviceBaysPartialUpdateJSONRequestBody DcimDeviceBaysPartialUpdateJSONBody + +// DcimDeviceBaysUpdateJSONRequestBody defines body for DcimDeviceBaysUpdate for application/json ContentType. +type DcimDeviceBaysUpdateJSONRequestBody DcimDeviceBaysUpdateJSONBody + +// DcimDeviceRolesBulkPartialUpdateJSONRequestBody defines body for DcimDeviceRolesBulkPartialUpdate for application/json ContentType. +type DcimDeviceRolesBulkPartialUpdateJSONRequestBody DcimDeviceRolesBulkPartialUpdateJSONBody + +// DcimDeviceRolesCreateJSONRequestBody defines body for DcimDeviceRolesCreate for application/json ContentType. +type DcimDeviceRolesCreateJSONRequestBody DcimDeviceRolesCreateJSONBody + +// DcimDeviceRolesBulkUpdateJSONRequestBody defines body for DcimDeviceRolesBulkUpdate for application/json ContentType. +type DcimDeviceRolesBulkUpdateJSONRequestBody DcimDeviceRolesBulkUpdateJSONBody + +// DcimDeviceRolesPartialUpdateJSONRequestBody defines body for DcimDeviceRolesPartialUpdate for application/json ContentType. +type DcimDeviceRolesPartialUpdateJSONRequestBody DcimDeviceRolesPartialUpdateJSONBody + +// DcimDeviceRolesUpdateJSONRequestBody defines body for DcimDeviceRolesUpdate for application/json ContentType. +type DcimDeviceRolesUpdateJSONRequestBody DcimDeviceRolesUpdateJSONBody + +// DcimDeviceTypesBulkPartialUpdateJSONRequestBody defines body for DcimDeviceTypesBulkPartialUpdate for application/json ContentType. +type DcimDeviceTypesBulkPartialUpdateJSONRequestBody DcimDeviceTypesBulkPartialUpdateJSONBody + +// DcimDeviceTypesCreateJSONRequestBody defines body for DcimDeviceTypesCreate for application/json ContentType. +type DcimDeviceTypesCreateJSONRequestBody DcimDeviceTypesCreateJSONBody + +// DcimDeviceTypesBulkUpdateJSONRequestBody defines body for DcimDeviceTypesBulkUpdate for application/json ContentType. +type DcimDeviceTypesBulkUpdateJSONRequestBody DcimDeviceTypesBulkUpdateJSONBody + +// DcimDeviceTypesPartialUpdateJSONRequestBody defines body for DcimDeviceTypesPartialUpdate for application/json ContentType. +type DcimDeviceTypesPartialUpdateJSONRequestBody DcimDeviceTypesPartialUpdateJSONBody + +// DcimDeviceTypesUpdateJSONRequestBody defines body for DcimDeviceTypesUpdate for application/json ContentType. +type DcimDeviceTypesUpdateJSONRequestBody DcimDeviceTypesUpdateJSONBody + +// DcimDevicesBulkPartialUpdateJSONRequestBody defines body for DcimDevicesBulkPartialUpdate for application/json ContentType. +type DcimDevicesBulkPartialUpdateJSONRequestBody DcimDevicesBulkPartialUpdateJSONBody + +// DcimDevicesCreateJSONRequestBody defines body for DcimDevicesCreate for application/json ContentType. +type DcimDevicesCreateJSONRequestBody DcimDevicesCreateJSONBody + +// DcimDevicesBulkUpdateJSONRequestBody defines body for DcimDevicesBulkUpdate for application/json ContentType. +type DcimDevicesBulkUpdateJSONRequestBody DcimDevicesBulkUpdateJSONBody + +// DcimDevicesPartialUpdateJSONRequestBody defines body for DcimDevicesPartialUpdate for application/json ContentType. +type DcimDevicesPartialUpdateJSONRequestBody DcimDevicesPartialUpdateJSONBody + +// DcimDevicesUpdateJSONRequestBody defines body for DcimDevicesUpdate for application/json ContentType. +type DcimDevicesUpdateJSONRequestBody DcimDevicesUpdateJSONBody + +// DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimFrontPortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody DcimFrontPortTemplatesBulkPartialUpdateJSONBody + +// DcimFrontPortTemplatesCreateJSONRequestBody defines body for DcimFrontPortTemplatesCreate for application/json ContentType. +type DcimFrontPortTemplatesCreateJSONRequestBody DcimFrontPortTemplatesCreateJSONBody + +// DcimFrontPortTemplatesBulkUpdateJSONRequestBody defines body for DcimFrontPortTemplatesBulkUpdate for application/json ContentType. +type DcimFrontPortTemplatesBulkUpdateJSONRequestBody DcimFrontPortTemplatesBulkUpdateJSONBody + +// DcimFrontPortTemplatesPartialUpdateJSONRequestBody defines body for DcimFrontPortTemplatesPartialUpdate for application/json ContentType. +type DcimFrontPortTemplatesPartialUpdateJSONRequestBody DcimFrontPortTemplatesPartialUpdateJSONBody + +// DcimFrontPortTemplatesUpdateJSONRequestBody defines body for DcimFrontPortTemplatesUpdate for application/json ContentType. +type DcimFrontPortTemplatesUpdateJSONRequestBody DcimFrontPortTemplatesUpdateJSONBody + +// DcimFrontPortsBulkPartialUpdateJSONRequestBody defines body for DcimFrontPortsBulkPartialUpdate for application/json ContentType. +type DcimFrontPortsBulkPartialUpdateJSONRequestBody DcimFrontPortsBulkPartialUpdateJSONBody + +// DcimFrontPortsCreateJSONRequestBody defines body for DcimFrontPortsCreate for application/json ContentType. +type DcimFrontPortsCreateJSONRequestBody DcimFrontPortsCreateJSONBody + +// DcimFrontPortsBulkUpdateJSONRequestBody defines body for DcimFrontPortsBulkUpdate for application/json ContentType. +type DcimFrontPortsBulkUpdateJSONRequestBody DcimFrontPortsBulkUpdateJSONBody + +// DcimFrontPortsPartialUpdateJSONRequestBody defines body for DcimFrontPortsPartialUpdate for application/json ContentType. +type DcimFrontPortsPartialUpdateJSONRequestBody DcimFrontPortsPartialUpdateJSONBody + +// DcimFrontPortsUpdateJSONRequestBody defines body for DcimFrontPortsUpdate for application/json ContentType. +type DcimFrontPortsUpdateJSONRequestBody DcimFrontPortsUpdateJSONBody + +// DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimInterfaceTemplatesBulkPartialUpdate for application/json ContentType. +type DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody DcimInterfaceTemplatesBulkPartialUpdateJSONBody + +// DcimInterfaceTemplatesCreateJSONRequestBody defines body for DcimInterfaceTemplatesCreate for application/json ContentType. +type DcimInterfaceTemplatesCreateJSONRequestBody DcimInterfaceTemplatesCreateJSONBody + +// DcimInterfaceTemplatesBulkUpdateJSONRequestBody defines body for DcimInterfaceTemplatesBulkUpdate for application/json ContentType. +type DcimInterfaceTemplatesBulkUpdateJSONRequestBody DcimInterfaceTemplatesBulkUpdateJSONBody + +// DcimInterfaceTemplatesPartialUpdateJSONRequestBody defines body for DcimInterfaceTemplatesPartialUpdate for application/json ContentType. +type DcimInterfaceTemplatesPartialUpdateJSONRequestBody DcimInterfaceTemplatesPartialUpdateJSONBody + +// DcimInterfaceTemplatesUpdateJSONRequestBody defines body for DcimInterfaceTemplatesUpdate for application/json ContentType. +type DcimInterfaceTemplatesUpdateJSONRequestBody DcimInterfaceTemplatesUpdateJSONBody + +// DcimInterfacesBulkPartialUpdateJSONRequestBody defines body for DcimInterfacesBulkPartialUpdate for application/json ContentType. +type DcimInterfacesBulkPartialUpdateJSONRequestBody DcimInterfacesBulkPartialUpdateJSONBody + +// DcimInterfacesCreateJSONRequestBody defines body for DcimInterfacesCreate for application/json ContentType. +type DcimInterfacesCreateJSONRequestBody DcimInterfacesCreateJSONBody + +// DcimInterfacesBulkUpdateJSONRequestBody defines body for DcimInterfacesBulkUpdate for application/json ContentType. +type DcimInterfacesBulkUpdateJSONRequestBody DcimInterfacesBulkUpdateJSONBody + +// DcimInterfacesPartialUpdateJSONRequestBody defines body for DcimInterfacesPartialUpdate for application/json ContentType. +type DcimInterfacesPartialUpdateJSONRequestBody DcimInterfacesPartialUpdateJSONBody + +// DcimInterfacesUpdateJSONRequestBody defines body for DcimInterfacesUpdate for application/json ContentType. +type DcimInterfacesUpdateJSONRequestBody DcimInterfacesUpdateJSONBody + +// DcimInventoryItemsBulkPartialUpdateJSONRequestBody defines body for DcimInventoryItemsBulkPartialUpdate for application/json ContentType. +type DcimInventoryItemsBulkPartialUpdateJSONRequestBody DcimInventoryItemsBulkPartialUpdateJSONBody + +// DcimInventoryItemsCreateJSONRequestBody defines body for DcimInventoryItemsCreate for application/json ContentType. +type DcimInventoryItemsCreateJSONRequestBody DcimInventoryItemsCreateJSONBody + +// DcimInventoryItemsBulkUpdateJSONRequestBody defines body for DcimInventoryItemsBulkUpdate for application/json ContentType. +type DcimInventoryItemsBulkUpdateJSONRequestBody DcimInventoryItemsBulkUpdateJSONBody + +// DcimInventoryItemsPartialUpdateJSONRequestBody defines body for DcimInventoryItemsPartialUpdate for application/json ContentType. +type DcimInventoryItemsPartialUpdateJSONRequestBody DcimInventoryItemsPartialUpdateJSONBody + +// DcimInventoryItemsUpdateJSONRequestBody defines body for DcimInventoryItemsUpdate for application/json ContentType. +type DcimInventoryItemsUpdateJSONRequestBody DcimInventoryItemsUpdateJSONBody + +// DcimManufacturersBulkPartialUpdateJSONRequestBody defines body for DcimManufacturersBulkPartialUpdate for application/json ContentType. +type DcimManufacturersBulkPartialUpdateJSONRequestBody DcimManufacturersBulkPartialUpdateJSONBody + +// DcimManufacturersCreateJSONRequestBody defines body for DcimManufacturersCreate for application/json ContentType. +type DcimManufacturersCreateJSONRequestBody DcimManufacturersCreateJSONBody + +// DcimManufacturersBulkUpdateJSONRequestBody defines body for DcimManufacturersBulkUpdate for application/json ContentType. +type DcimManufacturersBulkUpdateJSONRequestBody DcimManufacturersBulkUpdateJSONBody + +// DcimManufacturersPartialUpdateJSONRequestBody defines body for DcimManufacturersPartialUpdate for application/json ContentType. +type DcimManufacturersPartialUpdateJSONRequestBody DcimManufacturersPartialUpdateJSONBody + +// DcimManufacturersUpdateJSONRequestBody defines body for DcimManufacturersUpdate for application/json ContentType. +type DcimManufacturersUpdateJSONRequestBody DcimManufacturersUpdateJSONBody + +// DcimPlatformsBulkPartialUpdateJSONRequestBody defines body for DcimPlatformsBulkPartialUpdate for application/json ContentType. +type DcimPlatformsBulkPartialUpdateJSONRequestBody DcimPlatformsBulkPartialUpdateJSONBody + +// DcimPlatformsCreateJSONRequestBody defines body for DcimPlatformsCreate for application/json ContentType. +type DcimPlatformsCreateJSONRequestBody DcimPlatformsCreateJSONBody + +// DcimPlatformsBulkUpdateJSONRequestBody defines body for DcimPlatformsBulkUpdate for application/json ContentType. +type DcimPlatformsBulkUpdateJSONRequestBody DcimPlatformsBulkUpdateJSONBody + +// DcimPlatformsPartialUpdateJSONRequestBody defines body for DcimPlatformsPartialUpdate for application/json ContentType. +type DcimPlatformsPartialUpdateJSONRequestBody DcimPlatformsPartialUpdateJSONBody + +// DcimPlatformsUpdateJSONRequestBody defines body for DcimPlatformsUpdate for application/json ContentType. +type DcimPlatformsUpdateJSONRequestBody DcimPlatformsUpdateJSONBody + +// DcimPowerFeedsBulkPartialUpdateJSONRequestBody defines body for DcimPowerFeedsBulkPartialUpdate for application/json ContentType. +type DcimPowerFeedsBulkPartialUpdateJSONRequestBody DcimPowerFeedsBulkPartialUpdateJSONBody + +// DcimPowerFeedsCreateJSONRequestBody defines body for DcimPowerFeedsCreate for application/json ContentType. +type DcimPowerFeedsCreateJSONRequestBody DcimPowerFeedsCreateJSONBody + +// DcimPowerFeedsBulkUpdateJSONRequestBody defines body for DcimPowerFeedsBulkUpdate for application/json ContentType. +type DcimPowerFeedsBulkUpdateJSONRequestBody DcimPowerFeedsBulkUpdateJSONBody + +// DcimPowerFeedsPartialUpdateJSONRequestBody defines body for DcimPowerFeedsPartialUpdate for application/json ContentType. +type DcimPowerFeedsPartialUpdateJSONRequestBody DcimPowerFeedsPartialUpdateJSONBody + +// DcimPowerFeedsUpdateJSONRequestBody defines body for DcimPowerFeedsUpdate for application/json ContentType. +type DcimPowerFeedsUpdateJSONRequestBody DcimPowerFeedsUpdateJSONBody + +// DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesBulkPartialUpdate for application/json ContentType. +type DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody DcimPowerOutletTemplatesBulkPartialUpdateJSONBody + +// DcimPowerOutletTemplatesCreateJSONRequestBody defines body for DcimPowerOutletTemplatesCreate for application/json ContentType. +type DcimPowerOutletTemplatesCreateJSONRequestBody DcimPowerOutletTemplatesCreateJSONBody + +// DcimPowerOutletTemplatesBulkUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesBulkUpdate for application/json ContentType. +type DcimPowerOutletTemplatesBulkUpdateJSONRequestBody DcimPowerOutletTemplatesBulkUpdateJSONBody + +// DcimPowerOutletTemplatesPartialUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesPartialUpdate for application/json ContentType. +type DcimPowerOutletTemplatesPartialUpdateJSONRequestBody DcimPowerOutletTemplatesPartialUpdateJSONBody + +// DcimPowerOutletTemplatesUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesUpdate for application/json ContentType. +type DcimPowerOutletTemplatesUpdateJSONRequestBody DcimPowerOutletTemplatesUpdateJSONBody + +// DcimPowerOutletsBulkPartialUpdateJSONRequestBody defines body for DcimPowerOutletsBulkPartialUpdate for application/json ContentType. +type DcimPowerOutletsBulkPartialUpdateJSONRequestBody DcimPowerOutletsBulkPartialUpdateJSONBody + +// DcimPowerOutletsCreateJSONRequestBody defines body for DcimPowerOutletsCreate for application/json ContentType. +type DcimPowerOutletsCreateJSONRequestBody DcimPowerOutletsCreateJSONBody + +// DcimPowerOutletsBulkUpdateJSONRequestBody defines body for DcimPowerOutletsBulkUpdate for application/json ContentType. +type DcimPowerOutletsBulkUpdateJSONRequestBody DcimPowerOutletsBulkUpdateJSONBody + +// DcimPowerOutletsPartialUpdateJSONRequestBody defines body for DcimPowerOutletsPartialUpdate for application/json ContentType. +type DcimPowerOutletsPartialUpdateJSONRequestBody DcimPowerOutletsPartialUpdateJSONBody + +// DcimPowerOutletsUpdateJSONRequestBody defines body for DcimPowerOutletsUpdate for application/json ContentType. +type DcimPowerOutletsUpdateJSONRequestBody DcimPowerOutletsUpdateJSONBody + +// DcimPowerPanelsBulkPartialUpdateJSONRequestBody defines body for DcimPowerPanelsBulkPartialUpdate for application/json ContentType. +type DcimPowerPanelsBulkPartialUpdateJSONRequestBody DcimPowerPanelsBulkPartialUpdateJSONBody + +// DcimPowerPanelsCreateJSONRequestBody defines body for DcimPowerPanelsCreate for application/json ContentType. +type DcimPowerPanelsCreateJSONRequestBody DcimPowerPanelsCreateJSONBody + +// DcimPowerPanelsBulkUpdateJSONRequestBody defines body for DcimPowerPanelsBulkUpdate for application/json ContentType. +type DcimPowerPanelsBulkUpdateJSONRequestBody DcimPowerPanelsBulkUpdateJSONBody + +// DcimPowerPanelsPartialUpdateJSONRequestBody defines body for DcimPowerPanelsPartialUpdate for application/json ContentType. +type DcimPowerPanelsPartialUpdateJSONRequestBody DcimPowerPanelsPartialUpdateJSONBody + +// DcimPowerPanelsUpdateJSONRequestBody defines body for DcimPowerPanelsUpdate for application/json ContentType. +type DcimPowerPanelsUpdateJSONRequestBody DcimPowerPanelsUpdateJSONBody + +// DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimPowerPortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody DcimPowerPortTemplatesBulkPartialUpdateJSONBody + +// DcimPowerPortTemplatesCreateJSONRequestBody defines body for DcimPowerPortTemplatesCreate for application/json ContentType. +type DcimPowerPortTemplatesCreateJSONRequestBody DcimPowerPortTemplatesCreateJSONBody + +// DcimPowerPortTemplatesBulkUpdateJSONRequestBody defines body for DcimPowerPortTemplatesBulkUpdate for application/json ContentType. +type DcimPowerPortTemplatesBulkUpdateJSONRequestBody DcimPowerPortTemplatesBulkUpdateJSONBody + +// DcimPowerPortTemplatesPartialUpdateJSONRequestBody defines body for DcimPowerPortTemplatesPartialUpdate for application/json ContentType. +type DcimPowerPortTemplatesPartialUpdateJSONRequestBody DcimPowerPortTemplatesPartialUpdateJSONBody + +// DcimPowerPortTemplatesUpdateJSONRequestBody defines body for DcimPowerPortTemplatesUpdate for application/json ContentType. +type DcimPowerPortTemplatesUpdateJSONRequestBody DcimPowerPortTemplatesUpdateJSONBody + +// DcimPowerPortsBulkPartialUpdateJSONRequestBody defines body for DcimPowerPortsBulkPartialUpdate for application/json ContentType. +type DcimPowerPortsBulkPartialUpdateJSONRequestBody DcimPowerPortsBulkPartialUpdateJSONBody + +// DcimPowerPortsCreateJSONRequestBody defines body for DcimPowerPortsCreate for application/json ContentType. +type DcimPowerPortsCreateJSONRequestBody DcimPowerPortsCreateJSONBody + +// DcimPowerPortsBulkUpdateJSONRequestBody defines body for DcimPowerPortsBulkUpdate for application/json ContentType. +type DcimPowerPortsBulkUpdateJSONRequestBody DcimPowerPortsBulkUpdateJSONBody + +// DcimPowerPortsPartialUpdateJSONRequestBody defines body for DcimPowerPortsPartialUpdate for application/json ContentType. +type DcimPowerPortsPartialUpdateJSONRequestBody DcimPowerPortsPartialUpdateJSONBody + +// DcimPowerPortsUpdateJSONRequestBody defines body for DcimPowerPortsUpdate for application/json ContentType. +type DcimPowerPortsUpdateJSONRequestBody DcimPowerPortsUpdateJSONBody + +// DcimRackGroupsBulkPartialUpdateJSONRequestBody defines body for DcimRackGroupsBulkPartialUpdate for application/json ContentType. +type DcimRackGroupsBulkPartialUpdateJSONRequestBody DcimRackGroupsBulkPartialUpdateJSONBody + +// DcimRackGroupsCreateJSONRequestBody defines body for DcimRackGroupsCreate for application/json ContentType. +type DcimRackGroupsCreateJSONRequestBody DcimRackGroupsCreateJSONBody + +// DcimRackGroupsBulkUpdateJSONRequestBody defines body for DcimRackGroupsBulkUpdate for application/json ContentType. +type DcimRackGroupsBulkUpdateJSONRequestBody DcimRackGroupsBulkUpdateJSONBody + +// DcimRackGroupsPartialUpdateJSONRequestBody defines body for DcimRackGroupsPartialUpdate for application/json ContentType. +type DcimRackGroupsPartialUpdateJSONRequestBody DcimRackGroupsPartialUpdateJSONBody + +// DcimRackGroupsUpdateJSONRequestBody defines body for DcimRackGroupsUpdate for application/json ContentType. +type DcimRackGroupsUpdateJSONRequestBody DcimRackGroupsUpdateJSONBody + +// DcimRackReservationsBulkPartialUpdateJSONRequestBody defines body for DcimRackReservationsBulkPartialUpdate for application/json ContentType. +type DcimRackReservationsBulkPartialUpdateJSONRequestBody DcimRackReservationsBulkPartialUpdateJSONBody + +// DcimRackReservationsCreateJSONRequestBody defines body for DcimRackReservationsCreate for application/json ContentType. +type DcimRackReservationsCreateJSONRequestBody DcimRackReservationsCreateJSONBody + +// DcimRackReservationsBulkUpdateJSONRequestBody defines body for DcimRackReservationsBulkUpdate for application/json ContentType. +type DcimRackReservationsBulkUpdateJSONRequestBody DcimRackReservationsBulkUpdateJSONBody + +// DcimRackReservationsPartialUpdateJSONRequestBody defines body for DcimRackReservationsPartialUpdate for application/json ContentType. +type DcimRackReservationsPartialUpdateJSONRequestBody DcimRackReservationsPartialUpdateJSONBody + +// DcimRackReservationsUpdateJSONRequestBody defines body for DcimRackReservationsUpdate for application/json ContentType. +type DcimRackReservationsUpdateJSONRequestBody DcimRackReservationsUpdateJSONBody + +// DcimRackRolesBulkPartialUpdateJSONRequestBody defines body for DcimRackRolesBulkPartialUpdate for application/json ContentType. +type DcimRackRolesBulkPartialUpdateJSONRequestBody DcimRackRolesBulkPartialUpdateJSONBody + +// DcimRackRolesCreateJSONRequestBody defines body for DcimRackRolesCreate for application/json ContentType. +type DcimRackRolesCreateJSONRequestBody DcimRackRolesCreateJSONBody + +// DcimRackRolesBulkUpdateJSONRequestBody defines body for DcimRackRolesBulkUpdate for application/json ContentType. +type DcimRackRolesBulkUpdateJSONRequestBody DcimRackRolesBulkUpdateJSONBody + +// DcimRackRolesPartialUpdateJSONRequestBody defines body for DcimRackRolesPartialUpdate for application/json ContentType. +type DcimRackRolesPartialUpdateJSONRequestBody DcimRackRolesPartialUpdateJSONBody + +// DcimRackRolesUpdateJSONRequestBody defines body for DcimRackRolesUpdate for application/json ContentType. +type DcimRackRolesUpdateJSONRequestBody DcimRackRolesUpdateJSONBody + +// DcimRacksBulkPartialUpdateJSONRequestBody defines body for DcimRacksBulkPartialUpdate for application/json ContentType. +type DcimRacksBulkPartialUpdateJSONRequestBody DcimRacksBulkPartialUpdateJSONBody + +// DcimRacksCreateJSONRequestBody defines body for DcimRacksCreate for application/json ContentType. +type DcimRacksCreateJSONRequestBody DcimRacksCreateJSONBody + +// DcimRacksBulkUpdateJSONRequestBody defines body for DcimRacksBulkUpdate for application/json ContentType. +type DcimRacksBulkUpdateJSONRequestBody DcimRacksBulkUpdateJSONBody + +// DcimRacksPartialUpdateJSONRequestBody defines body for DcimRacksPartialUpdate for application/json ContentType. +type DcimRacksPartialUpdateJSONRequestBody DcimRacksPartialUpdateJSONBody + +// DcimRacksUpdateJSONRequestBody defines body for DcimRacksUpdate for application/json ContentType. +type DcimRacksUpdateJSONRequestBody DcimRacksUpdateJSONBody + +// DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimRearPortTemplatesBulkPartialUpdate for application/json ContentType. +type DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody DcimRearPortTemplatesBulkPartialUpdateJSONBody + +// DcimRearPortTemplatesCreateJSONRequestBody defines body for DcimRearPortTemplatesCreate for application/json ContentType. +type DcimRearPortTemplatesCreateJSONRequestBody DcimRearPortTemplatesCreateJSONBody + +// DcimRearPortTemplatesBulkUpdateJSONRequestBody defines body for DcimRearPortTemplatesBulkUpdate for application/json ContentType. +type DcimRearPortTemplatesBulkUpdateJSONRequestBody DcimRearPortTemplatesBulkUpdateJSONBody + +// DcimRearPortTemplatesPartialUpdateJSONRequestBody defines body for DcimRearPortTemplatesPartialUpdate for application/json ContentType. +type DcimRearPortTemplatesPartialUpdateJSONRequestBody DcimRearPortTemplatesPartialUpdateJSONBody + +// DcimRearPortTemplatesUpdateJSONRequestBody defines body for DcimRearPortTemplatesUpdate for application/json ContentType. +type DcimRearPortTemplatesUpdateJSONRequestBody DcimRearPortTemplatesUpdateJSONBody + +// DcimRearPortsBulkPartialUpdateJSONRequestBody defines body for DcimRearPortsBulkPartialUpdate for application/json ContentType. +type DcimRearPortsBulkPartialUpdateJSONRequestBody DcimRearPortsBulkPartialUpdateJSONBody + +// DcimRearPortsCreateJSONRequestBody defines body for DcimRearPortsCreate for application/json ContentType. +type DcimRearPortsCreateJSONRequestBody DcimRearPortsCreateJSONBody + +// DcimRearPortsBulkUpdateJSONRequestBody defines body for DcimRearPortsBulkUpdate for application/json ContentType. +type DcimRearPortsBulkUpdateJSONRequestBody DcimRearPortsBulkUpdateJSONBody + +// DcimRearPortsPartialUpdateJSONRequestBody defines body for DcimRearPortsPartialUpdate for application/json ContentType. +type DcimRearPortsPartialUpdateJSONRequestBody DcimRearPortsPartialUpdateJSONBody + +// DcimRearPortsUpdateJSONRequestBody defines body for DcimRearPortsUpdate for application/json ContentType. +type DcimRearPortsUpdateJSONRequestBody DcimRearPortsUpdateJSONBody + +// DcimRegionsBulkPartialUpdateJSONRequestBody defines body for DcimRegionsBulkPartialUpdate for application/json ContentType. +type DcimRegionsBulkPartialUpdateJSONRequestBody DcimRegionsBulkPartialUpdateJSONBody + +// DcimRegionsCreateJSONRequestBody defines body for DcimRegionsCreate for application/json ContentType. +type DcimRegionsCreateJSONRequestBody DcimRegionsCreateJSONBody + +// DcimRegionsBulkUpdateJSONRequestBody defines body for DcimRegionsBulkUpdate for application/json ContentType. +type DcimRegionsBulkUpdateJSONRequestBody DcimRegionsBulkUpdateJSONBody + +// DcimRegionsPartialUpdateJSONRequestBody defines body for DcimRegionsPartialUpdate for application/json ContentType. +type DcimRegionsPartialUpdateJSONRequestBody DcimRegionsPartialUpdateJSONBody + +// DcimRegionsUpdateJSONRequestBody defines body for DcimRegionsUpdate for application/json ContentType. +type DcimRegionsUpdateJSONRequestBody DcimRegionsUpdateJSONBody + +// DcimSitesBulkPartialUpdateJSONRequestBody defines body for DcimSitesBulkPartialUpdate for application/json ContentType. +type DcimSitesBulkPartialUpdateJSONRequestBody DcimSitesBulkPartialUpdateJSONBody + +// DcimSitesCreateJSONRequestBody defines body for DcimSitesCreate for application/json ContentType. +type DcimSitesCreateJSONRequestBody DcimSitesCreateJSONBody + +// DcimSitesBulkUpdateJSONRequestBody defines body for DcimSitesBulkUpdate for application/json ContentType. +type DcimSitesBulkUpdateJSONRequestBody DcimSitesBulkUpdateJSONBody + +// DcimSitesPartialUpdateJSONRequestBody defines body for DcimSitesPartialUpdate for application/json ContentType. +type DcimSitesPartialUpdateJSONRequestBody DcimSitesPartialUpdateJSONBody + +// DcimSitesUpdateJSONRequestBody defines body for DcimSitesUpdate for application/json ContentType. +type DcimSitesUpdateJSONRequestBody DcimSitesUpdateJSONBody + +// DcimVirtualChassisBulkPartialUpdateJSONRequestBody defines body for DcimVirtualChassisBulkPartialUpdate for application/json ContentType. +type DcimVirtualChassisBulkPartialUpdateJSONRequestBody DcimVirtualChassisBulkPartialUpdateJSONBody + +// DcimVirtualChassisCreateJSONRequestBody defines body for DcimVirtualChassisCreate for application/json ContentType. +type DcimVirtualChassisCreateJSONRequestBody DcimVirtualChassisCreateJSONBody + +// DcimVirtualChassisBulkUpdateJSONRequestBody defines body for DcimVirtualChassisBulkUpdate for application/json ContentType. +type DcimVirtualChassisBulkUpdateJSONRequestBody DcimVirtualChassisBulkUpdateJSONBody + +// DcimVirtualChassisPartialUpdateJSONRequestBody defines body for DcimVirtualChassisPartialUpdate for application/json ContentType. +type DcimVirtualChassisPartialUpdateJSONRequestBody DcimVirtualChassisPartialUpdateJSONBody + +// DcimVirtualChassisUpdateJSONRequestBody defines body for DcimVirtualChassisUpdate for application/json ContentType. +type DcimVirtualChassisUpdateJSONRequestBody DcimVirtualChassisUpdateJSONBody + +// ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody defines body for ExtrasComputedFieldsBulkPartialUpdate for application/json ContentType. +type ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody ExtrasComputedFieldsBulkPartialUpdateJSONBody + +// ExtrasComputedFieldsCreateJSONRequestBody defines body for ExtrasComputedFieldsCreate for application/json ContentType. +type ExtrasComputedFieldsCreateJSONRequestBody ExtrasComputedFieldsCreateJSONBody + +// ExtrasComputedFieldsBulkUpdateJSONRequestBody defines body for ExtrasComputedFieldsBulkUpdate for application/json ContentType. +type ExtrasComputedFieldsBulkUpdateJSONRequestBody ExtrasComputedFieldsBulkUpdateJSONBody + +// ExtrasComputedFieldsPartialUpdateJSONRequestBody defines body for ExtrasComputedFieldsPartialUpdate for application/json ContentType. +type ExtrasComputedFieldsPartialUpdateJSONRequestBody ExtrasComputedFieldsPartialUpdateJSONBody + +// ExtrasComputedFieldsUpdateJSONRequestBody defines body for ExtrasComputedFieldsUpdate for application/json ContentType. +type ExtrasComputedFieldsUpdateJSONRequestBody ExtrasComputedFieldsUpdateJSONBody + +// ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody defines body for ExtrasConfigContextSchemasBulkPartialUpdate for application/json ContentType. +type ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody ExtrasConfigContextSchemasBulkPartialUpdateJSONBody + +// ExtrasConfigContextSchemasCreateJSONRequestBody defines body for ExtrasConfigContextSchemasCreate for application/json ContentType. +type ExtrasConfigContextSchemasCreateJSONRequestBody ExtrasConfigContextSchemasCreateJSONBody + +// ExtrasConfigContextSchemasBulkUpdateJSONRequestBody defines body for ExtrasConfigContextSchemasBulkUpdate for application/json ContentType. +type ExtrasConfigContextSchemasBulkUpdateJSONRequestBody ExtrasConfigContextSchemasBulkUpdateJSONBody + +// ExtrasConfigContextSchemasPartialUpdateJSONRequestBody defines body for ExtrasConfigContextSchemasPartialUpdate for application/json ContentType. +type ExtrasConfigContextSchemasPartialUpdateJSONRequestBody ExtrasConfigContextSchemasPartialUpdateJSONBody + +// ExtrasConfigContextSchemasUpdateJSONRequestBody defines body for ExtrasConfigContextSchemasUpdate for application/json ContentType. +type ExtrasConfigContextSchemasUpdateJSONRequestBody ExtrasConfigContextSchemasUpdateJSONBody + +// ExtrasConfigContextsBulkPartialUpdateJSONRequestBody defines body for ExtrasConfigContextsBulkPartialUpdate for application/json ContentType. +type ExtrasConfigContextsBulkPartialUpdateJSONRequestBody ExtrasConfigContextsBulkPartialUpdateJSONBody + +// ExtrasConfigContextsCreateJSONRequestBody defines body for ExtrasConfigContextsCreate for application/json ContentType. +type ExtrasConfigContextsCreateJSONRequestBody ExtrasConfigContextsCreateJSONBody + +// ExtrasConfigContextsBulkUpdateJSONRequestBody defines body for ExtrasConfigContextsBulkUpdate for application/json ContentType. +type ExtrasConfigContextsBulkUpdateJSONRequestBody ExtrasConfigContextsBulkUpdateJSONBody + +// ExtrasConfigContextsPartialUpdateJSONRequestBody defines body for ExtrasConfigContextsPartialUpdate for application/json ContentType. +type ExtrasConfigContextsPartialUpdateJSONRequestBody ExtrasConfigContextsPartialUpdateJSONBody + +// ExtrasConfigContextsUpdateJSONRequestBody defines body for ExtrasConfigContextsUpdate for application/json ContentType. +type ExtrasConfigContextsUpdateJSONRequestBody ExtrasConfigContextsUpdateJSONBody + +// ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldChoicesBulkPartialUpdate for application/json ContentType. +type ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody ExtrasCustomFieldChoicesBulkPartialUpdateJSONBody + +// ExtrasCustomFieldChoicesCreateJSONRequestBody defines body for ExtrasCustomFieldChoicesCreate for application/json ContentType. +type ExtrasCustomFieldChoicesCreateJSONRequestBody ExtrasCustomFieldChoicesCreateJSONBody + +// ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody defines body for ExtrasCustomFieldChoicesBulkUpdate for application/json ContentType. +type ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody ExtrasCustomFieldChoicesBulkUpdateJSONBody + +// ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldChoicesPartialUpdate for application/json ContentType. +type ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody ExtrasCustomFieldChoicesPartialUpdateJSONBody + +// ExtrasCustomFieldChoicesUpdateJSONRequestBody defines body for ExtrasCustomFieldChoicesUpdate for application/json ContentType. +type ExtrasCustomFieldChoicesUpdateJSONRequestBody ExtrasCustomFieldChoicesUpdateJSONBody + +// ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldsBulkPartialUpdate for application/json ContentType. +type ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody ExtrasCustomFieldsBulkPartialUpdateJSONBody + +// ExtrasCustomFieldsCreateJSONRequestBody defines body for ExtrasCustomFieldsCreate for application/json ContentType. +type ExtrasCustomFieldsCreateJSONRequestBody ExtrasCustomFieldsCreateJSONBody + +// ExtrasCustomFieldsBulkUpdateJSONRequestBody defines body for ExtrasCustomFieldsBulkUpdate for application/json ContentType. +type ExtrasCustomFieldsBulkUpdateJSONRequestBody ExtrasCustomFieldsBulkUpdateJSONBody + +// ExtrasCustomFieldsPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldsPartialUpdate for application/json ContentType. +type ExtrasCustomFieldsPartialUpdateJSONRequestBody ExtrasCustomFieldsPartialUpdateJSONBody + +// ExtrasCustomFieldsUpdateJSONRequestBody defines body for ExtrasCustomFieldsUpdate for application/json ContentType. +type ExtrasCustomFieldsUpdateJSONRequestBody ExtrasCustomFieldsUpdateJSONBody + +// ExtrasCustomLinksBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomLinksBulkPartialUpdate for application/json ContentType. +type ExtrasCustomLinksBulkPartialUpdateJSONRequestBody ExtrasCustomLinksBulkPartialUpdateJSONBody + +// ExtrasCustomLinksCreateJSONRequestBody defines body for ExtrasCustomLinksCreate for application/json ContentType. +type ExtrasCustomLinksCreateJSONRequestBody ExtrasCustomLinksCreateJSONBody + +// ExtrasCustomLinksBulkUpdateJSONRequestBody defines body for ExtrasCustomLinksBulkUpdate for application/json ContentType. +type ExtrasCustomLinksBulkUpdateJSONRequestBody ExtrasCustomLinksBulkUpdateJSONBody + +// ExtrasCustomLinksPartialUpdateJSONRequestBody defines body for ExtrasCustomLinksPartialUpdate for application/json ContentType. +type ExtrasCustomLinksPartialUpdateJSONRequestBody ExtrasCustomLinksPartialUpdateJSONBody + +// ExtrasCustomLinksUpdateJSONRequestBody defines body for ExtrasCustomLinksUpdate for application/json ContentType. +type ExtrasCustomLinksUpdateJSONRequestBody ExtrasCustomLinksUpdateJSONBody + +// ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody defines body for ExtrasDynamicGroupsBulkPartialUpdate for application/json ContentType. +type ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody ExtrasDynamicGroupsBulkPartialUpdateJSONBody + +// ExtrasDynamicGroupsCreateJSONRequestBody defines body for ExtrasDynamicGroupsCreate for application/json ContentType. +type ExtrasDynamicGroupsCreateJSONRequestBody ExtrasDynamicGroupsCreateJSONBody + +// ExtrasDynamicGroupsBulkUpdateJSONRequestBody defines body for ExtrasDynamicGroupsBulkUpdate for application/json ContentType. +type ExtrasDynamicGroupsBulkUpdateJSONRequestBody ExtrasDynamicGroupsBulkUpdateJSONBody + +// ExtrasDynamicGroupsPartialUpdateJSONRequestBody defines body for ExtrasDynamicGroupsPartialUpdate for application/json ContentType. +type ExtrasDynamicGroupsPartialUpdateJSONRequestBody ExtrasDynamicGroupsPartialUpdateJSONBody + +// ExtrasDynamicGroupsUpdateJSONRequestBody defines body for ExtrasDynamicGroupsUpdate for application/json ContentType. +type ExtrasDynamicGroupsUpdateJSONRequestBody ExtrasDynamicGroupsUpdateJSONBody + +// ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody defines body for ExtrasExportTemplatesBulkPartialUpdate for application/json ContentType. +type ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody ExtrasExportTemplatesBulkPartialUpdateJSONBody + +// ExtrasExportTemplatesCreateJSONRequestBody defines body for ExtrasExportTemplatesCreate for application/json ContentType. +type ExtrasExportTemplatesCreateJSONRequestBody ExtrasExportTemplatesCreateJSONBody + +// ExtrasExportTemplatesBulkUpdateJSONRequestBody defines body for ExtrasExportTemplatesBulkUpdate for application/json ContentType. +type ExtrasExportTemplatesBulkUpdateJSONRequestBody ExtrasExportTemplatesBulkUpdateJSONBody + +// ExtrasExportTemplatesPartialUpdateJSONRequestBody defines body for ExtrasExportTemplatesPartialUpdate for application/json ContentType. +type ExtrasExportTemplatesPartialUpdateJSONRequestBody ExtrasExportTemplatesPartialUpdateJSONBody + +// ExtrasExportTemplatesUpdateJSONRequestBody defines body for ExtrasExportTemplatesUpdate for application/json ContentType. +type ExtrasExportTemplatesUpdateJSONRequestBody ExtrasExportTemplatesUpdateJSONBody + +// ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody defines body for ExtrasGitRepositoriesBulkPartialUpdate for application/json ContentType. +type ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody ExtrasGitRepositoriesBulkPartialUpdateJSONBody + +// ExtrasGitRepositoriesCreateJSONRequestBody defines body for ExtrasGitRepositoriesCreate for application/json ContentType. +type ExtrasGitRepositoriesCreateJSONRequestBody ExtrasGitRepositoriesCreateJSONBody + +// ExtrasGitRepositoriesBulkUpdateJSONRequestBody defines body for ExtrasGitRepositoriesBulkUpdate for application/json ContentType. +type ExtrasGitRepositoriesBulkUpdateJSONRequestBody ExtrasGitRepositoriesBulkUpdateJSONBody + +// ExtrasGitRepositoriesPartialUpdateJSONRequestBody defines body for ExtrasGitRepositoriesPartialUpdate for application/json ContentType. +type ExtrasGitRepositoriesPartialUpdateJSONRequestBody ExtrasGitRepositoriesPartialUpdateJSONBody + +// ExtrasGitRepositoriesUpdateJSONRequestBody defines body for ExtrasGitRepositoriesUpdate for application/json ContentType. +type ExtrasGitRepositoriesUpdateJSONRequestBody ExtrasGitRepositoriesUpdateJSONBody + +// ExtrasGitRepositoriesSyncCreateJSONRequestBody defines body for ExtrasGitRepositoriesSyncCreate for application/json ContentType. +type ExtrasGitRepositoriesSyncCreateJSONRequestBody ExtrasGitRepositoriesSyncCreateJSONBody + +// ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody defines body for ExtrasGraphqlQueriesBulkPartialUpdate for application/json ContentType. +type ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody ExtrasGraphqlQueriesBulkPartialUpdateJSONBody + +// ExtrasGraphqlQueriesCreateJSONRequestBody defines body for ExtrasGraphqlQueriesCreate for application/json ContentType. +type ExtrasGraphqlQueriesCreateJSONRequestBody ExtrasGraphqlQueriesCreateJSONBody + +// ExtrasGraphqlQueriesBulkUpdateJSONRequestBody defines body for ExtrasGraphqlQueriesBulkUpdate for application/json ContentType. +type ExtrasGraphqlQueriesBulkUpdateJSONRequestBody ExtrasGraphqlQueriesBulkUpdateJSONBody + +// ExtrasGraphqlQueriesPartialUpdateJSONRequestBody defines body for ExtrasGraphqlQueriesPartialUpdate for application/json ContentType. +type ExtrasGraphqlQueriesPartialUpdateJSONRequestBody ExtrasGraphqlQueriesPartialUpdateJSONBody + +// ExtrasGraphqlQueriesUpdateJSONRequestBody defines body for ExtrasGraphqlQueriesUpdate for application/json ContentType. +type ExtrasGraphqlQueriesUpdateJSONRequestBody ExtrasGraphqlQueriesUpdateJSONBody + +// ExtrasGraphqlQueriesRunCreateJSONRequestBody defines body for ExtrasGraphqlQueriesRunCreate for application/json ContentType. +type ExtrasGraphqlQueriesRunCreateJSONRequestBody ExtrasGraphqlQueriesRunCreateJSONBody + +// ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody defines body for ExtrasImageAttachmentsBulkPartialUpdate for application/json ContentType. +type ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody ExtrasImageAttachmentsBulkPartialUpdateJSONBody + +// ExtrasImageAttachmentsCreateJSONRequestBody defines body for ExtrasImageAttachmentsCreate for application/json ContentType. +type ExtrasImageAttachmentsCreateJSONRequestBody ExtrasImageAttachmentsCreateJSONBody + +// ExtrasImageAttachmentsBulkUpdateJSONRequestBody defines body for ExtrasImageAttachmentsBulkUpdate for application/json ContentType. +type ExtrasImageAttachmentsBulkUpdateJSONRequestBody ExtrasImageAttachmentsBulkUpdateJSONBody + +// ExtrasImageAttachmentsPartialUpdateJSONRequestBody defines body for ExtrasImageAttachmentsPartialUpdate for application/json ContentType. +type ExtrasImageAttachmentsPartialUpdateJSONRequestBody ExtrasImageAttachmentsPartialUpdateJSONBody + +// ExtrasImageAttachmentsUpdateJSONRequestBody defines body for ExtrasImageAttachmentsUpdate for application/json ContentType. +type ExtrasImageAttachmentsUpdateJSONRequestBody ExtrasImageAttachmentsUpdateJSONBody + +// ExtrasJobResultsBulkPartialUpdateJSONRequestBody defines body for ExtrasJobResultsBulkPartialUpdate for application/json ContentType. +type ExtrasJobResultsBulkPartialUpdateJSONRequestBody ExtrasJobResultsBulkPartialUpdateJSONBody + +// ExtrasJobResultsCreateJSONRequestBody defines body for ExtrasJobResultsCreate for application/json ContentType. +type ExtrasJobResultsCreateJSONRequestBody ExtrasJobResultsCreateJSONBody + +// ExtrasJobResultsBulkUpdateJSONRequestBody defines body for ExtrasJobResultsBulkUpdate for application/json ContentType. +type ExtrasJobResultsBulkUpdateJSONRequestBody ExtrasJobResultsBulkUpdateJSONBody + +// ExtrasJobResultsPartialUpdateJSONRequestBody defines body for ExtrasJobResultsPartialUpdate for application/json ContentType. +type ExtrasJobResultsPartialUpdateJSONRequestBody ExtrasJobResultsPartialUpdateJSONBody + +// ExtrasJobResultsUpdateJSONRequestBody defines body for ExtrasJobResultsUpdate for application/json ContentType. +type ExtrasJobResultsUpdateJSONRequestBody ExtrasJobResultsUpdateJSONBody + +// ExtrasJobsBulkPartialUpdateJSONRequestBody defines body for ExtrasJobsBulkPartialUpdate for application/json ContentType. +type ExtrasJobsBulkPartialUpdateJSONRequestBody ExtrasJobsBulkPartialUpdateJSONBody + +// ExtrasJobsBulkUpdateJSONRequestBody defines body for ExtrasJobsBulkUpdate for application/json ContentType. +type ExtrasJobsBulkUpdateJSONRequestBody ExtrasJobsBulkUpdateJSONBody + +// ExtrasJobsRunDeprecatedJSONRequestBody defines body for ExtrasJobsRunDeprecated for application/json ContentType. +type ExtrasJobsRunDeprecatedJSONRequestBody ExtrasJobsRunDeprecatedJSONBody + +// ExtrasJobsPartialUpdateJSONRequestBody defines body for ExtrasJobsPartialUpdate for application/json ContentType. +type ExtrasJobsPartialUpdateJSONRequestBody ExtrasJobsPartialUpdateJSONBody + +// ExtrasJobsUpdateJSONRequestBody defines body for ExtrasJobsUpdate for application/json ContentType. +type ExtrasJobsUpdateJSONRequestBody ExtrasJobsUpdateJSONBody + +// ExtrasJobsRunCreateJSONRequestBody defines body for ExtrasJobsRunCreate for application/json ContentType. +type ExtrasJobsRunCreateJSONRequestBody ExtrasJobsRunCreateJSONBody + +// ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody defines body for ExtrasRelationshipAssociationsBulkPartialUpdate for application/json ContentType. +type ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody ExtrasRelationshipAssociationsBulkPartialUpdateJSONBody + +// ExtrasRelationshipAssociationsCreateJSONRequestBody defines body for ExtrasRelationshipAssociationsCreate for application/json ContentType. +type ExtrasRelationshipAssociationsCreateJSONRequestBody ExtrasRelationshipAssociationsCreateJSONBody + +// ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody defines body for ExtrasRelationshipAssociationsBulkUpdate for application/json ContentType. +type ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody ExtrasRelationshipAssociationsBulkUpdateJSONBody + +// ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody defines body for ExtrasRelationshipAssociationsPartialUpdate for application/json ContentType. +type ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody ExtrasRelationshipAssociationsPartialUpdateJSONBody + +// ExtrasRelationshipAssociationsUpdateJSONRequestBody defines body for ExtrasRelationshipAssociationsUpdate for application/json ContentType. +type ExtrasRelationshipAssociationsUpdateJSONRequestBody ExtrasRelationshipAssociationsUpdateJSONBody + +// ExtrasRelationshipsBulkPartialUpdateJSONRequestBody defines body for ExtrasRelationshipsBulkPartialUpdate for application/json ContentType. +type ExtrasRelationshipsBulkPartialUpdateJSONRequestBody ExtrasRelationshipsBulkPartialUpdateJSONBody + +// ExtrasRelationshipsCreateJSONRequestBody defines body for ExtrasRelationshipsCreate for application/json ContentType. +type ExtrasRelationshipsCreateJSONRequestBody ExtrasRelationshipsCreateJSONBody + +// ExtrasRelationshipsBulkUpdateJSONRequestBody defines body for ExtrasRelationshipsBulkUpdate for application/json ContentType. +type ExtrasRelationshipsBulkUpdateJSONRequestBody ExtrasRelationshipsBulkUpdateJSONBody + +// ExtrasRelationshipsPartialUpdateJSONRequestBody defines body for ExtrasRelationshipsPartialUpdate for application/json ContentType. +type ExtrasRelationshipsPartialUpdateJSONRequestBody ExtrasRelationshipsPartialUpdateJSONBody + +// ExtrasRelationshipsUpdateJSONRequestBody defines body for ExtrasRelationshipsUpdate for application/json ContentType. +type ExtrasRelationshipsUpdateJSONRequestBody ExtrasRelationshipsUpdateJSONBody + +// ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsBulkPartialUpdate for application/json ContentType. +type ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONBody + +// ExtrasSecretsGroupsAssociationsCreateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsCreate for application/json ContentType. +type ExtrasSecretsGroupsAssociationsCreateJSONRequestBody ExtrasSecretsGroupsAssociationsCreateJSONBody + +// ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsBulkUpdate for application/json ContentType. +type ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody ExtrasSecretsGroupsAssociationsBulkUpdateJSONBody + +// ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsPartialUpdate for application/json ContentType. +type ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody ExtrasSecretsGroupsAssociationsPartialUpdateJSONBody + +// ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsUpdate for application/json ContentType. +type ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody ExtrasSecretsGroupsAssociationsUpdateJSONBody + +// ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody defines body for ExtrasSecretsGroupsBulkPartialUpdate for application/json ContentType. +type ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody ExtrasSecretsGroupsBulkPartialUpdateJSONBody + +// ExtrasSecretsGroupsCreateJSONRequestBody defines body for ExtrasSecretsGroupsCreate for application/json ContentType. +type ExtrasSecretsGroupsCreateJSONRequestBody ExtrasSecretsGroupsCreateJSONBody + +// ExtrasSecretsGroupsBulkUpdateJSONRequestBody defines body for ExtrasSecretsGroupsBulkUpdate for application/json ContentType. +type ExtrasSecretsGroupsBulkUpdateJSONRequestBody ExtrasSecretsGroupsBulkUpdateJSONBody + +// ExtrasSecretsGroupsPartialUpdateJSONRequestBody defines body for ExtrasSecretsGroupsPartialUpdate for application/json ContentType. +type ExtrasSecretsGroupsPartialUpdateJSONRequestBody ExtrasSecretsGroupsPartialUpdateJSONBody + +// ExtrasSecretsGroupsUpdateJSONRequestBody defines body for ExtrasSecretsGroupsUpdate for application/json ContentType. +type ExtrasSecretsGroupsUpdateJSONRequestBody ExtrasSecretsGroupsUpdateJSONBody + +// ExtrasSecretsBulkPartialUpdateJSONRequestBody defines body for ExtrasSecretsBulkPartialUpdate for application/json ContentType. +type ExtrasSecretsBulkPartialUpdateJSONRequestBody ExtrasSecretsBulkPartialUpdateJSONBody + +// ExtrasSecretsCreateJSONRequestBody defines body for ExtrasSecretsCreate for application/json ContentType. +type ExtrasSecretsCreateJSONRequestBody ExtrasSecretsCreateJSONBody + +// ExtrasSecretsBulkUpdateJSONRequestBody defines body for ExtrasSecretsBulkUpdate for application/json ContentType. +type ExtrasSecretsBulkUpdateJSONRequestBody ExtrasSecretsBulkUpdateJSONBody + +// ExtrasSecretsPartialUpdateJSONRequestBody defines body for ExtrasSecretsPartialUpdate for application/json ContentType. +type ExtrasSecretsPartialUpdateJSONRequestBody ExtrasSecretsPartialUpdateJSONBody + +// ExtrasSecretsUpdateJSONRequestBody defines body for ExtrasSecretsUpdate for application/json ContentType. +type ExtrasSecretsUpdateJSONRequestBody ExtrasSecretsUpdateJSONBody + +// ExtrasStatusesBulkPartialUpdateJSONRequestBody defines body for ExtrasStatusesBulkPartialUpdate for application/json ContentType. +type ExtrasStatusesBulkPartialUpdateJSONRequestBody ExtrasStatusesBulkPartialUpdateJSONBody + +// ExtrasStatusesCreateJSONRequestBody defines body for ExtrasStatusesCreate for application/json ContentType. +type ExtrasStatusesCreateJSONRequestBody ExtrasStatusesCreateJSONBody + +// ExtrasStatusesBulkUpdateJSONRequestBody defines body for ExtrasStatusesBulkUpdate for application/json ContentType. +type ExtrasStatusesBulkUpdateJSONRequestBody ExtrasStatusesBulkUpdateJSONBody + +// ExtrasStatusesPartialUpdateJSONRequestBody defines body for ExtrasStatusesPartialUpdate for application/json ContentType. +type ExtrasStatusesPartialUpdateJSONRequestBody ExtrasStatusesPartialUpdateJSONBody + +// ExtrasStatusesUpdateJSONRequestBody defines body for ExtrasStatusesUpdate for application/json ContentType. +type ExtrasStatusesUpdateJSONRequestBody ExtrasStatusesUpdateJSONBody + +// ExtrasTagsBulkPartialUpdateJSONRequestBody defines body for ExtrasTagsBulkPartialUpdate for application/json ContentType. +type ExtrasTagsBulkPartialUpdateJSONRequestBody ExtrasTagsBulkPartialUpdateJSONBody + +// ExtrasTagsCreateJSONRequestBody defines body for ExtrasTagsCreate for application/json ContentType. +type ExtrasTagsCreateJSONRequestBody ExtrasTagsCreateJSONBody + +// ExtrasTagsBulkUpdateJSONRequestBody defines body for ExtrasTagsBulkUpdate for application/json ContentType. +type ExtrasTagsBulkUpdateJSONRequestBody ExtrasTagsBulkUpdateJSONBody + +// ExtrasTagsPartialUpdateJSONRequestBody defines body for ExtrasTagsPartialUpdate for application/json ContentType. +type ExtrasTagsPartialUpdateJSONRequestBody ExtrasTagsPartialUpdateJSONBody + +// ExtrasTagsUpdateJSONRequestBody defines body for ExtrasTagsUpdate for application/json ContentType. +type ExtrasTagsUpdateJSONRequestBody ExtrasTagsUpdateJSONBody + +// ExtrasWebhooksBulkPartialUpdateJSONRequestBody defines body for ExtrasWebhooksBulkPartialUpdate for application/json ContentType. +type ExtrasWebhooksBulkPartialUpdateJSONRequestBody ExtrasWebhooksBulkPartialUpdateJSONBody + +// ExtrasWebhooksCreateJSONRequestBody defines body for ExtrasWebhooksCreate for application/json ContentType. +type ExtrasWebhooksCreateJSONRequestBody ExtrasWebhooksCreateJSONBody + +// ExtrasWebhooksBulkUpdateJSONRequestBody defines body for ExtrasWebhooksBulkUpdate for application/json ContentType. +type ExtrasWebhooksBulkUpdateJSONRequestBody ExtrasWebhooksBulkUpdateJSONBody + +// ExtrasWebhooksPartialUpdateJSONRequestBody defines body for ExtrasWebhooksPartialUpdate for application/json ContentType. +type ExtrasWebhooksPartialUpdateJSONRequestBody ExtrasWebhooksPartialUpdateJSONBody + +// ExtrasWebhooksUpdateJSONRequestBody defines body for ExtrasWebhooksUpdate for application/json ContentType. +type ExtrasWebhooksUpdateJSONRequestBody ExtrasWebhooksUpdateJSONBody + +// GraphqlCreateJSONRequestBody defines body for GraphqlCreate for application/json ContentType. +type GraphqlCreateJSONRequestBody GraphqlCreateJSONBody + +// IpamAggregatesBulkPartialUpdateJSONRequestBody defines body for IpamAggregatesBulkPartialUpdate for application/json ContentType. +type IpamAggregatesBulkPartialUpdateJSONRequestBody IpamAggregatesBulkPartialUpdateJSONBody + +// IpamAggregatesCreateJSONRequestBody defines body for IpamAggregatesCreate for application/json ContentType. +type IpamAggregatesCreateJSONRequestBody IpamAggregatesCreateJSONBody + +// IpamAggregatesBulkUpdateJSONRequestBody defines body for IpamAggregatesBulkUpdate for application/json ContentType. +type IpamAggregatesBulkUpdateJSONRequestBody IpamAggregatesBulkUpdateJSONBody + +// IpamAggregatesPartialUpdateJSONRequestBody defines body for IpamAggregatesPartialUpdate for application/json ContentType. +type IpamAggregatesPartialUpdateJSONRequestBody IpamAggregatesPartialUpdateJSONBody + +// IpamAggregatesUpdateJSONRequestBody defines body for IpamAggregatesUpdate for application/json ContentType. +type IpamAggregatesUpdateJSONRequestBody IpamAggregatesUpdateJSONBody + +// IpamIpAddressesBulkPartialUpdateJSONRequestBody defines body for IpamIpAddressesBulkPartialUpdate for application/json ContentType. +type IpamIpAddressesBulkPartialUpdateJSONRequestBody IpamIpAddressesBulkPartialUpdateJSONBody + +// IpamIpAddressesCreateJSONRequestBody defines body for IpamIpAddressesCreate for application/json ContentType. +type IpamIpAddressesCreateJSONRequestBody IpamIpAddressesCreateJSONBody + +// IpamIpAddressesBulkUpdateJSONRequestBody defines body for IpamIpAddressesBulkUpdate for application/json ContentType. +type IpamIpAddressesBulkUpdateJSONRequestBody IpamIpAddressesBulkUpdateJSONBody + +// IpamIpAddressesPartialUpdateJSONRequestBody defines body for IpamIpAddressesPartialUpdate for application/json ContentType. +type IpamIpAddressesPartialUpdateJSONRequestBody IpamIpAddressesPartialUpdateJSONBody + +// IpamIpAddressesUpdateJSONRequestBody defines body for IpamIpAddressesUpdate for application/json ContentType. +type IpamIpAddressesUpdateJSONRequestBody IpamIpAddressesUpdateJSONBody + +// IpamPrefixesBulkPartialUpdateJSONRequestBody defines body for IpamPrefixesBulkPartialUpdate for application/json ContentType. +type IpamPrefixesBulkPartialUpdateJSONRequestBody IpamPrefixesBulkPartialUpdateJSONBody + +// IpamPrefixesCreateJSONRequestBody defines body for IpamPrefixesCreate for application/json ContentType. +type IpamPrefixesCreateJSONRequestBody IpamPrefixesCreateJSONBody + +// IpamPrefixesBulkUpdateJSONRequestBody defines body for IpamPrefixesBulkUpdate for application/json ContentType. +type IpamPrefixesBulkUpdateJSONRequestBody IpamPrefixesBulkUpdateJSONBody + +// IpamPrefixesPartialUpdateJSONRequestBody defines body for IpamPrefixesPartialUpdate for application/json ContentType. +type IpamPrefixesPartialUpdateJSONRequestBody IpamPrefixesPartialUpdateJSONBody + +// IpamPrefixesUpdateJSONRequestBody defines body for IpamPrefixesUpdate for application/json ContentType. +type IpamPrefixesUpdateJSONRequestBody IpamPrefixesUpdateJSONBody + +// IpamPrefixesAvailableIpsCreateJSONRequestBody defines body for IpamPrefixesAvailableIpsCreate for application/json ContentType. +type IpamPrefixesAvailableIpsCreateJSONRequestBody IpamPrefixesAvailableIpsCreateJSONBody + +// IpamPrefixesAvailablePrefixesCreateJSONRequestBody defines body for IpamPrefixesAvailablePrefixesCreate for application/json ContentType. +type IpamPrefixesAvailablePrefixesCreateJSONRequestBody IpamPrefixesAvailablePrefixesCreateJSONBody + +// IpamRirsBulkPartialUpdateJSONRequestBody defines body for IpamRirsBulkPartialUpdate for application/json ContentType. +type IpamRirsBulkPartialUpdateJSONRequestBody IpamRirsBulkPartialUpdateJSONBody + +// IpamRirsCreateJSONRequestBody defines body for IpamRirsCreate for application/json ContentType. +type IpamRirsCreateJSONRequestBody IpamRirsCreateJSONBody + +// IpamRirsBulkUpdateJSONRequestBody defines body for IpamRirsBulkUpdate for application/json ContentType. +type IpamRirsBulkUpdateJSONRequestBody IpamRirsBulkUpdateJSONBody + +// IpamRirsPartialUpdateJSONRequestBody defines body for IpamRirsPartialUpdate for application/json ContentType. +type IpamRirsPartialUpdateJSONRequestBody IpamRirsPartialUpdateJSONBody + +// IpamRirsUpdateJSONRequestBody defines body for IpamRirsUpdate for application/json ContentType. +type IpamRirsUpdateJSONRequestBody IpamRirsUpdateJSONBody + +// IpamRolesBulkPartialUpdateJSONRequestBody defines body for IpamRolesBulkPartialUpdate for application/json ContentType. +type IpamRolesBulkPartialUpdateJSONRequestBody IpamRolesBulkPartialUpdateJSONBody + +// IpamRolesCreateJSONRequestBody defines body for IpamRolesCreate for application/json ContentType. +type IpamRolesCreateJSONRequestBody IpamRolesCreateJSONBody + +// IpamRolesBulkUpdateJSONRequestBody defines body for IpamRolesBulkUpdate for application/json ContentType. +type IpamRolesBulkUpdateJSONRequestBody IpamRolesBulkUpdateJSONBody + +// IpamRolesPartialUpdateJSONRequestBody defines body for IpamRolesPartialUpdate for application/json ContentType. +type IpamRolesPartialUpdateJSONRequestBody IpamRolesPartialUpdateJSONBody + +// IpamRolesUpdateJSONRequestBody defines body for IpamRolesUpdate for application/json ContentType. +type IpamRolesUpdateJSONRequestBody IpamRolesUpdateJSONBody + +// IpamRouteTargetsBulkPartialUpdateJSONRequestBody defines body for IpamRouteTargetsBulkPartialUpdate for application/json ContentType. +type IpamRouteTargetsBulkPartialUpdateJSONRequestBody IpamRouteTargetsBulkPartialUpdateJSONBody + +// IpamRouteTargetsCreateJSONRequestBody defines body for IpamRouteTargetsCreate for application/json ContentType. +type IpamRouteTargetsCreateJSONRequestBody IpamRouteTargetsCreateJSONBody + +// IpamRouteTargetsBulkUpdateJSONRequestBody defines body for IpamRouteTargetsBulkUpdate for application/json ContentType. +type IpamRouteTargetsBulkUpdateJSONRequestBody IpamRouteTargetsBulkUpdateJSONBody + +// IpamRouteTargetsPartialUpdateJSONRequestBody defines body for IpamRouteTargetsPartialUpdate for application/json ContentType. +type IpamRouteTargetsPartialUpdateJSONRequestBody IpamRouteTargetsPartialUpdateJSONBody + +// IpamRouteTargetsUpdateJSONRequestBody defines body for IpamRouteTargetsUpdate for application/json ContentType. +type IpamRouteTargetsUpdateJSONRequestBody IpamRouteTargetsUpdateJSONBody + +// IpamServicesBulkPartialUpdateJSONRequestBody defines body for IpamServicesBulkPartialUpdate for application/json ContentType. +type IpamServicesBulkPartialUpdateJSONRequestBody IpamServicesBulkPartialUpdateJSONBody + +// IpamServicesCreateJSONRequestBody defines body for IpamServicesCreate for application/json ContentType. +type IpamServicesCreateJSONRequestBody IpamServicesCreateJSONBody + +// IpamServicesBulkUpdateJSONRequestBody defines body for IpamServicesBulkUpdate for application/json ContentType. +type IpamServicesBulkUpdateJSONRequestBody IpamServicesBulkUpdateJSONBody + +// IpamServicesPartialUpdateJSONRequestBody defines body for IpamServicesPartialUpdate for application/json ContentType. +type IpamServicesPartialUpdateJSONRequestBody IpamServicesPartialUpdateJSONBody + +// IpamServicesUpdateJSONRequestBody defines body for IpamServicesUpdate for application/json ContentType. +type IpamServicesUpdateJSONRequestBody IpamServicesUpdateJSONBody + +// IpamVlanGroupsBulkPartialUpdateJSONRequestBody defines body for IpamVlanGroupsBulkPartialUpdate for application/json ContentType. +type IpamVlanGroupsBulkPartialUpdateJSONRequestBody IpamVlanGroupsBulkPartialUpdateJSONBody + +// IpamVlanGroupsCreateJSONRequestBody defines body for IpamVlanGroupsCreate for application/json ContentType. +type IpamVlanGroupsCreateJSONRequestBody IpamVlanGroupsCreateJSONBody + +// IpamVlanGroupsBulkUpdateJSONRequestBody defines body for IpamVlanGroupsBulkUpdate for application/json ContentType. +type IpamVlanGroupsBulkUpdateJSONRequestBody IpamVlanGroupsBulkUpdateJSONBody + +// IpamVlanGroupsPartialUpdateJSONRequestBody defines body for IpamVlanGroupsPartialUpdate for application/json ContentType. +type IpamVlanGroupsPartialUpdateJSONRequestBody IpamVlanGroupsPartialUpdateJSONBody + +// IpamVlanGroupsUpdateJSONRequestBody defines body for IpamVlanGroupsUpdate for application/json ContentType. +type IpamVlanGroupsUpdateJSONRequestBody IpamVlanGroupsUpdateJSONBody + +// IpamVlansBulkPartialUpdateJSONRequestBody defines body for IpamVlansBulkPartialUpdate for application/json ContentType. +type IpamVlansBulkPartialUpdateJSONRequestBody IpamVlansBulkPartialUpdateJSONBody + +// IpamVlansCreateJSONRequestBody defines body for IpamVlansCreate for application/json ContentType. +type IpamVlansCreateJSONRequestBody IpamVlansCreateJSONBody + +// IpamVlansBulkUpdateJSONRequestBody defines body for IpamVlansBulkUpdate for application/json ContentType. +type IpamVlansBulkUpdateJSONRequestBody IpamVlansBulkUpdateJSONBody + +// IpamVlansPartialUpdateJSONRequestBody defines body for IpamVlansPartialUpdate for application/json ContentType. +type IpamVlansPartialUpdateJSONRequestBody IpamVlansPartialUpdateJSONBody + +// IpamVlansUpdateJSONRequestBody defines body for IpamVlansUpdate for application/json ContentType. +type IpamVlansUpdateJSONRequestBody IpamVlansUpdateJSONBody + +// IpamVrfsBulkPartialUpdateJSONRequestBody defines body for IpamVrfsBulkPartialUpdate for application/json ContentType. +type IpamVrfsBulkPartialUpdateJSONRequestBody IpamVrfsBulkPartialUpdateJSONBody + +// IpamVrfsCreateJSONRequestBody defines body for IpamVrfsCreate for application/json ContentType. +type IpamVrfsCreateJSONRequestBody IpamVrfsCreateJSONBody + +// IpamVrfsBulkUpdateJSONRequestBody defines body for IpamVrfsBulkUpdate for application/json ContentType. +type IpamVrfsBulkUpdateJSONRequestBody IpamVrfsBulkUpdateJSONBody + +// IpamVrfsPartialUpdateJSONRequestBody defines body for IpamVrfsPartialUpdate for application/json ContentType. +type IpamVrfsPartialUpdateJSONRequestBody IpamVrfsPartialUpdateJSONBody + +// IpamVrfsUpdateJSONRequestBody defines body for IpamVrfsUpdate for application/json ContentType. +type IpamVrfsUpdateJSONRequestBody IpamVrfsUpdateJSONBody + +// PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody defines body for PluginsChatopsAccessgrantBulkPartialUpdate for application/json ContentType. +type PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody PluginsChatopsAccessgrantBulkPartialUpdateJSONBody + +// PluginsChatopsAccessgrantCreateJSONRequestBody defines body for PluginsChatopsAccessgrantCreate for application/json ContentType. +type PluginsChatopsAccessgrantCreateJSONRequestBody PluginsChatopsAccessgrantCreateJSONBody + +// PluginsChatopsAccessgrantBulkUpdateJSONRequestBody defines body for PluginsChatopsAccessgrantBulkUpdate for application/json ContentType. +type PluginsChatopsAccessgrantBulkUpdateJSONRequestBody PluginsChatopsAccessgrantBulkUpdateJSONBody + +// PluginsChatopsAccessgrantPartialUpdateJSONRequestBody defines body for PluginsChatopsAccessgrantPartialUpdate for application/json ContentType. +type PluginsChatopsAccessgrantPartialUpdateJSONRequestBody PluginsChatopsAccessgrantPartialUpdateJSONBody + +// PluginsChatopsAccessgrantUpdateJSONRequestBody defines body for PluginsChatopsAccessgrantUpdate for application/json ContentType. +type PluginsChatopsAccessgrantUpdateJSONRequestBody PluginsChatopsAccessgrantUpdateJSONBody + +// PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody defines body for PluginsChatopsCommandtokenBulkPartialUpdate for application/json ContentType. +type PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody PluginsChatopsCommandtokenBulkPartialUpdateJSONBody + +// PluginsChatopsCommandtokenCreateJSONRequestBody defines body for PluginsChatopsCommandtokenCreate for application/json ContentType. +type PluginsChatopsCommandtokenCreateJSONRequestBody PluginsChatopsCommandtokenCreateJSONBody + +// PluginsChatopsCommandtokenBulkUpdateJSONRequestBody defines body for PluginsChatopsCommandtokenBulkUpdate for application/json ContentType. +type PluginsChatopsCommandtokenBulkUpdateJSONRequestBody PluginsChatopsCommandtokenBulkUpdateJSONBody + +// PluginsChatopsCommandtokenPartialUpdateJSONRequestBody defines body for PluginsChatopsCommandtokenPartialUpdate for application/json ContentType. +type PluginsChatopsCommandtokenPartialUpdateJSONRequestBody PluginsChatopsCommandtokenPartialUpdateJSONBody + +// PluginsChatopsCommandtokenUpdateJSONRequestBody defines body for PluginsChatopsCommandtokenUpdate for application/json ContentType. +type PluginsChatopsCommandtokenUpdateJSONRequestBody PluginsChatopsCommandtokenUpdateJSONBody + +// PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate for application/json ContentType. +type PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONBody + +// PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactCreate for application/json ContentType. +type PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactCreateJSONBody + +// PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactBulkUpdate for application/json ContentType. +type PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONBody + +// PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactPartialUpdate for application/json ContentType. +type PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONBody + +// PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactUpdate for application/json ContentType. +type PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactUpdateJSONBody + +// PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate for application/json ContentType. +type PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONBody + +// PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenanceCreate for application/json ContentType. +type PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody PluginsCircuitMaintenanceMaintenanceCreateJSONBody + +// PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenanceBulkUpdate for application/json ContentType. +type PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONBody + +// PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenancePartialUpdate for application/json ContentType. +type PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody PluginsCircuitMaintenanceMaintenancePartialUpdateJSONBody + +// PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenanceUpdate for application/json ContentType. +type PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody PluginsCircuitMaintenanceMaintenanceUpdateJSONBody + +// PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceNoteBulkPartialUpdate for application/json ContentType. +type PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONBody + +// PluginsCircuitMaintenanceNoteCreateJSONRequestBody defines body for PluginsCircuitMaintenanceNoteCreate for application/json ContentType. +type PluginsCircuitMaintenanceNoteCreateJSONRequestBody PluginsCircuitMaintenanceNoteCreateJSONBody + +// PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceNoteBulkUpdate for application/json ContentType. +type PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody PluginsCircuitMaintenanceNoteBulkUpdateJSONBody + +// PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceNotePartialUpdate for application/json ContentType. +type PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody PluginsCircuitMaintenanceNotePartialUpdateJSONBody + +// PluginsCircuitMaintenanceNoteUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceNoteUpdate for application/json ContentType. +type PluginsCircuitMaintenanceNoteUpdateJSONRequestBody PluginsCircuitMaintenanceNoteUpdateJSONBody + +// PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate for application/json ContentType. +type PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONBody + +// PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxCreate for application/json ContentType. +type PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody PluginsDataValidationEngineRulesMinMaxCreateJSONBody + +// PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxBulkUpdate for application/json ContentType. +type PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONBody + +// PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxPartialUpdate for application/json ContentType. +type PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONBody + +// PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxUpdate for application/json ContentType. +type PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody PluginsDataValidationEngineRulesMinMaxUpdateJSONBody + +// PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexBulkPartialUpdate for application/json ContentType. +type PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONBody + +// PluginsDataValidationEngineRulesRegexCreateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexCreate for application/json ContentType. +type PluginsDataValidationEngineRulesRegexCreateJSONRequestBody PluginsDataValidationEngineRulesRegexCreateJSONBody + +// PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexBulkUpdate for application/json ContentType. +type PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody PluginsDataValidationEngineRulesRegexBulkUpdateJSONBody + +// PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexPartialUpdate for application/json ContentType. +type PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody PluginsDataValidationEngineRulesRegexPartialUpdateJSONBody + +// PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexUpdate for application/json ContentType. +type PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody PluginsDataValidationEngineRulesRegexUpdateJSONBody + +// PluginsDeviceOnboardingOnboardingCreateJSONRequestBody defines body for PluginsDeviceOnboardingOnboardingCreate for application/json ContentType. +type PluginsDeviceOnboardingOnboardingCreateJSONRequestBody PluginsDeviceOnboardingOnboardingCreateJSONBody + +// PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeatureBulkPartialUpdate for application/json ContentType. +type PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONBody + +// PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeatureCreate for application/json ContentType. +type PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody PluginsGoldenConfigComplianceFeatureCreateJSONBody + +// PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeatureBulkUpdate for application/json ContentType. +type PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody PluginsGoldenConfigComplianceFeatureBulkUpdateJSONBody + +// PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeaturePartialUpdate for application/json ContentType. +type PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody PluginsGoldenConfigComplianceFeaturePartialUpdateJSONBody + +// PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeatureUpdate for application/json ContentType. +type PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody PluginsGoldenConfigComplianceFeatureUpdateJSONBody + +// PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceRuleBulkPartialUpdate for application/json ContentType. +type PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONBody + +// PluginsGoldenConfigComplianceRuleCreateJSONRequestBody defines body for PluginsGoldenConfigComplianceRuleCreate for application/json ContentType. +type PluginsGoldenConfigComplianceRuleCreateJSONRequestBody PluginsGoldenConfigComplianceRuleCreateJSONBody + +// PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceRuleBulkUpdate for application/json ContentType. +type PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody PluginsGoldenConfigComplianceRuleBulkUpdateJSONBody + +// PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceRulePartialUpdate for application/json ContentType. +type PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody PluginsGoldenConfigComplianceRulePartialUpdateJSONBody + +// PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceRuleUpdate for application/json ContentType. +type PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody PluginsGoldenConfigComplianceRuleUpdateJSONBody + +// PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigComplianceBulkPartialUpdate for application/json ContentType. +type PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONBody + +// PluginsGoldenConfigConfigComplianceCreateJSONRequestBody defines body for PluginsGoldenConfigConfigComplianceCreate for application/json ContentType. +type PluginsGoldenConfigConfigComplianceCreateJSONRequestBody PluginsGoldenConfigConfigComplianceCreateJSONBody + +// PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigComplianceBulkUpdate for application/json ContentType. +type PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody PluginsGoldenConfigConfigComplianceBulkUpdateJSONBody + +// PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigCompliancePartialUpdate for application/json ContentType. +type PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody PluginsGoldenConfigConfigCompliancePartialUpdateJSONBody + +// PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigComplianceUpdate for application/json ContentType. +type PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody PluginsGoldenConfigConfigComplianceUpdateJSONBody + +// PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigRemoveBulkPartialUpdate for application/json ContentType. +type PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONBody + +// PluginsGoldenConfigConfigRemoveCreateJSONRequestBody defines body for PluginsGoldenConfigConfigRemoveCreate for application/json ContentType. +type PluginsGoldenConfigConfigRemoveCreateJSONRequestBody PluginsGoldenConfigConfigRemoveCreateJSONBody + +// PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigRemoveBulkUpdate for application/json ContentType. +type PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody PluginsGoldenConfigConfigRemoveBulkUpdateJSONBody + +// PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigRemovePartialUpdate for application/json ContentType. +type PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody PluginsGoldenConfigConfigRemovePartialUpdateJSONBody + +// PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigRemoveUpdate for application/json ContentType. +type PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody PluginsGoldenConfigConfigRemoveUpdateJSONBody + +// PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigReplaceBulkPartialUpdate for application/json ContentType. +type PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONBody + +// PluginsGoldenConfigConfigReplaceCreateJSONRequestBody defines body for PluginsGoldenConfigConfigReplaceCreate for application/json ContentType. +type PluginsGoldenConfigConfigReplaceCreateJSONRequestBody PluginsGoldenConfigConfigReplaceCreateJSONBody + +// PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigReplaceBulkUpdate for application/json ContentType. +type PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody PluginsGoldenConfigConfigReplaceBulkUpdateJSONBody + +// PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigReplacePartialUpdate for application/json ContentType. +type PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody PluginsGoldenConfigConfigReplacePartialUpdateJSONBody + +// PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigReplaceUpdate for application/json ContentType. +type PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody PluginsGoldenConfigConfigReplaceUpdateJSONBody + +// PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONBody + +// PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsCreate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsCreateJSONBody + +// PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsBulkUpdate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONBody + +// PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsPartialUpdate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONBody + +// PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsUpdate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsUpdateJSONBody + +// PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigBulkPartialUpdate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONBody + +// PluginsGoldenConfigGoldenConfigCreateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigCreate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigCreateJSONRequestBody PluginsGoldenConfigGoldenConfigCreateJSONBody + +// PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigBulkUpdate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigBulkUpdateJSONBody + +// PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigPartialUpdate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigPartialUpdateJSONBody + +// PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigUpdate for application/json ContentType. +type PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactCreate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactCreateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractCreate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractCreateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCveCreate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCveCreateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCveUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwareCreate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwareUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderCreate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareCreate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONBody + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONBody + +// TenancyTenantGroupsBulkPartialUpdateJSONRequestBody defines body for TenancyTenantGroupsBulkPartialUpdate for application/json ContentType. +type TenancyTenantGroupsBulkPartialUpdateJSONRequestBody TenancyTenantGroupsBulkPartialUpdateJSONBody + +// TenancyTenantGroupsCreateJSONRequestBody defines body for TenancyTenantGroupsCreate for application/json ContentType. +type TenancyTenantGroupsCreateJSONRequestBody TenancyTenantGroupsCreateJSONBody + +// TenancyTenantGroupsBulkUpdateJSONRequestBody defines body for TenancyTenantGroupsBulkUpdate for application/json ContentType. +type TenancyTenantGroupsBulkUpdateJSONRequestBody TenancyTenantGroupsBulkUpdateJSONBody + +// TenancyTenantGroupsPartialUpdateJSONRequestBody defines body for TenancyTenantGroupsPartialUpdate for application/json ContentType. +type TenancyTenantGroupsPartialUpdateJSONRequestBody TenancyTenantGroupsPartialUpdateJSONBody + +// TenancyTenantGroupsUpdateJSONRequestBody defines body for TenancyTenantGroupsUpdate for application/json ContentType. +type TenancyTenantGroupsUpdateJSONRequestBody TenancyTenantGroupsUpdateJSONBody + +// TenancyTenantsBulkPartialUpdateJSONRequestBody defines body for TenancyTenantsBulkPartialUpdate for application/json ContentType. +type TenancyTenantsBulkPartialUpdateJSONRequestBody TenancyTenantsBulkPartialUpdateJSONBody + +// TenancyTenantsCreateJSONRequestBody defines body for TenancyTenantsCreate for application/json ContentType. +type TenancyTenantsCreateJSONRequestBody TenancyTenantsCreateJSONBody + +// TenancyTenantsBulkUpdateJSONRequestBody defines body for TenancyTenantsBulkUpdate for application/json ContentType. +type TenancyTenantsBulkUpdateJSONRequestBody TenancyTenantsBulkUpdateJSONBody + +// TenancyTenantsPartialUpdateJSONRequestBody defines body for TenancyTenantsPartialUpdate for application/json ContentType. +type TenancyTenantsPartialUpdateJSONRequestBody TenancyTenantsPartialUpdateJSONBody + +// TenancyTenantsUpdateJSONRequestBody defines body for TenancyTenantsUpdate for application/json ContentType. +type TenancyTenantsUpdateJSONRequestBody TenancyTenantsUpdateJSONBody + +// UsersGroupsBulkPartialUpdateJSONRequestBody defines body for UsersGroupsBulkPartialUpdate for application/json ContentType. +type UsersGroupsBulkPartialUpdateJSONRequestBody UsersGroupsBulkPartialUpdateJSONBody + +// UsersGroupsCreateJSONRequestBody defines body for UsersGroupsCreate for application/json ContentType. +type UsersGroupsCreateJSONRequestBody UsersGroupsCreateJSONBody + +// UsersGroupsBulkUpdateJSONRequestBody defines body for UsersGroupsBulkUpdate for application/json ContentType. +type UsersGroupsBulkUpdateJSONRequestBody UsersGroupsBulkUpdateJSONBody + +// UsersGroupsPartialUpdateJSONRequestBody defines body for UsersGroupsPartialUpdate for application/json ContentType. +type UsersGroupsPartialUpdateJSONRequestBody UsersGroupsPartialUpdateJSONBody + +// UsersGroupsUpdateJSONRequestBody defines body for UsersGroupsUpdate for application/json ContentType. +type UsersGroupsUpdateJSONRequestBody UsersGroupsUpdateJSONBody + +// UsersPermissionsBulkPartialUpdateJSONRequestBody defines body for UsersPermissionsBulkPartialUpdate for application/json ContentType. +type UsersPermissionsBulkPartialUpdateJSONRequestBody UsersPermissionsBulkPartialUpdateJSONBody + +// UsersPermissionsCreateJSONRequestBody defines body for UsersPermissionsCreate for application/json ContentType. +type UsersPermissionsCreateJSONRequestBody UsersPermissionsCreateJSONBody + +// UsersPermissionsBulkUpdateJSONRequestBody defines body for UsersPermissionsBulkUpdate for application/json ContentType. +type UsersPermissionsBulkUpdateJSONRequestBody UsersPermissionsBulkUpdateJSONBody + +// UsersPermissionsPartialUpdateJSONRequestBody defines body for UsersPermissionsPartialUpdate for application/json ContentType. +type UsersPermissionsPartialUpdateJSONRequestBody UsersPermissionsPartialUpdateJSONBody + +// UsersPermissionsUpdateJSONRequestBody defines body for UsersPermissionsUpdate for application/json ContentType. +type UsersPermissionsUpdateJSONRequestBody UsersPermissionsUpdateJSONBody + +// UsersTokensBulkPartialUpdateJSONRequestBody defines body for UsersTokensBulkPartialUpdate for application/json ContentType. +type UsersTokensBulkPartialUpdateJSONRequestBody UsersTokensBulkPartialUpdateJSONBody + +// UsersTokensCreateJSONRequestBody defines body for UsersTokensCreate for application/json ContentType. +type UsersTokensCreateJSONRequestBody UsersTokensCreateJSONBody + +// UsersTokensBulkUpdateJSONRequestBody defines body for UsersTokensBulkUpdate for application/json ContentType. +type UsersTokensBulkUpdateJSONRequestBody UsersTokensBulkUpdateJSONBody + +// UsersTokensPartialUpdateJSONRequestBody defines body for UsersTokensPartialUpdate for application/json ContentType. +type UsersTokensPartialUpdateJSONRequestBody UsersTokensPartialUpdateJSONBody + +// UsersTokensUpdateJSONRequestBody defines body for UsersTokensUpdate for application/json ContentType. +type UsersTokensUpdateJSONRequestBody UsersTokensUpdateJSONBody + +// UsersUsersBulkPartialUpdateJSONRequestBody defines body for UsersUsersBulkPartialUpdate for application/json ContentType. +type UsersUsersBulkPartialUpdateJSONRequestBody UsersUsersBulkPartialUpdateJSONBody + +// UsersUsersCreateJSONRequestBody defines body for UsersUsersCreate for application/json ContentType. +type UsersUsersCreateJSONRequestBody UsersUsersCreateJSONBody + +// UsersUsersBulkUpdateJSONRequestBody defines body for UsersUsersBulkUpdate for application/json ContentType. +type UsersUsersBulkUpdateJSONRequestBody UsersUsersBulkUpdateJSONBody + +// UsersUsersPartialUpdateJSONRequestBody defines body for UsersUsersPartialUpdate for application/json ContentType. +type UsersUsersPartialUpdateJSONRequestBody UsersUsersPartialUpdateJSONBody + +// UsersUsersUpdateJSONRequestBody defines body for UsersUsersUpdate for application/json ContentType. +type UsersUsersUpdateJSONRequestBody UsersUsersUpdateJSONBody + +// VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody defines body for VirtualizationClusterGroupsBulkPartialUpdate for application/json ContentType. +type VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody VirtualizationClusterGroupsBulkPartialUpdateJSONBody + +// VirtualizationClusterGroupsCreateJSONRequestBody defines body for VirtualizationClusterGroupsCreate for application/json ContentType. +type VirtualizationClusterGroupsCreateJSONRequestBody VirtualizationClusterGroupsCreateJSONBody + +// VirtualizationClusterGroupsBulkUpdateJSONRequestBody defines body for VirtualizationClusterGroupsBulkUpdate for application/json ContentType. +type VirtualizationClusterGroupsBulkUpdateJSONRequestBody VirtualizationClusterGroupsBulkUpdateJSONBody + +// VirtualizationClusterGroupsPartialUpdateJSONRequestBody defines body for VirtualizationClusterGroupsPartialUpdate for application/json ContentType. +type VirtualizationClusterGroupsPartialUpdateJSONRequestBody VirtualizationClusterGroupsPartialUpdateJSONBody + +// VirtualizationClusterGroupsUpdateJSONRequestBody defines body for VirtualizationClusterGroupsUpdate for application/json ContentType. +type VirtualizationClusterGroupsUpdateJSONRequestBody VirtualizationClusterGroupsUpdateJSONBody + +// VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody defines body for VirtualizationClusterTypesBulkPartialUpdate for application/json ContentType. +type VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody VirtualizationClusterTypesBulkPartialUpdateJSONBody + +// VirtualizationClusterTypesCreateJSONRequestBody defines body for VirtualizationClusterTypesCreate for application/json ContentType. +type VirtualizationClusterTypesCreateJSONRequestBody VirtualizationClusterTypesCreateJSONBody + +// VirtualizationClusterTypesBulkUpdateJSONRequestBody defines body for VirtualizationClusterTypesBulkUpdate for application/json ContentType. +type VirtualizationClusterTypesBulkUpdateJSONRequestBody VirtualizationClusterTypesBulkUpdateJSONBody + +// VirtualizationClusterTypesPartialUpdateJSONRequestBody defines body for VirtualizationClusterTypesPartialUpdate for application/json ContentType. +type VirtualizationClusterTypesPartialUpdateJSONRequestBody VirtualizationClusterTypesPartialUpdateJSONBody + +// VirtualizationClusterTypesUpdateJSONRequestBody defines body for VirtualizationClusterTypesUpdate for application/json ContentType. +type VirtualizationClusterTypesUpdateJSONRequestBody VirtualizationClusterTypesUpdateJSONBody + +// VirtualizationClustersBulkPartialUpdateJSONRequestBody defines body for VirtualizationClustersBulkPartialUpdate for application/json ContentType. +type VirtualizationClustersBulkPartialUpdateJSONRequestBody VirtualizationClustersBulkPartialUpdateJSONBody + +// VirtualizationClustersCreateJSONRequestBody defines body for VirtualizationClustersCreate for application/json ContentType. +type VirtualizationClustersCreateJSONRequestBody VirtualizationClustersCreateJSONBody + +// VirtualizationClustersBulkUpdateJSONRequestBody defines body for VirtualizationClustersBulkUpdate for application/json ContentType. +type VirtualizationClustersBulkUpdateJSONRequestBody VirtualizationClustersBulkUpdateJSONBody + +// VirtualizationClustersPartialUpdateJSONRequestBody defines body for VirtualizationClustersPartialUpdate for application/json ContentType. +type VirtualizationClustersPartialUpdateJSONRequestBody VirtualizationClustersPartialUpdateJSONBody + +// VirtualizationClustersUpdateJSONRequestBody defines body for VirtualizationClustersUpdate for application/json ContentType. +type VirtualizationClustersUpdateJSONRequestBody VirtualizationClustersUpdateJSONBody + +// VirtualizationInterfacesBulkPartialUpdateJSONRequestBody defines body for VirtualizationInterfacesBulkPartialUpdate for application/json ContentType. +type VirtualizationInterfacesBulkPartialUpdateJSONRequestBody VirtualizationInterfacesBulkPartialUpdateJSONBody + +// VirtualizationInterfacesCreateJSONRequestBody defines body for VirtualizationInterfacesCreate for application/json ContentType. +type VirtualizationInterfacesCreateJSONRequestBody VirtualizationInterfacesCreateJSONBody + +// VirtualizationInterfacesBulkUpdateJSONRequestBody defines body for VirtualizationInterfacesBulkUpdate for application/json ContentType. +type VirtualizationInterfacesBulkUpdateJSONRequestBody VirtualizationInterfacesBulkUpdateJSONBody + +// VirtualizationInterfacesPartialUpdateJSONRequestBody defines body for VirtualizationInterfacesPartialUpdate for application/json ContentType. +type VirtualizationInterfacesPartialUpdateJSONRequestBody VirtualizationInterfacesPartialUpdateJSONBody + +// VirtualizationInterfacesUpdateJSONRequestBody defines body for VirtualizationInterfacesUpdate for application/json ContentType. +type VirtualizationInterfacesUpdateJSONRequestBody VirtualizationInterfacesUpdateJSONBody + +// VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesBulkPartialUpdate for application/json ContentType. +type VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody VirtualizationVirtualMachinesBulkPartialUpdateJSONBody + +// VirtualizationVirtualMachinesCreateJSONRequestBody defines body for VirtualizationVirtualMachinesCreate for application/json ContentType. +type VirtualizationVirtualMachinesCreateJSONRequestBody VirtualizationVirtualMachinesCreateJSONBody + +// VirtualizationVirtualMachinesBulkUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesBulkUpdate for application/json ContentType. +type VirtualizationVirtualMachinesBulkUpdateJSONRequestBody VirtualizationVirtualMachinesBulkUpdateJSONBody + +// VirtualizationVirtualMachinesPartialUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesPartialUpdate for application/json ContentType. +type VirtualizationVirtualMachinesPartialUpdateJSONRequestBody VirtualizationVirtualMachinesPartialUpdateJSONBody + +// VirtualizationVirtualMachinesUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesUpdate for application/json ContentType. +type VirtualizationVirtualMachinesUpdateJSONRequestBody VirtualizationVirtualMachinesUpdateJSONBody + +// Getter for additional properties for Aggregate_CustomFields. Returns the specified +// element and whether it was found +func (a Aggregate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Aggregate_CustomFields to handle AdditionalProperties +func (a Aggregate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for CVELCM_CustomFields. Returns the specified +// element and whether it was found +func (a CVELCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for CVELCM_CustomFields to handle AdditionalProperties +func (a CVELCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Cable_CustomFields. Returns the specified +// element and whether it was found +func (a Cable_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Cable_CustomFields to handle AdditionalProperties +func (a Cable_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Cable_TerminationA. Returns the specified +// element and whether it was found +func (a Cable_TerminationA) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Cable_TerminationA to handle AdditionalProperties +func (a Cable_TerminationA) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Cable_TerminationB. Returns the specified +// element and whether it was found +func (a Cable_TerminationB) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Cable_TerminationB to handle AdditionalProperties +func (a Cable_TerminationB) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Circuit_CustomFields. Returns the specified +// element and whether it was found +func (a Circuit_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Circuit_CustomFields to handle AdditionalProperties +func (a Circuit_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for CircuitTermination_CablePeer. Returns the specified +// element and whether it was found +func (a CircuitTermination_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for CircuitTermination_CablePeer to handle AdditionalProperties +func (a CircuitTermination_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for CircuitTermination_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a CircuitTermination_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for CircuitTermination_ConnectedEndpoint to handle AdditionalProperties +func (a CircuitTermination_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for CircuitType_CustomFields. Returns the specified +// element and whether it was found +func (a CircuitType_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for CircuitType_CustomFields to handle AdditionalProperties +func (a CircuitType_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Cluster_CustomFields. Returns the specified +// element and whether it was found +func (a Cluster_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Cluster_CustomFields to handle AdditionalProperties +func (a Cluster_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ClusterGroup_CustomFields. Returns the specified +// element and whether it was found +func (a ClusterGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ClusterGroup_CustomFields to handle AdditionalProperties +func (a ClusterGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ClusterType_CustomFields. Returns the specified +// element and whether it was found +func (a ClusterType_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ClusterType_CustomFields to handle AdditionalProperties +func (a ClusterType_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ComplianceFeature_CustomFieldData. Returns the specified +// element and whether it was found +func (a ComplianceFeature_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ComplianceFeature_CustomFieldData to handle AdditionalProperties +func (a ComplianceFeature_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ComplianceFeature_ComputedFields. Returns the specified +// element and whether it was found +func (a ComplianceFeature_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ComplianceFeature_ComputedFields to handle AdditionalProperties +func (a ComplianceFeature_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ComplianceFeature_CustomFields. Returns the specified +// element and whether it was found +func (a ComplianceFeature_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ComplianceFeature_CustomFields to handle AdditionalProperties +func (a ComplianceFeature_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ComplianceRule_CustomFieldData. Returns the specified +// element and whether it was found +func (a ComplianceRule_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ComplianceRule_CustomFieldData to handle AdditionalProperties +func (a ComplianceRule_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ComplianceRule_ComputedFields. Returns the specified +// element and whether it was found +func (a ComplianceRule_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ComplianceRule_ComputedFields to handle AdditionalProperties +func (a ComplianceRule_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ComplianceRule_CustomFields. Returns the specified +// element and whether it was found +func (a ComplianceRule_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ComplianceRule_CustomFields to handle AdditionalProperties +func (a ComplianceRule_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigCompliance_CustomFieldData. Returns the specified +// element and whether it was found +func (a ConfigCompliance_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigCompliance_CustomFieldData to handle AdditionalProperties +func (a ConfigCompliance_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigCompliance_Actual. Returns the specified +// element and whether it was found +func (a ConfigCompliance_Actual) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigCompliance_Actual to handle AdditionalProperties +func (a ConfigCompliance_Actual) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigCompliance_ComputedFields. Returns the specified +// element and whether it was found +func (a ConfigCompliance_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigCompliance_ComputedFields to handle AdditionalProperties +func (a ConfigCompliance_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigCompliance_CustomFields. Returns the specified +// element and whether it was found +func (a ConfigCompliance_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigCompliance_CustomFields to handle AdditionalProperties +func (a ConfigCompliance_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigCompliance_Extra. Returns the specified +// element and whether it was found +func (a ConfigCompliance_Extra) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigCompliance_Extra to handle AdditionalProperties +func (a ConfigCompliance_Extra) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigCompliance_Intended. Returns the specified +// element and whether it was found +func (a ConfigCompliance_Intended) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigCompliance_Intended to handle AdditionalProperties +func (a ConfigCompliance_Intended) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigCompliance_Missing. Returns the specified +// element and whether it was found +func (a ConfigCompliance_Missing) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigCompliance_Missing to handle AdditionalProperties +func (a ConfigCompliance_Missing) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigContext_Data. Returns the specified +// element and whether it was found +func (a ConfigContext_Data) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigContext_Data to handle AdditionalProperties +func (a ConfigContext_Data) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigContext_Owner. Returns the specified +// element and whether it was found +func (a ConfigContext_Owner) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigContext_Owner to handle AdditionalProperties +func (a ConfigContext_Owner) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigContextSchema_DataSchema. Returns the specified +// element and whether it was found +func (a ConfigContextSchema_DataSchema) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigContextSchema_DataSchema to handle AdditionalProperties +func (a ConfigContextSchema_DataSchema) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigContextSchema_Owner. Returns the specified +// element and whether it was found +func (a ConfigContextSchema_Owner) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigContextSchema_Owner to handle AdditionalProperties +func (a ConfigContextSchema_Owner) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigRemove_CustomFieldData. Returns the specified +// element and whether it was found +func (a ConfigRemove_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigRemove_CustomFieldData to handle AdditionalProperties +func (a ConfigRemove_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigRemove_ComputedFields. Returns the specified +// element and whether it was found +func (a ConfigRemove_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigRemove_ComputedFields to handle AdditionalProperties +func (a ConfigRemove_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigRemove_CustomFields. Returns the specified +// element and whether it was found +func (a ConfigRemove_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigRemove_CustomFields to handle AdditionalProperties +func (a ConfigRemove_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigReplace_CustomFieldData. Returns the specified +// element and whether it was found +func (a ConfigReplace_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigReplace_CustomFieldData to handle AdditionalProperties +func (a ConfigReplace_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigReplace_ComputedFields. Returns the specified +// element and whether it was found +func (a ConfigReplace_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigReplace_ComputedFields to handle AdditionalProperties +func (a ConfigReplace_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConfigReplace_CustomFields. Returns the specified +// element and whether it was found +func (a ConfigReplace_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConfigReplace_CustomFields to handle AdditionalProperties +func (a ConfigReplace_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConsolePort_CablePeer. Returns the specified +// element and whether it was found +func (a ConsolePort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConsolePort_CablePeer to handle AdditionalProperties +func (a ConsolePort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConsolePort_ComputedFields. Returns the specified +// element and whether it was found +func (a ConsolePort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConsolePort_ComputedFields to handle AdditionalProperties +func (a ConsolePort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConsolePort_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a ConsolePort_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConsolePort_ConnectedEndpoint to handle AdditionalProperties +func (a ConsolePort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConsolePort_CustomFields. Returns the specified +// element and whether it was found +func (a ConsolePort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConsolePort_CustomFields to handle AdditionalProperties +func (a ConsolePort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConsolePortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a ConsolePortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConsolePortTemplate_CustomFields to handle AdditionalProperties +func (a ConsolePortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConsoleServerPort_CablePeer. Returns the specified +// element and whether it was found +func (a ConsoleServerPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConsoleServerPort_CablePeer to handle AdditionalProperties +func (a ConsoleServerPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConsoleServerPort_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a ConsoleServerPort_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConsoleServerPort_ConnectedEndpoint to handle AdditionalProperties +func (a ConsoleServerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConsoleServerPort_CustomFields. Returns the specified +// element and whether it was found +func (a ConsoleServerPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConsoleServerPort_CustomFields to handle AdditionalProperties +func (a ConsoleServerPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ConsoleServerPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a ConsoleServerPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ConsoleServerPortTemplate_CustomFields to handle AdditionalProperties +func (a ConsoleServerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ContactLCM_CustomFields. Returns the specified +// element and whether it was found +func (a ContactLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ContactLCM_CustomFields to handle AdditionalProperties +func (a ContactLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ContractLCM_CustomFields. Returns the specified +// element and whether it was found +func (a ContractLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ContractLCM_CustomFields to handle AdditionalProperties +func (a ContractLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for CustomField_Default. Returns the specified +// element and whether it was found +func (a CustomField_Default) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for CustomField_Default to handle AdditionalProperties +func (a CustomField_Default) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Device_ComputedFields. Returns the specified +// element and whether it was found +func (a Device_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Device_ComputedFields to handle AdditionalProperties +func (a Device_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Device_CustomFields. Returns the specified +// element and whether it was found +func (a Device_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Device_CustomFields to handle AdditionalProperties +func (a Device_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Device_LocalContextData. Returns the specified +// element and whether it was found +func (a Device_LocalContextData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Device_LocalContextData to handle AdditionalProperties +func (a Device_LocalContextData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for DeviceBay_CustomFields. Returns the specified +// element and whether it was found +func (a DeviceBay_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for DeviceBay_CustomFields to handle AdditionalProperties +func (a DeviceBay_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for DeviceBayTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a DeviceBayTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for DeviceBayTemplate_CustomFields to handle AdditionalProperties +func (a DeviceBayTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for DeviceNAPALM_Method. Returns the specified +// element and whether it was found +func (a DeviceNAPALM_Method) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for DeviceNAPALM_Method to handle AdditionalProperties +func (a DeviceNAPALM_Method) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for DeviceRole_CustomFields. Returns the specified +// element and whether it was found +func (a DeviceRole_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for DeviceRole_CustomFields to handle AdditionalProperties +func (a DeviceRole_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for DeviceType_CustomFields. Returns the specified +// element and whether it was found +func (a DeviceType_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for DeviceType_CustomFields to handle AdditionalProperties +func (a DeviceType_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for DeviceWithConfigContext_ConfigContext. Returns the specified +// element and whether it was found +func (a DeviceWithConfigContext_ConfigContext) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for DeviceWithConfigContext_ConfigContext to handle AdditionalProperties +func (a DeviceWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for DeviceWithConfigContext_CustomFields. Returns the specified +// element and whether it was found +func (a DeviceWithConfigContext_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for DeviceWithConfigContext_CustomFields to handle AdditionalProperties +func (a DeviceWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for DeviceWithConfigContext_LocalContextData. Returns the specified +// element and whether it was found +func (a DeviceWithConfigContext_LocalContextData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for DeviceWithConfigContext_LocalContextData to handle AdditionalProperties +func (a DeviceWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for DynamicGroup_Filter. Returns the specified +// element and whether it was found +func (a DynamicGroup_Filter) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for DynamicGroup_Filter to handle AdditionalProperties +func (a DynamicGroup_Filter) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ExportTemplate_Owner. Returns the specified +// element and whether it was found +func (a ExportTemplate_Owner) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ExportTemplate_Owner to handle AdditionalProperties +func (a ExportTemplate_Owner) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for FrontPort_CablePeer. Returns the specified +// element and whether it was found +func (a FrontPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for FrontPort_CablePeer to handle AdditionalProperties +func (a FrontPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for FrontPort_CustomFields. Returns the specified +// element and whether it was found +func (a FrontPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for FrontPort_CustomFields to handle AdditionalProperties +func (a FrontPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for FrontPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a FrontPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for FrontPortTemplate_CustomFields to handle AdditionalProperties +func (a FrontPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GitRepository_CustomFields. Returns the specified +// element and whether it was found +func (a GitRepository_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GitRepository_CustomFields to handle AdditionalProperties +func (a GitRepository_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GoldenConfig_CustomFieldData. Returns the specified +// element and whether it was found +func (a GoldenConfig_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GoldenConfig_CustomFieldData to handle AdditionalProperties +func (a GoldenConfig_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GoldenConfig_ComputedFields. Returns the specified +// element and whether it was found +func (a GoldenConfig_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GoldenConfig_ComputedFields to handle AdditionalProperties +func (a GoldenConfig_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GoldenConfig_CustomFields. Returns the specified +// element and whether it was found +func (a GoldenConfig_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GoldenConfig_CustomFields to handle AdditionalProperties +func (a GoldenConfig_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GoldenConfigSetting_CustomFieldData. Returns the specified +// element and whether it was found +func (a GoldenConfigSetting_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GoldenConfigSetting_CustomFieldData to handle AdditionalProperties +func (a GoldenConfigSetting_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GoldenConfigSetting_ComputedFields. Returns the specified +// element and whether it was found +func (a GoldenConfigSetting_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GoldenConfigSetting_ComputedFields to handle AdditionalProperties +func (a GoldenConfigSetting_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GoldenConfigSetting_CustomFields. Returns the specified +// element and whether it was found +func (a GoldenConfigSetting_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GoldenConfigSetting_CustomFields to handle AdditionalProperties +func (a GoldenConfigSetting_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GoldenConfigSetting_Scope. Returns the specified +// element and whether it was found +func (a GoldenConfigSetting_Scope) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GoldenConfigSetting_Scope to handle AdditionalProperties +func (a GoldenConfigSetting_Scope) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GraphQLAPI_Variables. Returns the specified +// element and whether it was found +func (a GraphQLAPI_Variables) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GraphQLAPI_Variables to handle AdditionalProperties +func (a GraphQLAPI_Variables) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GraphQLQuery_Variables. Returns the specified +// element and whether it was found +func (a GraphQLQuery_Variables) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GraphQLQuery_Variables to handle AdditionalProperties +func (a GraphQLQuery_Variables) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GraphQLQueryInput_Variables. Returns the specified +// element and whether it was found +func (a GraphQLQueryInput_Variables) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GraphQLQueryInput_Variables to handle AdditionalProperties +func (a GraphQLQueryInput_Variables) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for GraphQLQueryOutput_Data. Returns the specified +// element and whether it was found +func (a GraphQLQueryOutput_Data) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for GraphQLQueryOutput_Data to handle AdditionalProperties +func (a GraphQLQueryOutput_Data) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for HardwareLCM_CustomFields. Returns the specified +// element and whether it was found +func (a HardwareLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for HardwareLCM_CustomFields to handle AdditionalProperties +func (a HardwareLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for IPAddress_AssignedObject. Returns the specified +// element and whether it was found +func (a IPAddress_AssignedObject) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for IPAddress_AssignedObject to handle AdditionalProperties +func (a IPAddress_AssignedObject) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for IPAddress_CustomFields. Returns the specified +// element and whether it was found +func (a IPAddress_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for IPAddress_CustomFields to handle AdditionalProperties +func (a IPAddress_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ImageAttachment_Parent. Returns the specified +// element and whether it was found +func (a ImageAttachment_Parent) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ImageAttachment_Parent to handle AdditionalProperties +func (a ImageAttachment_Parent) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Interface_CablePeer. Returns the specified +// element and whether it was found +func (a Interface_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Interface_CablePeer to handle AdditionalProperties +func (a Interface_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Interface_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a Interface_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Interface_ConnectedEndpoint to handle AdditionalProperties +func (a Interface_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Interface_CustomFields. Returns the specified +// element and whether it was found +func (a Interface_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Interface_CustomFields to handle AdditionalProperties +func (a Interface_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for InterfaceTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a InterfaceTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for InterfaceTemplate_CustomFields to handle AdditionalProperties +func (a InterfaceTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for InventoryItem_CustomFields. Returns the specified +// element and whether it was found +func (a InventoryItem_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for InventoryItem_CustomFields to handle AdditionalProperties +func (a InventoryItem_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Job_CustomFields. Returns the specified +// element and whether it was found +func (a Job_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Job_CustomFields to handle AdditionalProperties +func (a Job_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for JobClassDetail_Vars. Returns the specified +// element and whether it was found +func (a JobClassDetail_Vars) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for JobClassDetail_Vars to handle AdditionalProperties +func (a JobClassDetail_Vars) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for JobInput_Data. Returns the specified +// element and whether it was found +func (a JobInput_Data) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for JobInput_Data to handle AdditionalProperties +func (a JobInput_Data) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for JobResult_Data. Returns the specified +// element and whether it was found +func (a JobResult_Data) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for JobResult_Data to handle AdditionalProperties +func (a JobResult_Data) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for JobVariable_Choices. Returns the specified +// element and whether it was found +func (a JobVariable_Choices) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for JobVariable_Choices to handle AdditionalProperties +func (a JobVariable_Choices) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for JobVariable_Default. Returns the specified +// element and whether it was found +func (a JobVariable_Default) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for JobVariable_Default to handle AdditionalProperties +func (a JobVariable_Default) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Manufacturer_CustomFields. Returns the specified +// element and whether it was found +func (a Manufacturer_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Manufacturer_CustomFields to handle AdditionalProperties +func (a Manufacturer_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ObjectChange_ChangedObject. Returns the specified +// element and whether it was found +func (a ObjectChange_ChangedObject) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ObjectChange_ChangedObject to handle AdditionalProperties +func (a ObjectChange_ChangedObject) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ObjectChange_ObjectData. Returns the specified +// element and whether it was found +func (a ObjectChange_ObjectData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ObjectChange_ObjectData to handle AdditionalProperties +func (a ObjectChange_ObjectData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ObjectPermission_Actions. Returns the specified +// element and whether it was found +func (a ObjectPermission_Actions) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ObjectPermission_Actions to handle AdditionalProperties +func (a ObjectPermission_Actions) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ObjectPermission_Constraints. Returns the specified +// element and whether it was found +func (a ObjectPermission_Constraints) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ObjectPermission_Constraints to handle AdditionalProperties +func (a ObjectPermission_Constraints) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedCVELCM_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedCVELCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedCVELCM_CustomFields to handle AdditionalProperties +func (a PatchedCVELCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedCircuitType_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedCircuitType_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedCircuitType_CustomFields to handle AdditionalProperties +func (a PatchedCircuitType_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedClusterGroup_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedClusterGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedClusterGroup_CustomFields to handle AdditionalProperties +func (a PatchedClusterGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedClusterType_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedClusterType_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedClusterType_CustomFields to handle AdditionalProperties +func (a PatchedClusterType_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedComplianceFeature_CustomFieldData. Returns the specified +// element and whether it was found +func (a PatchedComplianceFeature_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedComplianceFeature_CustomFieldData to handle AdditionalProperties +func (a PatchedComplianceFeature_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedComplianceFeature_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedComplianceFeature_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedComplianceFeature_ComputedFields to handle AdditionalProperties +func (a PatchedComplianceFeature_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedComplianceFeature_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedComplianceFeature_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedComplianceFeature_CustomFields to handle AdditionalProperties +func (a PatchedComplianceFeature_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedComplianceRule_CustomFieldData. Returns the specified +// element and whether it was found +func (a PatchedComplianceRule_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedComplianceRule_CustomFieldData to handle AdditionalProperties +func (a PatchedComplianceRule_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedComplianceRule_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedComplianceRule_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedComplianceRule_ComputedFields to handle AdditionalProperties +func (a PatchedComplianceRule_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedComplianceRule_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedComplianceRule_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedComplianceRule_CustomFields to handle AdditionalProperties +func (a PatchedComplianceRule_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigCompliance_CustomFieldData. Returns the specified +// element and whether it was found +func (a PatchedConfigCompliance_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigCompliance_CustomFieldData to handle AdditionalProperties +func (a PatchedConfigCompliance_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigCompliance_Actual. Returns the specified +// element and whether it was found +func (a PatchedConfigCompliance_Actual) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigCompliance_Actual to handle AdditionalProperties +func (a PatchedConfigCompliance_Actual) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigCompliance_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedConfigCompliance_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigCompliance_ComputedFields to handle AdditionalProperties +func (a PatchedConfigCompliance_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigCompliance_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedConfigCompliance_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigCompliance_CustomFields to handle AdditionalProperties +func (a PatchedConfigCompliance_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigCompliance_Extra. Returns the specified +// element and whether it was found +func (a PatchedConfigCompliance_Extra) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigCompliance_Extra to handle AdditionalProperties +func (a PatchedConfigCompliance_Extra) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigCompliance_Intended. Returns the specified +// element and whether it was found +func (a PatchedConfigCompliance_Intended) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigCompliance_Intended to handle AdditionalProperties +func (a PatchedConfigCompliance_Intended) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigCompliance_Missing. Returns the specified +// element and whether it was found +func (a PatchedConfigCompliance_Missing) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigCompliance_Missing to handle AdditionalProperties +func (a PatchedConfigCompliance_Missing) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigContextSchema_DataSchema. Returns the specified +// element and whether it was found +func (a PatchedConfigContextSchema_DataSchema) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigContextSchema_DataSchema to handle AdditionalProperties +func (a PatchedConfigContextSchema_DataSchema) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigContextSchema_Owner. Returns the specified +// element and whether it was found +func (a PatchedConfigContextSchema_Owner) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigContextSchema_Owner to handle AdditionalProperties +func (a PatchedConfigContextSchema_Owner) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigRemove_CustomFieldData. Returns the specified +// element and whether it was found +func (a PatchedConfigRemove_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigRemove_CustomFieldData to handle AdditionalProperties +func (a PatchedConfigRemove_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigRemove_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedConfigRemove_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigRemove_ComputedFields to handle AdditionalProperties +func (a PatchedConfigRemove_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigRemove_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedConfigRemove_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigRemove_CustomFields to handle AdditionalProperties +func (a PatchedConfigRemove_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigReplace_CustomFieldData. Returns the specified +// element and whether it was found +func (a PatchedConfigReplace_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigReplace_CustomFieldData to handle AdditionalProperties +func (a PatchedConfigReplace_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigReplace_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedConfigReplace_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigReplace_ComputedFields to handle AdditionalProperties +func (a PatchedConfigReplace_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigReplace_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedConfigReplace_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigReplace_CustomFields to handle AdditionalProperties +func (a PatchedConfigReplace_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedDeviceRole_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedDeviceRole_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedDeviceRole_CustomFields to handle AdditionalProperties +func (a PatchedDeviceRole_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedDynamicGroup_Filter. Returns the specified +// element and whether it was found +func (a PatchedDynamicGroup_Filter) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedDynamicGroup_Filter to handle AdditionalProperties +func (a PatchedDynamicGroup_Filter) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedExportTemplate_Owner. Returns the specified +// element and whether it was found +func (a PatchedExportTemplate_Owner) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedExportTemplate_Owner to handle AdditionalProperties +func (a PatchedExportTemplate_Owner) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedGoldenConfig_CustomFieldData. Returns the specified +// element and whether it was found +func (a PatchedGoldenConfig_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedGoldenConfig_CustomFieldData to handle AdditionalProperties +func (a PatchedGoldenConfig_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedGoldenConfig_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedGoldenConfig_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedGoldenConfig_ComputedFields to handle AdditionalProperties +func (a PatchedGoldenConfig_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedGoldenConfig_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedGoldenConfig_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedGoldenConfig_CustomFields to handle AdditionalProperties +func (a PatchedGoldenConfig_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedGoldenConfigSetting_CustomFieldData. Returns the specified +// element and whether it was found +func (a PatchedGoldenConfigSetting_CustomFieldData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedGoldenConfigSetting_CustomFieldData to handle AdditionalProperties +func (a PatchedGoldenConfigSetting_CustomFieldData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedGoldenConfigSetting_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedGoldenConfigSetting_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedGoldenConfigSetting_ComputedFields to handle AdditionalProperties +func (a PatchedGoldenConfigSetting_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedGoldenConfigSetting_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedGoldenConfigSetting_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedGoldenConfigSetting_CustomFields to handle AdditionalProperties +func (a PatchedGoldenConfigSetting_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedGoldenConfigSetting_Scope. Returns the specified +// element and whether it was found +func (a PatchedGoldenConfigSetting_Scope) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedGoldenConfigSetting_Scope to handle AdditionalProperties +func (a PatchedGoldenConfigSetting_Scope) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedGraphQLQuery_Variables. Returns the specified +// element and whether it was found +func (a PatchedGraphQLQuery_Variables) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedGraphQLQuery_Variables to handle AdditionalProperties +func (a PatchedGraphQLQuery_Variables) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedImageAttachment_Parent. Returns the specified +// element and whether it was found +func (a PatchedImageAttachment_Parent) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedImageAttachment_Parent to handle AdditionalProperties +func (a PatchedImageAttachment_Parent) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedJob_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedJob_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedJob_CustomFields to handle AdditionalProperties +func (a PatchedJob_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedJobResult_Data. Returns the specified +// element and whether it was found +func (a PatchedJobResult_Data) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedJobResult_Data to handle AdditionalProperties +func (a PatchedJobResult_Data) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedManufacturer_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedManufacturer_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedManufacturer_CustomFields to handle AdditionalProperties +func (a PatchedManufacturer_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedProvider_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedProvider_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedProvider_CustomFields to handle AdditionalProperties +func (a PatchedProvider_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedProviderLCM_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedProviderLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedProviderLCM_CustomFields to handle AdditionalProperties +func (a PatchedProviderLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRIR_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedRIR_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRIR_CustomFields to handle AdditionalProperties +func (a PatchedRIR_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRackRole_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedRackRole_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRackRole_CustomFields to handle AdditionalProperties +func (a PatchedRackRole_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRelationship_DestinationFilter. Returns the specified +// element and whether it was found +func (a PatchedRelationship_DestinationFilter) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRelationship_DestinationFilter to handle AdditionalProperties +func (a PatchedRelationship_DestinationFilter) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRelationship_SourceFilter. Returns the specified +// element and whether it was found +func (a PatchedRelationship_SourceFilter) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRelationship_SourceFilter to handle AdditionalProperties +func (a PatchedRelationship_SourceFilter) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRole_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedRole_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRole_CustomFields to handle AdditionalProperties +func (a PatchedRole_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedSecret_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedSecret_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedSecret_CustomFields to handle AdditionalProperties +func (a PatchedSecret_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedSecret_Parameters. Returns the specified +// element and whether it was found +func (a PatchedSecret_Parameters) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedSecret_Parameters to handle AdditionalProperties +func (a PatchedSecret_Parameters) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedSecretsGroup_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedSecretsGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedSecretsGroup_CustomFields to handle AdditionalProperties +func (a PatchedSecretsGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedStatus_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedStatus_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedStatus_CustomFields to handle AdditionalProperties +func (a PatchedStatus_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedTagSerializerVersion13_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedTagSerializerVersion13_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedTagSerializerVersion13_CustomFields to handle AdditionalProperties +func (a PatchedTagSerializerVersion13_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedVulnerabilityLCM_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedVulnerabilityLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedVulnerabilityLCM_CustomFields to handle AdditionalProperties +func (a PatchedVulnerabilityLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAggregate_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableAggregate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAggregate_ComputedFields to handle AdditionalProperties +func (a PatchedWritableAggregate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAggregate_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableAggregate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAggregate_CustomFields to handle AdditionalProperties +func (a PatchedWritableAggregate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCable_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableCable_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCable_ComputedFields to handle AdditionalProperties +func (a PatchedWritableCable_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCable_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableCable_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCable_CustomFields to handle AdditionalProperties +func (a PatchedWritableCable_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCable_TerminationA. Returns the specified +// element and whether it was found +func (a PatchedWritableCable_TerminationA) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCable_TerminationA to handle AdditionalProperties +func (a PatchedWritableCable_TerminationA) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCable_TerminationB. Returns the specified +// element and whether it was found +func (a PatchedWritableCable_TerminationB) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCable_TerminationB to handle AdditionalProperties +func (a PatchedWritableCable_TerminationB) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuit_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuit_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuit_ComputedFields to handle AdditionalProperties +func (a PatchedWritableCircuit_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuit_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuit_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuit_CustomFields to handle AdditionalProperties +func (a PatchedWritableCircuit_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuitTermination_CablePeer. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuitTermination_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuitTermination_CablePeer to handle AdditionalProperties +func (a PatchedWritableCircuitTermination_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuitTermination_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuitTermination_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuitTermination_ConnectedEndpoint to handle AdditionalProperties +func (a PatchedWritableCircuitTermination_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCluster_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableCluster_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCluster_ComputedFields to handle AdditionalProperties +func (a PatchedWritableCluster_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCluster_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableCluster_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCluster_CustomFields to handle AdditionalProperties +func (a PatchedWritableCluster_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConfigContext_Data. Returns the specified +// element and whether it was found +func (a PatchedWritableConfigContext_Data) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConfigContext_Data to handle AdditionalProperties +func (a PatchedWritableConfigContext_Data) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConfigContext_Owner. Returns the specified +// element and whether it was found +func (a PatchedWritableConfigContext_Owner) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConfigContext_Owner to handle AdditionalProperties +func (a PatchedWritableConfigContext_Owner) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePort_CablePeer. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePort_CablePeer to handle AdditionalProperties +func (a PatchedWritableConsolePort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePort_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePort_ComputedFields to handle AdditionalProperties +func (a PatchedWritableConsolePort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePort_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePort_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePort_ConnectedEndpoint to handle AdditionalProperties +func (a PatchedWritableConsolePort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePort_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePort_CustomFields to handle AdditionalProperties +func (a PatchedWritableConsolePort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePortTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePortTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePortTemplate_ComputedFields to handle AdditionalProperties +func (a PatchedWritableConsolePortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePortTemplate_CustomFields to handle AdditionalProperties +func (a PatchedWritableConsolePortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPort_CablePeer. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPort_CablePeer to handle AdditionalProperties +func (a PatchedWritableConsoleServerPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPort_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPort_ComputedFields to handle AdditionalProperties +func (a PatchedWritableConsoleServerPort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPort_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPort_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPort_ConnectedEndpoint to handle AdditionalProperties +func (a PatchedWritableConsoleServerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPort_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPort_CustomFields to handle AdditionalProperties +func (a PatchedWritableConsoleServerPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPortTemplate_CustomFields to handle AdditionalProperties +func (a PatchedWritableConsoleServerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableContactLCM_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableContactLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableContactLCM_CustomFields to handle AdditionalProperties +func (a PatchedWritableContactLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableContractLCM_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableContractLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableContractLCM_CustomFields to handle AdditionalProperties +func (a PatchedWritableContractLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCustomField_Default. Returns the specified +// element and whether it was found +func (a PatchedWritableCustomField_Default) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCustomField_Default to handle AdditionalProperties +func (a PatchedWritableCustomField_Default) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBay_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBay_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBay_ComputedFields to handle AdditionalProperties +func (a PatchedWritableDeviceBay_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBay_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBay_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBay_CustomFields to handle AdditionalProperties +func (a PatchedWritableDeviceBay_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBayTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBayTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBayTemplate_ComputedFields to handle AdditionalProperties +func (a PatchedWritableDeviceBayTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBayTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBayTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBayTemplate_CustomFields to handle AdditionalProperties +func (a PatchedWritableDeviceBayTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceType_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceType_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceType_ComputedFields to handle AdditionalProperties +func (a PatchedWritableDeviceType_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceType_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceType_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceType_CustomFields to handle AdditionalProperties +func (a PatchedWritableDeviceType_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceWithConfigContext_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceWithConfigContext_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContext_ComputedFields to handle AdditionalProperties +func (a PatchedWritableDeviceWithConfigContext_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceWithConfigContext_ConfigContext. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceWithConfigContext_ConfigContext) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContext_ConfigContext to handle AdditionalProperties +func (a PatchedWritableDeviceWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceWithConfigContext_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceWithConfigContext_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContext_CustomFields to handle AdditionalProperties +func (a PatchedWritableDeviceWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceWithConfigContext_LocalContextData. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceWithConfigContext_LocalContextData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContext_LocalContextData to handle AdditionalProperties +func (a PatchedWritableDeviceWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPort_CablePeer. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPort_CablePeer to handle AdditionalProperties +func (a PatchedWritableFrontPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPort_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPort_ComputedFields to handle AdditionalProperties +func (a PatchedWritableFrontPort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPort_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPort_CustomFields to handle AdditionalProperties +func (a PatchedWritableFrontPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPortTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPortTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPortTemplate_ComputedFields to handle AdditionalProperties +func (a PatchedWritableFrontPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPortTemplate_CustomFields to handle AdditionalProperties +func (a PatchedWritableFrontPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableGitRepository_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableGitRepository_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableGitRepository_ComputedFields to handle AdditionalProperties +func (a PatchedWritableGitRepository_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableGitRepository_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableGitRepository_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableGitRepository_CustomFields to handle AdditionalProperties +func (a PatchedWritableGitRepository_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableHardwareLCM_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableHardwareLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableHardwareLCM_CustomFields to handle AdditionalProperties +func (a PatchedWritableHardwareLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableIPAddress_AssignedObject. Returns the specified +// element and whether it was found +func (a PatchedWritableIPAddress_AssignedObject) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableIPAddress_AssignedObject to handle AdditionalProperties +func (a PatchedWritableIPAddress_AssignedObject) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableIPAddress_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableIPAddress_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableIPAddress_ComputedFields to handle AdditionalProperties +func (a PatchedWritableIPAddress_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableIPAddress_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableIPAddress_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableIPAddress_CustomFields to handle AdditionalProperties +func (a PatchedWritableIPAddress_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterface_CablePeer. Returns the specified +// element and whether it was found +func (a PatchedWritableInterface_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterface_CablePeer to handle AdditionalProperties +func (a PatchedWritableInterface_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterface_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableInterface_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterface_ComputedFields to handle AdditionalProperties +func (a PatchedWritableInterface_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterface_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PatchedWritableInterface_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterface_ConnectedEndpoint to handle AdditionalProperties +func (a PatchedWritableInterface_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterface_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableInterface_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterface_CustomFields to handle AdditionalProperties +func (a PatchedWritableInterface_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterfaceTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableInterfaceTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterfaceTemplate_ComputedFields to handle AdditionalProperties +func (a PatchedWritableInterfaceTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterfaceTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableInterfaceTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterfaceTemplate_CustomFields to handle AdditionalProperties +func (a PatchedWritableInterfaceTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInventoryItem_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableInventoryItem_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInventoryItem_ComputedFields to handle AdditionalProperties +func (a PatchedWritableInventoryItem_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInventoryItem_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableInventoryItem_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInventoryItem_CustomFields to handle AdditionalProperties +func (a PatchedWritableInventoryItem_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableObjectPermission_Actions. Returns the specified +// element and whether it was found +func (a PatchedWritableObjectPermission_Actions) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableObjectPermission_Actions to handle AdditionalProperties +func (a PatchedWritableObjectPermission_Actions) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableObjectPermission_Constraints. Returns the specified +// element and whether it was found +func (a PatchedWritableObjectPermission_Constraints) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableObjectPermission_Constraints to handle AdditionalProperties +func (a PatchedWritableObjectPermission_Constraints) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePlatform_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePlatform_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePlatform_ComputedFields to handle AdditionalProperties +func (a PatchedWritablePlatform_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePlatform_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePlatform_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePlatform_CustomFields to handle AdditionalProperties +func (a PatchedWritablePlatform_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePlatform_NapalmArgs. Returns the specified +// element and whether it was found +func (a PatchedWritablePlatform_NapalmArgs) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePlatform_NapalmArgs to handle AdditionalProperties +func (a PatchedWritablePlatform_NapalmArgs) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerFeed_CablePeer. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerFeed_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerFeed_CablePeer to handle AdditionalProperties +func (a PatchedWritablePowerFeed_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerFeed_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerFeed_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerFeed_ComputedFields to handle AdditionalProperties +func (a PatchedWritablePowerFeed_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerFeed_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerFeed_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerFeed_ConnectedEndpoint to handle AdditionalProperties +func (a PatchedWritablePowerFeed_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerFeed_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerFeed_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerFeed_CustomFields to handle AdditionalProperties +func (a PatchedWritablePowerFeed_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutlet_CablePeer. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutlet_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutlet_CablePeer to handle AdditionalProperties +func (a PatchedWritablePowerOutlet_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutlet_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutlet_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutlet_ComputedFields to handle AdditionalProperties +func (a PatchedWritablePowerOutlet_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutlet_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutlet_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutlet_ConnectedEndpoint to handle AdditionalProperties +func (a PatchedWritablePowerOutlet_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutlet_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutlet_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutlet_CustomFields to handle AdditionalProperties +func (a PatchedWritablePowerOutlet_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutletTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutletTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutletTemplate_ComputedFields to handle AdditionalProperties +func (a PatchedWritablePowerOutletTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutletTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutletTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutletTemplate_CustomFields to handle AdditionalProperties +func (a PatchedWritablePowerOutletTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPanel_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPanel_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPanel_ComputedFields to handle AdditionalProperties +func (a PatchedWritablePowerPanel_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPanel_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPanel_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPanel_CustomFields to handle AdditionalProperties +func (a PatchedWritablePowerPanel_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPort_CablePeer. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPort_CablePeer to handle AdditionalProperties +func (a PatchedWritablePowerPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPort_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPort_ComputedFields to handle AdditionalProperties +func (a PatchedWritablePowerPort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPort_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPort_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPort_ConnectedEndpoint to handle AdditionalProperties +func (a PatchedWritablePowerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPort_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPort_CustomFields to handle AdditionalProperties +func (a PatchedWritablePowerPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPortTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPortTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPortTemplate_ComputedFields to handle AdditionalProperties +func (a PatchedWritablePowerPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPortTemplate_CustomFields to handle AdditionalProperties +func (a PatchedWritablePowerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePrefix_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePrefix_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePrefix_ComputedFields to handle AdditionalProperties +func (a PatchedWritablePrefix_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePrefix_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritablePrefix_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePrefix_CustomFields to handle AdditionalProperties +func (a PatchedWritablePrefix_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableProviderNetwork_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableProviderNetwork_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableProviderNetwork_ComputedFields to handle AdditionalProperties +func (a PatchedWritableProviderNetwork_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableProviderNetwork_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableProviderNetwork_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableProviderNetwork_CustomFields to handle AdditionalProperties +func (a PatchedWritableProviderNetwork_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRack_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRack_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRack_ComputedFields to handle AdditionalProperties +func (a PatchedWritableRack_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRack_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRack_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRack_CustomFields to handle AdditionalProperties +func (a PatchedWritableRack_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackGroup_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRackGroup_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackGroup_ComputedFields to handle AdditionalProperties +func (a PatchedWritableRackGroup_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackGroup_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRackGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackGroup_CustomFields to handle AdditionalProperties +func (a PatchedWritableRackGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackReservation_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRackReservation_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackReservation_ComputedFields to handle AdditionalProperties +func (a PatchedWritableRackReservation_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackReservation_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRackReservation_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackReservation_CustomFields to handle AdditionalProperties +func (a PatchedWritableRackReservation_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackReservation_Units. Returns the specified +// element and whether it was found +func (a PatchedWritableRackReservation_Units) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackReservation_Units to handle AdditionalProperties +func (a PatchedWritableRackReservation_Units) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPort_CablePeer. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPort_CablePeer to handle AdditionalProperties +func (a PatchedWritableRearPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPort_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPort_ComputedFields to handle AdditionalProperties +func (a PatchedWritableRearPort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPort_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPort_CustomFields to handle AdditionalProperties +func (a PatchedWritableRearPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPortTemplate_CustomFields to handle AdditionalProperties +func (a PatchedWritableRearPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRegion_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRegion_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRegion_ComputedFields to handle AdditionalProperties +func (a PatchedWritableRegion_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRegion_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRegion_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRegion_CustomFields to handle AdditionalProperties +func (a PatchedWritableRegion_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRouteTarget_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRouteTarget_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRouteTarget_ComputedFields to handle AdditionalProperties +func (a PatchedWritableRouteTarget_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRouteTarget_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableRouteTarget_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRouteTarget_CustomFields to handle AdditionalProperties +func (a PatchedWritableRouteTarget_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableService_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableService_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableService_ComputedFields to handle AdditionalProperties +func (a PatchedWritableService_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableService_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableService_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableService_CustomFields to handle AdditionalProperties +func (a PatchedWritableService_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSite_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableSite_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSite_ComputedFields to handle AdditionalProperties +func (a PatchedWritableSite_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSite_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableSite_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSite_CustomFields to handle AdditionalProperties +func (a PatchedWritableSite_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSoftwareImageLCM_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableSoftwareImageLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSoftwareImageLCM_CustomFields to handle AdditionalProperties +func (a PatchedWritableSoftwareImageLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSoftwareLCM_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableSoftwareLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSoftwareLCM_CustomFields to handle AdditionalProperties +func (a PatchedWritableSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenant_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableTenant_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenant_ComputedFields to handle AdditionalProperties +func (a PatchedWritableTenant_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenant_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableTenant_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenant_CustomFields to handle AdditionalProperties +func (a PatchedWritableTenant_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenantGroup_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableTenantGroup_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenantGroup_ComputedFields to handle AdditionalProperties +func (a PatchedWritableTenantGroup_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenantGroup_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableTenantGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenantGroup_CustomFields to handle AdditionalProperties +func (a PatchedWritableTenantGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLAN_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableVLAN_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLAN_ComputedFields to handle AdditionalProperties +func (a PatchedWritableVLAN_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLAN_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableVLAN_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLAN_CustomFields to handle AdditionalProperties +func (a PatchedWritableVLAN_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLANGroup_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableVLANGroup_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLANGroup_ComputedFields to handle AdditionalProperties +func (a PatchedWritableVLANGroup_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLANGroup_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableVLANGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLANGroup_CustomFields to handle AdditionalProperties +func (a PatchedWritableVLANGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVRF_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableVRF_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVRF_ComputedFields to handle AdditionalProperties +func (a PatchedWritableVRF_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVRF_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableVRF_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVRF_CustomFields to handle AdditionalProperties +func (a PatchedWritableVRF_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableValidatedSoftwareLCM_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableValidatedSoftwareLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableValidatedSoftwareLCM_CustomFields to handle AdditionalProperties +func (a PatchedWritableValidatedSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualChassis_ComputedFields. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualChassis_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualChassis_ComputedFields to handle AdditionalProperties +func (a PatchedWritableVirtualChassis_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualChassis_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualChassis_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualChassis_CustomFields to handle AdditionalProperties +func (a PatchedWritableVirtualChassis_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualMachineWithConfigContext_ConfigContext. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualMachineWithConfigContext_ConfigContext) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContext_ConfigContext to handle AdditionalProperties +func (a PatchedWritableVirtualMachineWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualMachineWithConfigContext_CustomFields. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualMachineWithConfigContext_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContext_CustomFields to handle AdditionalProperties +func (a PatchedWritableVirtualMachineWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualMachineWithConfigContext_LocalContextData. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualMachineWithConfigContext_LocalContextData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContext_LocalContextData to handle AdditionalProperties +func (a PatchedWritableVirtualMachineWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Platform_CustomFields. Returns the specified +// element and whether it was found +func (a Platform_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Platform_CustomFields to handle AdditionalProperties +func (a Platform_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Platform_NapalmArgs. Returns the specified +// element and whether it was found +func (a Platform_NapalmArgs) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Platform_NapalmArgs to handle AdditionalProperties +func (a Platform_NapalmArgs) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerFeed_CablePeer. Returns the specified +// element and whether it was found +func (a PowerFeed_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerFeed_CablePeer to handle AdditionalProperties +func (a PowerFeed_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerFeed_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PowerFeed_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerFeed_ConnectedEndpoint to handle AdditionalProperties +func (a PowerFeed_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerFeed_CustomFields. Returns the specified +// element and whether it was found +func (a PowerFeed_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerFeed_CustomFields to handle AdditionalProperties +func (a PowerFeed_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerOutlet_CablePeer. Returns the specified +// element and whether it was found +func (a PowerOutlet_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerOutlet_CablePeer to handle AdditionalProperties +func (a PowerOutlet_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerOutlet_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PowerOutlet_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerOutlet_ConnectedEndpoint to handle AdditionalProperties +func (a PowerOutlet_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerOutlet_CustomFields. Returns the specified +// element and whether it was found +func (a PowerOutlet_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerOutlet_CustomFields to handle AdditionalProperties +func (a PowerOutlet_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerOutletTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PowerOutletTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerOutletTemplate_CustomFields to handle AdditionalProperties +func (a PowerOutletTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerPanel_CustomFields. Returns the specified +// element and whether it was found +func (a PowerPanel_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerPanel_CustomFields to handle AdditionalProperties +func (a PowerPanel_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerPort_CablePeer. Returns the specified +// element and whether it was found +func (a PowerPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerPort_CablePeer to handle AdditionalProperties +func (a PowerPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerPort_ComputedFields. Returns the specified +// element and whether it was found +func (a PowerPort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerPort_ComputedFields to handle AdditionalProperties +func (a PowerPort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerPort_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a PowerPort_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerPort_ConnectedEndpoint to handle AdditionalProperties +func (a PowerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerPort_CustomFields. Returns the specified +// element and whether it was found +func (a PowerPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerPort_CustomFields to handle AdditionalProperties +func (a PowerPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PowerPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a PowerPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PowerPortTemplate_CustomFields to handle AdditionalProperties +func (a PowerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Prefix_CustomFields. Returns the specified +// element and whether it was found +func (a Prefix_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Prefix_CustomFields to handle AdditionalProperties +func (a Prefix_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Provider_CustomFields. Returns the specified +// element and whether it was found +func (a Provider_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Provider_CustomFields to handle AdditionalProperties +func (a Provider_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ProviderLCM_CustomFields. Returns the specified +// element and whether it was found +func (a ProviderLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ProviderLCM_CustomFields to handle AdditionalProperties +func (a ProviderLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ProviderNetwork_CustomFields. Returns the specified +// element and whether it was found +func (a ProviderNetwork_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ProviderNetwork_CustomFields to handle AdditionalProperties +func (a ProviderNetwork_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RIR_CustomFields. Returns the specified +// element and whether it was found +func (a RIR_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RIR_CustomFields to handle AdditionalProperties +func (a RIR_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Rack_CustomFields. Returns the specified +// element and whether it was found +func (a Rack_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Rack_CustomFields to handle AdditionalProperties +func (a Rack_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RackGroup_CustomFields. Returns the specified +// element and whether it was found +func (a RackGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RackGroup_CustomFields to handle AdditionalProperties +func (a RackGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RackReservation_CustomFields. Returns the specified +// element and whether it was found +func (a RackReservation_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RackReservation_CustomFields to handle AdditionalProperties +func (a RackReservation_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RackReservation_Units. Returns the specified +// element and whether it was found +func (a RackReservation_Units) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RackReservation_Units to handle AdditionalProperties +func (a RackReservation_Units) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RackRole_CustomFields. Returns the specified +// element and whether it was found +func (a RackRole_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RackRole_CustomFields to handle AdditionalProperties +func (a RackRole_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RearPort_CablePeer. Returns the specified +// element and whether it was found +func (a RearPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RearPort_CablePeer to handle AdditionalProperties +func (a RearPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RearPort_CustomFields. Returns the specified +// element and whether it was found +func (a RearPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RearPort_CustomFields to handle AdditionalProperties +func (a RearPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RearPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a RearPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RearPortTemplate_CustomFields to handle AdditionalProperties +func (a RearPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Region_CustomFields. Returns the specified +// element and whether it was found +func (a Region_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Region_CustomFields to handle AdditionalProperties +func (a Region_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Relationship_DestinationFilter. Returns the specified +// element and whether it was found +func (a Relationship_DestinationFilter) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Relationship_DestinationFilter to handle AdditionalProperties +func (a Relationship_DestinationFilter) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Relationship_SourceFilter. Returns the specified +// element and whether it was found +func (a Relationship_SourceFilter) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Relationship_SourceFilter to handle AdditionalProperties +func (a Relationship_SourceFilter) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Role_CustomFields. Returns the specified +// element and whether it was found +func (a Role_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Role_CustomFields to handle AdditionalProperties +func (a Role_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RouteTarget_CustomFields. Returns the specified +// element and whether it was found +func (a RouteTarget_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RouteTarget_CustomFields to handle AdditionalProperties +func (a RouteTarget_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Secret_CustomFields. Returns the specified +// element and whether it was found +func (a Secret_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Secret_CustomFields to handle AdditionalProperties +func (a Secret_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Secret_Parameters. Returns the specified +// element and whether it was found +func (a Secret_Parameters) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Secret_Parameters to handle AdditionalProperties +func (a Secret_Parameters) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for SecretsGroup_CustomFields. Returns the specified +// element and whether it was found +func (a SecretsGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for SecretsGroup_CustomFields to handle AdditionalProperties +func (a SecretsGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Service_CustomFields. Returns the specified +// element and whether it was found +func (a Service_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Service_CustomFields to handle AdditionalProperties +func (a Service_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Site_CustomFields. Returns the specified +// element and whether it was found +func (a Site_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Site_CustomFields to handle AdditionalProperties +func (a Site_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for SoftwareImageLCM_CustomFields. Returns the specified +// element and whether it was found +func (a SoftwareImageLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for SoftwareImageLCM_CustomFields to handle AdditionalProperties +func (a SoftwareImageLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for SoftwareLCM_CustomFields. Returns the specified +// element and whether it was found +func (a SoftwareLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for SoftwareLCM_CustomFields to handle AdditionalProperties +func (a SoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Status_CustomFields. Returns the specified +// element and whether it was found +func (a Status_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Status_CustomFields to handle AdditionalProperties +func (a Status_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for TagSerializerVersion13_CustomFields. Returns the specified +// element and whether it was found +func (a TagSerializerVersion13_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for TagSerializerVersion13_CustomFields to handle AdditionalProperties +func (a TagSerializerVersion13_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for Tenant_CustomFields. Returns the specified +// element and whether it was found +func (a Tenant_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for Tenant_CustomFields to handle AdditionalProperties +func (a Tenant_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for TenantGroup_CustomFields. Returns the specified +// element and whether it was found +func (a TenantGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for TenantGroup_CustomFields to handle AdditionalProperties +func (a TenantGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VLAN_CustomFields. Returns the specified +// element and whether it was found +func (a VLAN_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VLAN_CustomFields to handle AdditionalProperties +func (a VLAN_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VLANGroup_CustomFields. Returns the specified +// element and whether it was found +func (a VLANGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VLANGroup_CustomFields to handle AdditionalProperties +func (a VLANGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VRF_CustomFields. Returns the specified +// element and whether it was found +func (a VRF_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VRF_CustomFields to handle AdditionalProperties +func (a VRF_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ValidatedSoftwareLCM_CustomFields. Returns the specified +// element and whether it was found +func (a ValidatedSoftwareLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ValidatedSoftwareLCM_CustomFields to handle AdditionalProperties +func (a ValidatedSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VirtualChassis_CustomFields. Returns the specified +// element and whether it was found +func (a VirtualChassis_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VirtualChassis_CustomFields to handle AdditionalProperties +func (a VirtualChassis_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VirtualMachineWithConfigContext_ConfigContext. Returns the specified +// element and whether it was found +func (a VirtualMachineWithConfigContext_ConfigContext) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VirtualMachineWithConfigContext_ConfigContext to handle AdditionalProperties +func (a VirtualMachineWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VirtualMachineWithConfigContext_CustomFields. Returns the specified +// element and whether it was found +func (a VirtualMachineWithConfigContext_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VirtualMachineWithConfigContext_CustomFields to handle AdditionalProperties +func (a VirtualMachineWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VirtualMachineWithConfigContext_LocalContextData. Returns the specified +// element and whether it was found +func (a VirtualMachineWithConfigContext_LocalContextData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VirtualMachineWithConfigContext_LocalContextData to handle AdditionalProperties +func (a VirtualMachineWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VulnerabilityLCM_CustomFields. Returns the specified +// element and whether it was found +func (a VulnerabilityLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VulnerabilityLCM_CustomFields to handle AdditionalProperties +func (a VulnerabilityLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAggregate_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableAggregate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAggregate_ComputedFields to handle AdditionalProperties +func (a WritableAggregate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAggregate_CustomFields. Returns the specified +// element and whether it was found +func (a WritableAggregate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAggregate_CustomFields to handle AdditionalProperties +func (a WritableAggregate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCable_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableCable_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCable_ComputedFields to handle AdditionalProperties +func (a WritableCable_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCable_CustomFields. Returns the specified +// element and whether it was found +func (a WritableCable_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCable_CustomFields to handle AdditionalProperties +func (a WritableCable_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCable_TerminationA. Returns the specified +// element and whether it was found +func (a WritableCable_TerminationA) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCable_TerminationA to handle AdditionalProperties +func (a WritableCable_TerminationA) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCable_TerminationB. Returns the specified +// element and whether it was found +func (a WritableCable_TerminationB) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCable_TerminationB to handle AdditionalProperties +func (a WritableCable_TerminationB) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuit_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableCircuit_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuit_ComputedFields to handle AdditionalProperties +func (a WritableCircuit_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuit_CustomFields. Returns the specified +// element and whether it was found +func (a WritableCircuit_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuit_CustomFields to handle AdditionalProperties +func (a WritableCircuit_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuitTermination_CablePeer. Returns the specified +// element and whether it was found +func (a WritableCircuitTermination_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuitTermination_CablePeer to handle AdditionalProperties +func (a WritableCircuitTermination_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuitTermination_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a WritableCircuitTermination_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuitTermination_ConnectedEndpoint to handle AdditionalProperties +func (a WritableCircuitTermination_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCluster_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableCluster_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCluster_ComputedFields to handle AdditionalProperties +func (a WritableCluster_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCluster_CustomFields. Returns the specified +// element and whether it was found +func (a WritableCluster_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCluster_CustomFields to handle AdditionalProperties +func (a WritableCluster_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConfigContext_Data. Returns the specified +// element and whether it was found +func (a WritableConfigContext_Data) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConfigContext_Data to handle AdditionalProperties +func (a WritableConfigContext_Data) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConfigContext_Owner. Returns the specified +// element and whether it was found +func (a WritableConfigContext_Owner) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConfigContext_Owner to handle AdditionalProperties +func (a WritableConfigContext_Owner) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePort_CablePeer. Returns the specified +// element and whether it was found +func (a WritableConsolePort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePort_CablePeer to handle AdditionalProperties +func (a WritableConsolePort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePort_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableConsolePort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePort_ComputedFields to handle AdditionalProperties +func (a WritableConsolePort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePort_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a WritableConsolePort_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePort_ConnectedEndpoint to handle AdditionalProperties +func (a WritableConsolePort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePort_CustomFields. Returns the specified +// element and whether it was found +func (a WritableConsolePort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePort_CustomFields to handle AdditionalProperties +func (a WritableConsolePort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePortTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableConsolePortTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePortTemplate_ComputedFields to handle AdditionalProperties +func (a WritableConsolePortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a WritableConsolePortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePortTemplate_CustomFields to handle AdditionalProperties +func (a WritableConsolePortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPort_CablePeer. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPort_CablePeer to handle AdditionalProperties +func (a WritableConsoleServerPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPort_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPort_ComputedFields to handle AdditionalProperties +func (a WritableConsoleServerPort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPort_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPort_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPort_ConnectedEndpoint to handle AdditionalProperties +func (a WritableConsoleServerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPort_CustomFields. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPort_CustomFields to handle AdditionalProperties +func (a WritableConsoleServerPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPortTemplate_CustomFields to handle AdditionalProperties +func (a WritableConsoleServerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableContactLCM_CustomFields. Returns the specified +// element and whether it was found +func (a WritableContactLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableContactLCM_CustomFields to handle AdditionalProperties +func (a WritableContactLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableContractLCM_CustomFields. Returns the specified +// element and whether it was found +func (a WritableContractLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableContractLCM_CustomFields to handle AdditionalProperties +func (a WritableContractLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCustomField_Default. Returns the specified +// element and whether it was found +func (a WritableCustomField_Default) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCustomField_Default to handle AdditionalProperties +func (a WritableCustomField_Default) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBay_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableDeviceBay_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBay_ComputedFields to handle AdditionalProperties +func (a WritableDeviceBay_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBay_CustomFields. Returns the specified +// element and whether it was found +func (a WritableDeviceBay_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBay_CustomFields to handle AdditionalProperties +func (a WritableDeviceBay_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBayTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableDeviceBayTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBayTemplate_ComputedFields to handle AdditionalProperties +func (a WritableDeviceBayTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBayTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a WritableDeviceBayTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBayTemplate_CustomFields to handle AdditionalProperties +func (a WritableDeviceBayTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceType_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableDeviceType_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceType_ComputedFields to handle AdditionalProperties +func (a WritableDeviceType_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceType_CustomFields. Returns the specified +// element and whether it was found +func (a WritableDeviceType_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceType_CustomFields to handle AdditionalProperties +func (a WritableDeviceType_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceWithConfigContext_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableDeviceWithConfigContext_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceWithConfigContext_ComputedFields to handle AdditionalProperties +func (a WritableDeviceWithConfigContext_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceWithConfigContext_ConfigContext. Returns the specified +// element and whether it was found +func (a WritableDeviceWithConfigContext_ConfigContext) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceWithConfigContext_ConfigContext to handle AdditionalProperties +func (a WritableDeviceWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceWithConfigContext_CustomFields. Returns the specified +// element and whether it was found +func (a WritableDeviceWithConfigContext_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceWithConfigContext_CustomFields to handle AdditionalProperties +func (a WritableDeviceWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceWithConfigContext_LocalContextData. Returns the specified +// element and whether it was found +func (a WritableDeviceWithConfigContext_LocalContextData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceWithConfigContext_LocalContextData to handle AdditionalProperties +func (a WritableDeviceWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPort_CablePeer. Returns the specified +// element and whether it was found +func (a WritableFrontPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPort_CablePeer to handle AdditionalProperties +func (a WritableFrontPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPort_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableFrontPort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPort_ComputedFields to handle AdditionalProperties +func (a WritableFrontPort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPort_CustomFields. Returns the specified +// element and whether it was found +func (a WritableFrontPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPort_CustomFields to handle AdditionalProperties +func (a WritableFrontPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPortTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableFrontPortTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPortTemplate_ComputedFields to handle AdditionalProperties +func (a WritableFrontPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a WritableFrontPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPortTemplate_CustomFields to handle AdditionalProperties +func (a WritableFrontPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableGitRepository_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableGitRepository_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableGitRepository_ComputedFields to handle AdditionalProperties +func (a WritableGitRepository_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableGitRepository_CustomFields. Returns the specified +// element and whether it was found +func (a WritableGitRepository_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableGitRepository_CustomFields to handle AdditionalProperties +func (a WritableGitRepository_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableHardwareLCM_CustomFields. Returns the specified +// element and whether it was found +func (a WritableHardwareLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableHardwareLCM_CustomFields to handle AdditionalProperties +func (a WritableHardwareLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableIPAddress_AssignedObject. Returns the specified +// element and whether it was found +func (a WritableIPAddress_AssignedObject) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableIPAddress_AssignedObject to handle AdditionalProperties +func (a WritableIPAddress_AssignedObject) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableIPAddress_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableIPAddress_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableIPAddress_ComputedFields to handle AdditionalProperties +func (a WritableIPAddress_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableIPAddress_CustomFields. Returns the specified +// element and whether it was found +func (a WritableIPAddress_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableIPAddress_CustomFields to handle AdditionalProperties +func (a WritableIPAddress_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterface_CablePeer. Returns the specified +// element and whether it was found +func (a WritableInterface_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterface_CablePeer to handle AdditionalProperties +func (a WritableInterface_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterface_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableInterface_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterface_ComputedFields to handle AdditionalProperties +func (a WritableInterface_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterface_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a WritableInterface_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterface_ConnectedEndpoint to handle AdditionalProperties +func (a WritableInterface_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterface_CustomFields. Returns the specified +// element and whether it was found +func (a WritableInterface_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterface_CustomFields to handle AdditionalProperties +func (a WritableInterface_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterfaceTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableInterfaceTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterfaceTemplate_ComputedFields to handle AdditionalProperties +func (a WritableInterfaceTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterfaceTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a WritableInterfaceTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterfaceTemplate_CustomFields to handle AdditionalProperties +func (a WritableInterfaceTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInventoryItem_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableInventoryItem_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInventoryItem_ComputedFields to handle AdditionalProperties +func (a WritableInventoryItem_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInventoryItem_CustomFields. Returns the specified +// element and whether it was found +func (a WritableInventoryItem_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInventoryItem_CustomFields to handle AdditionalProperties +func (a WritableInventoryItem_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableObjectPermission_Actions. Returns the specified +// element and whether it was found +func (a WritableObjectPermission_Actions) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableObjectPermission_Actions to handle AdditionalProperties +func (a WritableObjectPermission_Actions) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableObjectPermission_Constraints. Returns the specified +// element and whether it was found +func (a WritableObjectPermission_Constraints) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableObjectPermission_Constraints to handle AdditionalProperties +func (a WritableObjectPermission_Constraints) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePlatform_ComputedFields. Returns the specified +// element and whether it was found +func (a WritablePlatform_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePlatform_ComputedFields to handle AdditionalProperties +func (a WritablePlatform_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePlatform_CustomFields. Returns the specified +// element and whether it was found +func (a WritablePlatform_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePlatform_CustomFields to handle AdditionalProperties +func (a WritablePlatform_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePlatform_NapalmArgs. Returns the specified +// element and whether it was found +func (a WritablePlatform_NapalmArgs) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePlatform_NapalmArgs to handle AdditionalProperties +func (a WritablePlatform_NapalmArgs) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerFeed_CablePeer. Returns the specified +// element and whether it was found +func (a WritablePowerFeed_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerFeed_CablePeer to handle AdditionalProperties +func (a WritablePowerFeed_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerFeed_ComputedFields. Returns the specified +// element and whether it was found +func (a WritablePowerFeed_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerFeed_ComputedFields to handle AdditionalProperties +func (a WritablePowerFeed_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerFeed_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a WritablePowerFeed_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerFeed_ConnectedEndpoint to handle AdditionalProperties +func (a WritablePowerFeed_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerFeed_CustomFields. Returns the specified +// element and whether it was found +func (a WritablePowerFeed_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerFeed_CustomFields to handle AdditionalProperties +func (a WritablePowerFeed_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutlet_CablePeer. Returns the specified +// element and whether it was found +func (a WritablePowerOutlet_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutlet_CablePeer to handle AdditionalProperties +func (a WritablePowerOutlet_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutlet_ComputedFields. Returns the specified +// element and whether it was found +func (a WritablePowerOutlet_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutlet_ComputedFields to handle AdditionalProperties +func (a WritablePowerOutlet_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutlet_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a WritablePowerOutlet_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutlet_ConnectedEndpoint to handle AdditionalProperties +func (a WritablePowerOutlet_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutlet_CustomFields. Returns the specified +// element and whether it was found +func (a WritablePowerOutlet_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutlet_CustomFields to handle AdditionalProperties +func (a WritablePowerOutlet_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutletTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a WritablePowerOutletTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutletTemplate_ComputedFields to handle AdditionalProperties +func (a WritablePowerOutletTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutletTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a WritablePowerOutletTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutletTemplate_CustomFields to handle AdditionalProperties +func (a WritablePowerOutletTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPanel_ComputedFields. Returns the specified +// element and whether it was found +func (a WritablePowerPanel_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPanel_ComputedFields to handle AdditionalProperties +func (a WritablePowerPanel_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPanel_CustomFields. Returns the specified +// element and whether it was found +func (a WritablePowerPanel_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPanel_CustomFields to handle AdditionalProperties +func (a WritablePowerPanel_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPort_CablePeer. Returns the specified +// element and whether it was found +func (a WritablePowerPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPort_CablePeer to handle AdditionalProperties +func (a WritablePowerPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPort_ComputedFields. Returns the specified +// element and whether it was found +func (a WritablePowerPort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPort_ComputedFields to handle AdditionalProperties +func (a WritablePowerPort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPort_ConnectedEndpoint. Returns the specified +// element and whether it was found +func (a WritablePowerPort_ConnectedEndpoint) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPort_ConnectedEndpoint to handle AdditionalProperties +func (a WritablePowerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPort_CustomFields. Returns the specified +// element and whether it was found +func (a WritablePowerPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPort_CustomFields to handle AdditionalProperties +func (a WritablePowerPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPortTemplate_ComputedFields. Returns the specified +// element and whether it was found +func (a WritablePowerPortTemplate_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPortTemplate_ComputedFields to handle AdditionalProperties +func (a WritablePowerPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a WritablePowerPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPortTemplate_CustomFields to handle AdditionalProperties +func (a WritablePowerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePrefix_ComputedFields. Returns the specified +// element and whether it was found +func (a WritablePrefix_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePrefix_ComputedFields to handle AdditionalProperties +func (a WritablePrefix_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePrefix_CustomFields. Returns the specified +// element and whether it was found +func (a WritablePrefix_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePrefix_CustomFields to handle AdditionalProperties +func (a WritablePrefix_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableProviderNetwork_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableProviderNetwork_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableProviderNetwork_ComputedFields to handle AdditionalProperties +func (a WritableProviderNetwork_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableProviderNetwork_CustomFields. Returns the specified +// element and whether it was found +func (a WritableProviderNetwork_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableProviderNetwork_CustomFields to handle AdditionalProperties +func (a WritableProviderNetwork_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRack_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableRack_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRack_ComputedFields to handle AdditionalProperties +func (a WritableRack_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRack_CustomFields. Returns the specified +// element and whether it was found +func (a WritableRack_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRack_CustomFields to handle AdditionalProperties +func (a WritableRack_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackGroup_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableRackGroup_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackGroup_ComputedFields to handle AdditionalProperties +func (a WritableRackGroup_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackGroup_CustomFields. Returns the specified +// element and whether it was found +func (a WritableRackGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackGroup_CustomFields to handle AdditionalProperties +func (a WritableRackGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackReservation_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableRackReservation_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackReservation_ComputedFields to handle AdditionalProperties +func (a WritableRackReservation_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackReservation_CustomFields. Returns the specified +// element and whether it was found +func (a WritableRackReservation_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackReservation_CustomFields to handle AdditionalProperties +func (a WritableRackReservation_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackReservation_Units. Returns the specified +// element and whether it was found +func (a WritableRackReservation_Units) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackReservation_Units to handle AdditionalProperties +func (a WritableRackReservation_Units) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPort_CablePeer. Returns the specified +// element and whether it was found +func (a WritableRearPort_CablePeer) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPort_CablePeer to handle AdditionalProperties +func (a WritableRearPort_CablePeer) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPort_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableRearPort_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPort_ComputedFields to handle AdditionalProperties +func (a WritableRearPort_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPort_CustomFields. Returns the specified +// element and whether it was found +func (a WritableRearPort_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPort_CustomFields to handle AdditionalProperties +func (a WritableRearPort_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPortTemplate_CustomFields. Returns the specified +// element and whether it was found +func (a WritableRearPortTemplate_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPortTemplate_CustomFields to handle AdditionalProperties +func (a WritableRearPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRegion_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableRegion_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRegion_ComputedFields to handle AdditionalProperties +func (a WritableRegion_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRegion_CustomFields. Returns the specified +// element and whether it was found +func (a WritableRegion_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRegion_CustomFields to handle AdditionalProperties +func (a WritableRegion_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRouteTarget_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableRouteTarget_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRouteTarget_ComputedFields to handle AdditionalProperties +func (a WritableRouteTarget_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRouteTarget_CustomFields. Returns the specified +// element and whether it was found +func (a WritableRouteTarget_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRouteTarget_CustomFields to handle AdditionalProperties +func (a WritableRouteTarget_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableService_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableService_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableService_ComputedFields to handle AdditionalProperties +func (a WritableService_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableService_CustomFields. Returns the specified +// element and whether it was found +func (a WritableService_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableService_CustomFields to handle AdditionalProperties +func (a WritableService_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSite_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableSite_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSite_ComputedFields to handle AdditionalProperties +func (a WritableSite_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSite_CustomFields. Returns the specified +// element and whether it was found +func (a WritableSite_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSite_CustomFields to handle AdditionalProperties +func (a WritableSite_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSoftwareImageLCM_CustomFields. Returns the specified +// element and whether it was found +func (a WritableSoftwareImageLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSoftwareImageLCM_CustomFields to handle AdditionalProperties +func (a WritableSoftwareImageLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSoftwareLCM_CustomFields. Returns the specified +// element and whether it was found +func (a WritableSoftwareLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSoftwareLCM_CustomFields to handle AdditionalProperties +func (a WritableSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenant_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableTenant_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenant_ComputedFields to handle AdditionalProperties +func (a WritableTenant_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenant_CustomFields. Returns the specified +// element and whether it was found +func (a WritableTenant_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenant_CustomFields to handle AdditionalProperties +func (a WritableTenant_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenantGroup_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableTenantGroup_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenantGroup_ComputedFields to handle AdditionalProperties +func (a WritableTenantGroup_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenantGroup_CustomFields. Returns the specified +// element and whether it was found +func (a WritableTenantGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenantGroup_CustomFields to handle AdditionalProperties +func (a WritableTenantGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLAN_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableVLAN_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLAN_ComputedFields to handle AdditionalProperties +func (a WritableVLAN_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLAN_CustomFields. Returns the specified +// element and whether it was found +func (a WritableVLAN_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLAN_CustomFields to handle AdditionalProperties +func (a WritableVLAN_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLANGroup_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableVLANGroup_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLANGroup_ComputedFields to handle AdditionalProperties +func (a WritableVLANGroup_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLANGroup_CustomFields. Returns the specified +// element and whether it was found +func (a WritableVLANGroup_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLANGroup_CustomFields to handle AdditionalProperties +func (a WritableVLANGroup_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVRF_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableVRF_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVRF_ComputedFields to handle AdditionalProperties +func (a WritableVRF_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVRF_CustomFields. Returns the specified +// element and whether it was found +func (a WritableVRF_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVRF_CustomFields to handle AdditionalProperties +func (a WritableVRF_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableValidatedSoftwareLCM_CustomFields. Returns the specified +// element and whether it was found +func (a WritableValidatedSoftwareLCM_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableValidatedSoftwareLCM_CustomFields to handle AdditionalProperties +func (a WritableValidatedSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualChassis_ComputedFields. Returns the specified +// element and whether it was found +func (a WritableVirtualChassis_ComputedFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualChassis_ComputedFields to handle AdditionalProperties +func (a WritableVirtualChassis_ComputedFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualChassis_CustomFields. Returns the specified +// element and whether it was found +func (a WritableVirtualChassis_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualChassis_CustomFields to handle AdditionalProperties +func (a WritableVirtualChassis_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualMachineWithConfigContext_ConfigContext. Returns the specified +// element and whether it was found +func (a WritableVirtualMachineWithConfigContext_ConfigContext) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualMachineWithConfigContext_ConfigContext to handle AdditionalProperties +func (a WritableVirtualMachineWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualMachineWithConfigContext_CustomFields. Returns the specified +// element and whether it was found +func (a WritableVirtualMachineWithConfigContext_CustomFields) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualMachineWithConfigContext_CustomFields to handle AdditionalProperties +func (a WritableVirtualMachineWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualMachineWithConfigContext_LocalContextData. Returns the specified +// element and whether it was found +func (a WritableVirtualMachineWithConfigContext_LocalContextData) 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{}) { + 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 { + 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) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualMachineWithConfigContext_LocalContextData to handle AdditionalProperties +func (a WritableVirtualMachineWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} diff --git a/docs/data-sources/manufacturers.md b/docs/data-sources/manufacturers.md new file mode 100644 index 0000000..0343c2d --- /dev/null +++ b/docs/data-sources/manufacturers.md @@ -0,0 +1,44 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "nautobot_manufacturers Data Source - terraform-provider-nautobot" +subcategory: "" +description: |- + Manufacturer data source in the Terraform provider Nautobot. +--- + +# nautobot_manufacturers (Data Source) + +Manufacturer data source in the Terraform provider Nautobot. + + + + +## Schema + +### Optional + +- `id` (String) The ID of this resource. + +### Read-Only + +- `manufacturers` (List of Object) (see [below for nested schema](#nestedatt--manufacturers)) + + +### Nested Schema for `manufacturers` + +Read-Only: + +- `created` (String) +- `custom_fields` (Map of String) +- `description` (String) +- `devicetype_count` (Number) +- `display` (String) +- `id` (String) +- `inventoryitem_count` (Number) +- `last_updated` (String) +- `name` (String) +- `platform_count` (Number) +- `slug` (String) +- `url` (String) + + diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..a8f37a6 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,28 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "nautobot Provider" +subcategory: "" +description: |- + +--- + +# nautobot Provider + + + +## Example Usage + +```terraform +provider "nautobot" { + url = "https://demo.nautobot.com/api/" + token = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +} +``` + + +## Schema + +### Required + +- `token` (String, Sensitive) Customer/user-specific authorization token for the Shoreline API server. +- `url` (String) URL for Nautobot API server. It should be of the form https:///server.example.org/api/. diff --git a/docs/resources/manufacturer.md b/docs/resources/manufacturer.md new file mode 100644 index 0000000..7605ef5 --- /dev/null +++ b/docs/resources/manufacturer.md @@ -0,0 +1,39 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "nautobot_manufacturer Resource - terraform-provider-nautobot" +subcategory: "" +description: |- + This object manages a manufacturer in Nautobot +--- + +# nautobot_manufacturer (Resource) + +This object manages a manufacturer in Nautobot + + + + +## Schema + +### Required + +- `name` (String) Manufacturer's name. + +### Optional + +- `custom_fields` (Map of String) Manufacturer custom fields. +- `description` (String) Manufacturer's description. +- `display` (String) Manufacturer's display name. +- `slug` (String) Manufacturer's slug. +- `url` (String) Manufacturer's URL. + +### Read-Only + +- `created` (String) Manufacturer's creation date. +- `devicetype_count` (Number) Manufacturer's device count. +- `id` (String) Manufacturer's UUID. +- `inventoryitem_count` (Number) Manufacturer's inventory item count. +- `last_updated` (String) Manufacturer's last update. +- `platform_count` (Number) Manufacturer's platform count. + + diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 0000000..39aed72 --- /dev/null +++ b/examples/README.md @@ -0,0 +1,9 @@ +# Examples + +This directory contains examples that are mostly used for documentation, but can also be run/tested manually via the Terraform CLI. + +The document generation tool looks for files in the following locations by default. All other *.tf files besides the ones mentioned below are ignored by the documentation tool. This is useful for creating examples that can run and/or ar testable even if some parts are not relevant for the documentation. + +* **provider/provider.tf** example file for the provider index page +* **data-sources//data-source.tf** example file for the named data source page +* **resources//resource.tf** example file for the named data source page diff --git a/examples/data-sources/nautobot_data_source/data-source.tf b/examples/data-sources/nautobot_data_source/data-source.tf new file mode 100644 index 0000000..f71d4fb --- /dev/null +++ b/examples/data-sources/nautobot_data_source/data-source.tf @@ -0,0 +1 @@ +data "nautobot_manufacturers" "all" {} \ No newline at end of file diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf new file mode 100644 index 0000000..10df466 --- /dev/null +++ b/examples/provider/provider.tf @@ -0,0 +1,4 @@ +provider "nautobot" { + url = "https://demo.nautobot.com/api/" + token = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +} \ No newline at end of file diff --git a/examples/resources/nautobot_resource/resource.tf b/examples/resources/nautobot_resource/resource.tf new file mode 100644 index 0000000..c1dac6b --- /dev/null +++ b/examples/resources/nautobot_resource/resource.tf @@ -0,0 +1,4 @@ +resource "nautobot_manufacturer" "new" { + description = "Created with Terraform" + name = "Vendor I" +} \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..64c3052 --- /dev/null +++ b/go.mod @@ -0,0 +1,74 @@ +module github.com/nleiva/terraform-provider-nautobot + +go 1.17 + +require ( + github.com/deepmap/oapi-codegen v1.10.1 + github.com/hashicorp/terraform-plugin-docs v0.7.0 + github.com/hashicorp/terraform-plugin-log v0.3.0 + github.com/hashicorp/terraform-plugin-sdk/v2 v2.14.0 + github.com/nautobot/go-nautobot v0.0.0-00010101000000-000000000000 + github.com/tidwall/gjson v1.14.1 +) + +require ( + github.com/Masterminds/goutils v1.1.0 // indirect + github.com/Masterminds/semver v1.5.0 // indirect + github.com/Masterminds/sprig v2.22.0+incompatible // indirect + github.com/agext/levenshtein v1.2.2 // indirect + github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 // indirect + github.com/bgentry/speakeasy v0.1.0 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/fatih/color v1.7.0 // indirect + github.com/golang/protobuf v1.5.2 // indirect + github.com/google/go-cmp v0.5.7 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/hashicorp/errwrap v1.0.0 // indirect + github.com/hashicorp/go-checkpoint v0.5.0 // indirect + github.com/hashicorp/go-cleanhttp v0.5.2 // indirect + github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect + github.com/hashicorp/go-hclog v1.2.0 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/go-plugin v1.4.3 // indirect + github.com/hashicorp/go-uuid v1.0.3 // indirect + github.com/hashicorp/go-version v1.4.0 // indirect + github.com/hashicorp/hc-install v0.3.1 // indirect + github.com/hashicorp/hcl/v2 v2.11.1 // indirect + github.com/hashicorp/logutils v1.0.0 // indirect + github.com/hashicorp/terraform-exec v0.16.1 // indirect + github.com/hashicorp/terraform-json v0.13.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.9.0 // indirect + github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896 // indirect + github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect + github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect + github.com/huandu/xstrings v1.3.2 // indirect + github.com/imdario/mergo v0.3.12 // indirect + github.com/mattn/go-colorable v0.1.12 // indirect + github.com/mattn/go-isatty v0.0.14 // indirect + github.com/mitchellh/cli v1.1.2 // indirect + github.com/mitchellh/copystructure v1.2.0 // indirect + github.com/mitchellh/go-testing-interface v1.14.1 // indirect + github.com/mitchellh/go-wordwrap v1.0.0 // indirect + github.com/mitchellh/mapstructure v1.4.3 // indirect + github.com/mitchellh/reflectwalk v1.0.2 // indirect + github.com/oklog/run v1.0.0 // indirect + github.com/posener/complete v1.1.1 // indirect + github.com/russross/blackfriday v1.6.0 // indirect + github.com/tidwall/match v1.1.1 // indirect + github.com/tidwall/pretty v1.2.0 // indirect + github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect + github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect + github.com/vmihailenco/tagparser v0.1.1 // indirect + github.com/zclconf/go-cty v1.10.0 // indirect + golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect + golang.org/x/net v0.0.0-20220418201149-a630d4f3e7a2 // indirect + golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect + golang.org/x/text v0.3.7 // indirect + google.golang.org/appengine v1.6.6 // indirect + google.golang.org/genproto v0.0.0-20200711021454-869866162049 // indirect + google.golang.org/grpc v1.45.0 // indirect + google.golang.org/protobuf v1.28.0 // indirect +) + +replace github.com/nautobot/go-nautobot => ./client diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..5c688c5 --- /dev/null +++ b/go.sum @@ -0,0 +1,487 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/Masterminds/goutils v1.1.0 h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg= +github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= +github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= +github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= +github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= +github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= +github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= +github.com/Microsoft/go-winio v0.4.16 h1:FtSW/jqD+l4ba5iPBj9CODVtgfYAD8w2wS923g/cFDk= +github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= +github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ= +github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= +github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= +github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE= +github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/andybalholm/crlf v0.0.0-20171020200849-670099aa064f/go.mod h1:k8feO4+kXDxro6ErPXBRTJ/ro2mf0SsFG8s7doP9kJE= +github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/apparentlymart/go-cidr v1.1.0/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= +github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= +github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0 h1:MzVXffFUye+ZcSR6opIgz9Co7WcDx6ZcY+RjfFHoA0I= +github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= +github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= +github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= +github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= +github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= +github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= +github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 h1:BUAU3CGlLvorLI26FmByPp2eC2qla6E1Tw+scpcg/to= +github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +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/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/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg= +github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +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/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= +github.com/go-chi/chi/v5 v5.0.7/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= +github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= +github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-billy/v5 v5.3.1 h1:CPiOUAzKtMRvolEKw+bG1PLRpT7D3LIs3/3ey4Aiu34= +github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0= +github.com/go-git/go-git/v5 v5.4.2 h1:BXyZu9t0VkbiHtqrsvdq39UDhGJTl1h55VW6CSC4aY4= +github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc= +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/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= +github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +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/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +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.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= +github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +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/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= +github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= +github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= +github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= +github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= +github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v1.2.0 h1:La19f8d7WIlm4ogzNHB0JGqs5AUDAZ2UfCY4sJXcJdM= +github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/go-plugin v1.4.3 h1:DXmvivbWD5qdiBts9TpBC7BYL1Aia5sxbRgQB+v6UZM= +github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= +github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.3.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.4.0 h1:aAQzgqIrRKRa7w75CKpbBxYsmUoPjzVm1W59ca1L0J4= +github.com/hashicorp/go-version v1.4.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/hc-install v0.3.1 h1:VIjllE6KyAI1A244G8kTaHXy+TL5/XYzvrtFi8po/Yk= +github.com/hashicorp/hc-install v0.3.1/go.mod h1:3LCdWcCDS1gaHC9mhHCGbkYfoY6vdsKohGjugbZdZak= +github.com/hashicorp/hcl/v2 v2.11.1 h1:yTyWcXcm9XB0TEkyU/JCRU6rYy4K+mgLtzn2wlrJbcc= +github.com/hashicorp/hcl/v2 v2.11.1/go.mod h1:FwWsfWEjyV/CMj8s/gqAuiviY72rJ1/oayI9WftqcKg= +github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= +github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/terraform-exec v0.16.0/go.mod h1:wB5JHmjxZ/YVNZuv9npAXKmz5pGyxy8PSi0GRR0+YjA= +github.com/hashicorp/terraform-exec v0.16.1 h1:NAwZFJW2L2SaCBVZoVaH8LPImLOGbPLkSHy0IYbs2uE= +github.com/hashicorp/terraform-exec v0.16.1/go.mod h1:aj0lVshy8l+MHhFNoijNHtqTJQI3Xlowv5EOsEaGO7M= +github.com/hashicorp/terraform-json v0.13.0 h1:Li9L+lKD1FO5RVFRM1mMMIBDoUHslOniyEi5CM+FWGY= +github.com/hashicorp/terraform-json v0.13.0/go.mod h1:y5OdLBCT+rxbwnpxZs9kGL7R9ExU76+cpdY8zHwoazk= +github.com/hashicorp/terraform-plugin-docs v0.7.0 h1:7XKAOYHAxghe7q4/vx468X43X9GikdQ2dxtmcu2gQv0= +github.com/hashicorp/terraform-plugin-docs v0.7.0/go.mod h1:57CICKfW7/KbW4lPhKOledyT6vu1LeAOzuvWXsVaxUE= +github.com/hashicorp/terraform-plugin-go v0.9.0 h1:FvLY/3z4SNVatPZdoFcyrlNbCar+WyyOTv5X4Tp+WZc= +github.com/hashicorp/terraform-plugin-go v0.9.0/go.mod h1:EawBkgjBWNf7jiKnVoyDyF39OSV+u6KUX+Y73EPj3oM= +github.com/hashicorp/terraform-plugin-log v0.3.0 h1:NPENNOjaJSVX0f7JJTl4f/2JKRPQ7S2ZN9B4NSqq5kA= +github.com/hashicorp/terraform-plugin-log v0.3.0/go.mod h1:EjueSP/HjlyFAsDqt+okpCPjkT4NDynAe32AeDC4vps= +github.com/hashicorp/terraform-plugin-sdk/v2 v2.14.0 h1:GZ8NY74rxObB7QHE/JiuBW0ZEr04rlplR/TVrkgw3rw= +github.com/hashicorp/terraform-plugin-sdk/v2 v2.14.0/go.mod h1:+m4FDQ8h1ulz7zpWtqmZn2JSZQDXUVibhUShbkQVId4= +github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896 h1:1FGtlkJw87UsTMg5s8jrekrHmUPUJaMcu6ELiVhQrNw= +github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896/go.mod h1:bzBPnUIkI0RxauU8Dqo+2KrZZ28Cf48s8V6IHt3p4co= +github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 h1:HKLsbzeOsfXmKNpr3GiT18XAblV0BjCbzL8KQAMZGa0= +github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= +github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= +github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= +github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= +github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= +github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= +github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= +github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= +github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= +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/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck= +github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +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 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +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 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +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/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= +github.com/matryer/moq v0.2.7/go.mod h1:kITsx543GOENm48TUAQyJ9+SAvFSr7iGQXPoth/VUBk= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mitchellh/cli v1.1.2 h1:PvH+lL2B7IQ101xQL63Of8yFS2y+aDlsFcsqNc+u/Kw= +github.com/mitchellh/cli v1.1.2/go.mod h1:6iaV0fGdElS6dPBx0EApTxHrcWvmJphyh2n8YBLPPZ4= +github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= +github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= +github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= +github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= +github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4= +github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs= +github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= +github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= +github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= +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/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k+Mg7cowZ8yv4Trqw9UsJby758= +github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce/go.mod h1:uFMI8w+ref4v2r9jz+c9i1IfIttS/OkmLfrk1jne5hs= +github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= +github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +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/posener/complete v1.1.1 h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w= +github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= +github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8= +github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= +github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww= +github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY= +github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= +github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +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/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/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= +github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= +github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= +github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvCazn8G65U= +github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= +github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY= +github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= +github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI= +github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= +github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= +github.com/zclconf/go-cty v1.8.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +github.com/zclconf/go-cty v1.9.1/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +github.com/zclconf/go-cty v1.10.0 h1:mp9ZXQeIcN8kAwuqorjH+Q+njbJKjLrvB2yIh4q7U+0= +github.com/zclconf/go-cty v1.10.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +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 h1:kUhD7nTDoI3fVd9G4ORWrbV5NY0liEs/Jg2pv5f+bBA= +golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= +golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191009170851-d66e71096ffb/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= +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 h1:6mzvA99KwZxbOrxww4EvWVQUnN1+xEu9tafK5ZxkYeA= +golang.org/x/net v0.0.0-20220418201149-a630d4f3e7a2/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/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-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/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-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/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 h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0= +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.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= +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-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200713011307-fd294ab11aed/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +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 h1:GGU+dLjvlC3qDwqYgL6UgRmHXhOOgns0bZu2Ty5mm6U= +golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200711021454-869866162049 h1:YFTFpQhgvrLrmxtiIncJxFXeCyq84ixuKWVCaCAi9Oc= +google.golang.org/genproto v0.0.0-20200711021454-869866162049/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.45.0 h1:NEpgUqV3Z+ZjkqMsxMg11IaDrXY4RY6CQukSGK0uI1M= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +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.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +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-20190902080502-41f04d3bba15/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 h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +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/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/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 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +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= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/internal/provider/data_source_manufacturers.go b/internal/provider/data_source_manufacturers.go new file mode 100644 index 0000000..84a9550 --- /dev/null +++ b/internal/provider/data_source_manufacturers.go @@ -0,0 +1,129 @@ +package provider + +import ( + "context" + "encoding/json" + "strconv" + "strings" + "time" + + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/tidwall/gjson" + + nb "github.com/nautobot/go-nautobot" +) + +func dataSourceManufacturers() *schema.Resource { + return &schema.Resource{ + Description: "Manufacturer data source in the Terraform provider Nautobot.", + + ReadContext: dataSourceManufacturersRead, + + Schema: map[string]*schema.Schema{ + "manufacturers": { + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "created": { + Description: "Manufacturer's creation date.", + Type: schema.TypeString, + Computed: true, + }, + "custom_fields": { + Description: "Manufacturer custom fields.", + Type: schema.TypeMap, + Optional: true, + }, + "description": { + Description: "Manufacturer's description.", + Type: schema.TypeString, + Optional: true, + }, + "devicetype_count": { + Description: "Manufacturer's device count.", + Type: schema.TypeInt, + Computed: true, + }, + "display": { + Description: "Manufacturer's display name.", + Type: schema.TypeString, + Optional: true, + }, + "id": { + Description: "Manufacturer's UUID.", + Type: schema.TypeString, + Computed: true, + }, + "inventoryitem_count": { + Description: "Manufacturer's inventory item count.", + Type: schema.TypeInt, + Computed: true, + }, + "last_updated": { + Description: "Manufacturer's last update.", + Type: schema.TypeString, + Computed: true, + }, + "name": { + Description: "Manufacturer's name.", + Type: schema.TypeString, + Required: true, + }, + "platform_count": { + Description: "Manufacturer's platform count.", + Type: schema.TypeInt, + Computed: true, + }, + "slug": { + Description: "Manufacturer's slug.", + Type: schema.TypeString, + Optional: true, + }, + "url": { + Description: "Manufacturer's URL.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + }, + } +} + +// Use this as reference: https://learn.hashicorp.com/tutorials/terraform/provider-setup?in=terraform/providers#implement-read +func dataSourceManufacturersRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { + var diags diag.Diagnostics + + c := meta.(*apiClient).Client + s := meta.(*apiClient).Server + + rsp, err := c.DcimManufacturersListWithResponse( + ctx, + &nb.DcimManufacturersListParams{}) + + if err != nil { + return diag.Errorf("failed to get manufacturers list from %s: %s", s, err.Error()) + } + + results := gjson.Get(string(rsp.Body), "results") + resultsReader := strings.NewReader(results.String()) + + list := make([]map[string]interface{}, 0) + + err = json.NewDecoder(resultsReader).Decode(&list) + if err != nil { + return diag.Errorf("failed to decode manufacturers list from %s: %s", s, err.Error()) + } + + if err := d.Set("manufacturers", list); err != nil { + return diag.FromErr(err) + } + + // always run + d.SetId(strconv.FormatInt(time.Now().Unix(), 10)) + + return diags +} diff --git a/internal/provider/data_source_manufacturers_test.go b/internal/provider/data_source_manufacturers_test.go new file mode 100644 index 0000000..e3b3f32 --- /dev/null +++ b/internal/provider/data_source_manufacturers_test.go @@ -0,0 +1,49 @@ +package provider + +import ( + "regexp" + "testing" + + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" +) + +func TestAccDataSourceManufacturers(t *testing.T) { + t.Skip("resource not yet implemented, remove this once you add your own code") + + resource.UnitTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProviderFactories: providerFactories, + Steps: []resource.TestStep{ + { + Config: testAccDataSourceManufacturer, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr( + "data.nautobot_manufacturers.juniper", "name", "Juniper"), + ), + }, + { + Config: testAccDataSourceManufacturer, + Check: resource.ComposeTestCheckFunc( + resource.TestMatchResourceAttr( + "data.nautobot_manufacturers.juniper", "id", regexp.MustCompile("^4873d752")), + ), + }, + }, + }) +} + +const testAccDataSourceManufacturer = ` +resource "nautobot_manufacturer" "juniper" { + id = "4873d752-5dbe-4006-8345-8279a0dfbbda" + url = "https://develop.demo.nautobot.com/api/dcim/manufacturers/4873d752-5dbe-4006-8345-8279a0dfbbda/" + name = "Juniper" + slug = "juniper" + description = "Juniper Networks" + devicetype_count = 0 + platform_count = 1 + custom_fields = "{}" + created = "2022-03-08" + last_updated = "2022-03-08T14:50:48.492203Z" + display = "Juniper" +} +` diff --git a/internal/provider/patch.go b/internal/provider/patch.go new file mode 100644 index 0000000..4b78c29 --- /dev/null +++ b/internal/provider/patch.go @@ -0,0 +1,86 @@ +package provider + +import ( + "context" + "fmt" + "net/http" + "time" + + "github.com/deepmap/oapi-codegen/pkg/types" + nb "github.com/nautobot/go-nautobot" +) + +func NewSecurityProviderNautobotToken(t string) (*SecurityProviderNautobotToken, error) { + return &SecurityProviderNautobotToken{ + token: t, + }, nil +} + +type SecurityProviderNautobotToken struct { + token string +} + +func (s *SecurityProviderNautobotToken) Intercept(ctx context.Context, req *http.Request) error { + req.Header.Set("Authorization", fmt.Sprintf("Token %s", s.token)) + return nil +} + +// PaginatedSiteList defines model for PaginatedSiteList. +type PaginatedSiteList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Site `json:"results,omitempty"` +} + +// 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 *string `json:"contact_email,omitempty"` + ContactName *string `json:"contact_name,omitempty"` + ContactPhone *string `json:"contact_phone,omitempty"` + Created *types.Date `json:"created,omitempty"` + CustomFields *nb.Site_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"` + + // Local facility ID or description + Facility *string `json:"facility,omitempty"` + Id *types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated,omitempty"` + + // 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) + nb.NestedRegion `yaml:",inline"` + } `json:"region"` + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug *string `json:"slug,omitempty"` + Status struct { + Label *nb.SiteStatusLabel `json:"label,omitempty"` + Value *nb.SiteStatusValue `json:"value,omitempty"` + } `json:"status"` + Tags *[]nb.TagSerializerField `json:"tags,omitempty"` + Tenant *struct { + // Embedded struct due to allOf(#/components/schemas/NestedTenant) + nb.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"` +} diff --git a/internal/provider/provider.go b/internal/provider/provider.go new file mode 100644 index 0000000..dad3de7 --- /dev/null +++ b/internal/provider/provider.go @@ -0,0 +1,100 @@ +package provider + +import ( + "context" + "fmt" + + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" + nb "github.com/nautobot/go-nautobot" +) + +func init() { + // Set descriptions to support markdown syntax, this will be used in document generation + // and the language server. + schema.DescriptionKind = schema.StringMarkdown + + // Customize the content of descriptions when output. For example you can add defaults on + // to the exported descriptions if present. + // schema.SchemaDescriptionBuilder = func(s *schema.Schema) string { + // desc := s.Description + // if s.Default != nil { + // desc += fmt.Sprintf(" Defaults to `%v`.", s.Default) + // } + // return strings.TrimSpace(desc) + // } +} + +func New(version string) func() *schema.Provider { + return func() *schema.Provider { + p := &schema.Provider{ + Schema: map[string]*schema.Schema{ + "url": { + Type: schema.TypeString, + Required: true, + DefaultFunc: schema.EnvDefaultFunc("NAUTOBOT_URL", nil), + ValidateFunc: validation.IsURLWithHTTPorHTTPS, + Description: "URL for Nautobot API server. It should be of the form https:///server.example.org/api/.", + }, + "token": { + Type: schema.TypeString, + Required: true, + Sensitive: true, + DefaultFunc: schema.EnvDefaultFunc("NAUTOBOT_TOKEN", nil), + Description: "Customer/user-specific authorization token for the Shoreline API server.", + }, + }, + DataSourcesMap: map[string]*schema.Resource{ + "nautobot_manufacturers": dataSourceManufacturers(), + }, + ResourcesMap: map[string]*schema.Resource{ + "nautobot_manufacturer": resourceManufacturer(), + }, + } + + p.ConfigureContextFunc = configure(version, p) + + return p + } +} + +// Add whatever fields, client or connection info, etc. here +// you would need to setup to communicate with the upstream +// API. +type apiClient struct { + Client *nb.ClientWithResponses + Server string +} + +func configure(version string, p *schema.Provider) func(context.Context, *schema.ResourceData) (interface{}, diag.Diagnostics) { + return func(ctx context.Context, d *schema.ResourceData) (interface{}, diag.Diagnostics) { + serverURL := d.Get("url").(string) + _, hasToken := d.GetOk("token") + + var diags diag.Diagnostics = nil + + if !hasToken { + diags = diag.FromErr(fmt.Errorf("missing token")) + diags[0].Severity = diag.Error + return &apiClient{Server: serverURL}, diags + } + + token, _ := NewSecurityProviderNautobotToken(d.Get("token").(string)) + + c, err := nb.NewClientWithResponses( + serverURL, + nb.WithRequestEditorFn(token.Intercept), + ) + if err != nil { + diags = diag.FromErr(err) + diags[0].Severity = diag.Error + return &apiClient{Server: serverURL}, diags + } + + return &apiClient{ + Client: c, + Server: serverURL, + }, diags + } +} diff --git a/internal/provider/provider_test.go b/internal/provider/provider_test.go new file mode 100644 index 0000000..613d3e7 --- /dev/null +++ b/internal/provider/provider_test.go @@ -0,0 +1,28 @@ +package provider + +import ( + "testing" + + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" +) + +// providerFactories are used to instantiate a provider during acceptance testing. +// The factory function will be invoked for every Terraform CLI command executed +// to create a provider server to which the CLI can reattach. +var providerFactories = map[string]func() (*schema.Provider, error){ + "nautobot": func() (*schema.Provider, error) { + return New("dev")(), nil + }, +} + +func TestProvider(t *testing.T) { + if err := New("dev")().InternalValidate(); err != nil { + t.Fatalf("err: %s", err) + } +} + +func testAccPreCheck(t *testing.T) { + // You can add code here to run prior to any test case execution, for example assertions + // about the appropriate environment variables being set are common to see in a pre-check + // function. +} diff --git a/internal/provider/resource_manufacturer.go b/internal/provider/resource_manufacturer.go new file mode 100644 index 0000000..66ffb38 --- /dev/null +++ b/internal/provider/resource_manufacturer.go @@ -0,0 +1,258 @@ +package provider + +import ( + "context" + "encoding/json" + "strings" + + "github.com/deepmap/oapi-codegen/pkg/types" + "github.com/hashicorp/terraform-plugin-log/tflog" + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/tidwall/gjson" + + nb "github.com/nautobot/go-nautobot" +) + +func resourceManufacturer() *schema.Resource { + return &schema.Resource{ + Description: "This object manages a manufacturer in Nautobot", + + CreateContext: resourceManufacturerCreate, + ReadContext: resourceManufacturerRead, + UpdateContext: resourceManufacturerUpdate, + DeleteContext: resourceManufacturerDelete, + + Schema: map[string]*schema.Schema{ + "created": { + Description: "Manufacturer's creation date.", + Type: schema.TypeString, + Computed: true, + }, + "custom_fields": { + Description: "Manufacturer custom fields.", + Type: schema.TypeMap, + Optional: true, + }, + "description": { + Description: "Manufacturer's description.", + Type: schema.TypeString, + Optional: true, + }, + "devicetype_count": { + Description: "Manufacturer's device count.", + Type: schema.TypeInt, + Computed: true, + }, + "display": { + Description: "Manufacturer's display name.", + Type: schema.TypeString, + Optional: true, + }, + "id": { + Description: "Manufacturer's UUID.", + Type: schema.TypeString, + Computed: true, + }, + "inventoryitem_count": { + Description: "Manufacturer's inventory item count.", + Type: schema.TypeInt, + Computed: true, + }, + "last_updated": { + Description: "Manufacturer's last update.", + Type: schema.TypeString, + Computed: true, + }, + "name": { + Description: "Manufacturer's name.", + Type: schema.TypeString, + Required: true, + }, + "platform_count": { + Description: "Manufacturer's platform count.", + Type: schema.TypeInt, + Computed: true, + }, + "slug": { + Description: "Manufacturer's slug.", + Type: schema.TypeString, + Optional: true, + }, + "url": { + Description: "Manufacturer's URL.", + Type: schema.TypeString, + Optional: true, + }, + }, + } +} + +func resourceManufacturerCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { + var diags diag.Diagnostics + + c := meta.(*apiClient).Client + s := meta.(*apiClient).Server + + var m nb.Manufacturer + + name, ok := d.GetOk("name") + n := name.(string) + if ok { + m.Name = n + } + + m.Description = &n + description, ok := d.GetOk("description") + if ok { + t := description.(string) + m.Description = &t + } + + sl := strings.ReplaceAll(strings.ToLower(n), " ", "-") + m.Slug = &sl + slug, ok := d.GetOk("slug") + if ok { + t := slug.(string) + m.Slug = &t + } + + rsp, err := c.DcimManufacturersCreateWithResponse( + ctx, + nb.DcimManufacturersCreateJSONRequestBody(m)) + if err != nil { + return diag.Errorf("failed to create manufacturer %s on %s: %s", name.(string), s, err.Error()) + } + data := string(rsp.Body) + + dataName := gjson.Get(data, "name.0") + + if dataName.String() == "manufacturer with this name already exists." { + rsp, err := c.DcimManufacturersListWithResponse( + ctx, + &nb.DcimManufacturersListParams{ + NameIe: &[]string{n}, + }) + + if err != nil { + return diag.Errorf("failed to get manufacturer %s from %s: %s", n, s, err.Error()) + } + id := gjson.Get(string(rsp.Body), "results.0.id") + + d.Set("id", id.String()) + d.SetId(id.String()) + resourceManufacturerRead(ctx, d, meta) + + return diags + } + + tflog.Trace(ctx, "manufacturer created", map[string]interface{}{ + "name": name.(string), + "data": []interface{}{description, slug}, + }) + + id := gjson.Get(data, "id") + + //d.Set("id", id.String()) + d.SetId(id.String()) + resourceManufacturerRead(ctx, d, meta) + + return diags +} + +func resourceManufacturerRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { + var diags diag.Diagnostics + + c := meta.(*apiClient).Client + s := meta.(*apiClient).Server + + name := d.Get("name").(string) + id := d.Get("id").(string) + + rsp, err := c.DcimManufacturersListWithResponse( + ctx, + &nb.DcimManufacturersListParams{ + IdIe: &[]types.UUID{types.UUID(id)}, + }) + + if err != nil { + return diag.Errorf("failed to get manufacturer %s from %s: %s", name, s, err.Error()) + } + + results := gjson.Get(string(rsp.Body), "results.0") + resultsReader := strings.NewReader(results.String()) + + item := make(map[string]interface{}) + + err = json.NewDecoder(resultsReader).Decode(&item) + if err != nil { + return diag.Errorf("failed to decode manufacturer %s from %s: %s", name, s, err.Error()) + } + + d.Set("name", item["name"].(string)) + d.Set("created", item["created"].(string)) + d.Set("description", item["description"].(string)) + // TODO: Fix issue with display going away + d.Set("display", item["display"].(string)) + d.Set("id", item["id"].(string)) + // TODO: Fix issue with slug going away + d.Set("slug", item["slug"].(string)) + // TODO: Fix issue with url going away + d.Set("url", item["url"].(string)) + d.Set("last_updated", item["last_updated"].(string)) + + switch v := item["devicetype_count"].(type) { + case int: + d.Set("devicetype_count", v) + case float64: + d.Set("devicetype_count", int(v)) + default: + } + switch v := item["inventoryitem_count"].(type) { + case int: + d.Set("inventoryitem_count", v) + case float64: + d.Set("inventoryitem_count", int(v)) + default: + } + switch v := item["platform_count"].(type) { + case int: + d.Set("platform_count", v) + case float64: + d.Set("platform_count", int(v)) + default: + } + + return diags +} + +func resourceManufacturerUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { + var diags diag.Diagnostics + +// DcimManufacturersPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimManufacturersPartialUpdateResponse +// func (c *ClientWithResponses) DcimManufacturersPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersPartialUpdateResponse, error) { +// rsp, err := c.DcimManufacturersPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) +// if err != nil { +// return nil, err +// } +// return ParseDcimManufacturersPartialUpdateResponse(rsp) +// } + +// func (c *ClientWithResponses) DcimManufacturersPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimManufacturersPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersPartialUpdateResponse, error) { +// rsp, err := c.DcimManufacturersPartialUpdate(ctx, id, body, reqEditors...) +// if err != nil { +// return nil, err +// } +// return ParseDcimManufacturersPartialUpdateResponse(rsp) +// } + + + + return diags +} + +func resourceManufacturerDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { + var diags diag.Diagnostics + + return diags +} diff --git a/internal/provider/resource_manufacturer_test.go b/internal/provider/resource_manufacturer_test.go new file mode 100644 index 0000000..2ce6955 --- /dev/null +++ b/internal/provider/resource_manufacturer_test.go @@ -0,0 +1,32 @@ +package provider + +import ( + "regexp" + "testing" + + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" +) + +func TestAccResourceManufacturer(t *testing.T) { + t.Skip("resource not yet implemented, remove this once you add your own code") + + resource.UnitTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProviderFactories: providerFactories, + Steps: []resource.TestStep{ + { + Config: testAccResourceManufacturer, + Check: resource.ComposeTestCheckFunc( + resource.TestMatchResourceAttr( + "nautobot_manufacturer.foo", "sample_attribute", regexp.MustCompile("^ba")), + ), + }, + }, + }) +} + +const testAccResourceManufacturer = ` +resource "nautobot_manufacturer" "foo" { + sample_attribute = "bar" +} +` diff --git a/main.go b/main.go new file mode 100644 index 0000000..40f5185 --- /dev/null +++ b/main.go @@ -0,0 +1,45 @@ +package main + +import ( + "flag" + + "github.com/hashicorp/terraform-plugin-sdk/v2/plugin" + "github.com/nleiva/terraform-provider-nautobot/internal/provider" +) + +// Run "go generate" to format example terraform files and generate the docs for the registry/website + +// If you do not have terraform installed, you can remove the formatting command, but its suggested to +// ensure the documentation is formatted properly. +//go:generate terraform fmt -recursive ./examples/ + +// Run the docs generation tool, check its repository for more information on how it works and how docs +// can be customized. +//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs + +var ( + // these will be set by the goreleaser configuration + // to appropriate values for the compiled binary + version string = "dev" + + // goreleaser can also pass the specific commit if you want + // commit string = "" +) + +func main() { + var debugMode bool + + flag.BoolVar(&debugMode, "debug", false, "set to true to run the provider with support for debuggers like delve") + flag.Parse() + + opts := &plugin.ServeOpts{ + Debug: debugMode, + + // TODO: update this string with the full name of your provider as used in your configs + ProviderAddr: "registry.terraform.io/nleiva/nautobot", + + ProviderFunc: provider.New(version), + } + + plugin.Serve(opts) +} diff --git a/terraform-registry-manifest.json b/terraform-registry-manifest.json new file mode 100644 index 0000000..1931b0e --- /dev/null +++ b/terraform-registry-manifest.json @@ -0,0 +1,6 @@ +{ + "version": 1, + "metadata": { + "protocol_versions": ["5.0"] + } +} diff --git a/tools/tools.go b/tools/tools.go new file mode 100644 index 0000000..f03ce3d --- /dev/null +++ b/tools/tools.go @@ -0,0 +1,8 @@ +// +build tools + +package tools + +import ( + // document generation + _ "github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs" +)